ERC-721
Overview
Max Total Supply
211 PB
Holders
141
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PeepethBadges
Compiler Version
v0.5.8+commit.23d335f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-05-09 */ // File: contracts/Strings.sol pragma solidity 0.5.8; contract Strings { // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol MIT licence function Concatenate(string memory a, string memory b) public pure returns (string memory concatenatedString) { bytes memory bytesA = bytes(a); bytes memory bytesB = bytes(b); string memory concatenatedAB = new string(bytesA.length + bytesB.length); bytes memory bytesAB = bytes(concatenatedAB); uint concatendatedIndex = 0; uint index = 0; for (index = 0; index < bytesA.length; index++) { bytesAB[concatendatedIndex++] = bytesA[index]; } for (index = 0; index < bytesB.length; index++) { bytesAB[concatendatedIndex++] = bytesB[index]; } return string(bytesAB); } function UintToString(uint value) public pure returns (string memory uintAsString) { uint tempValue = value; if (tempValue == 0) { return "0"; } uint j = tempValue; uint length; while (j != 0) { length++; j /= 10; } bytes memory byteString = new bytes(length); uint index = length - 1; while (tempValue != 0) { byteString[index--] = byte(uint8(48 + tempValue % 10)); tempValue /= 10; } return string(byteString); } } // File: openzeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.5.2; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns (bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. * @notice Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: openzeppelin-solidity/contracts/introspection/IERC165.sol pragma solidity ^0.5.2; /** * @title IERC165 * @dev https://eips.ethereum.org/EIPS/eip-165 */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is specified in ERC-165. This function * uses less than 30,000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: openzeppelin-solidity/contracts/token/ERC721/IERC721.sol pragma solidity ^0.5.2; /** * @title ERC721 Non-Fungible Token Standard basic interface * @dev see https://eips.ethereum.org/EIPS/eip-721 */ 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); function balanceOf(address owner) public view returns (uint256 balance); function ownerOf(uint256 tokenId) public view returns (address owner); 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 transferFrom(address from, address to, uint256 tokenId) public; function safeTransferFrom(address from, address to, uint256 tokenId) public; function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; } // File: openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.5.2; /** * @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-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.2; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on 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-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/utils/Address.sol pragma solidity ^0.5.2; /** * Utility library of inline functions on addresses */ library Address { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param account address of the account to check * @return whether the target address is a contract */ function isContract(address account) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } // File: openzeppelin-solidity/contracts/drafts/Counters.sol pragma solidity ^0.5.2; /** * @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-solidity/contracts/introspection/ERC165.sol pragma solidity ^0.5.2; /** * @title ERC165 * @author Matt Condon (@shrugs) * @dev Implements ERC165 using a lookup table. */ contract ERC165 is IERC165 { bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /* * 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(bytes4)')) */ /** * @dev a mapping of interface id to whether or not it's supported */ mapping(bytes4 => bool) private _supportedInterfaces; /** * @dev A contract implementing SupportsInterfaceWithLookup * implement ERC165 itself */ constructor () internal { _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev implement supportsInterface(bytes4) using a lookup table */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev internal method for registering an interface */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff); _supportedInterfaces[interfaceId] = true; } } // File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol pragma solidity ^0.5.2; /** * @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 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * 0x80ac58cd === * bytes4(keccak256('balanceOf(address)')) ^ * bytes4(keccak256('ownerOf(uint256)')) ^ * bytes4(keccak256('approve(address,uint256)')) ^ * bytes4(keccak256('getApproved(uint256)')) ^ * bytes4(keccak256('setApprovalForAll(address,bool)')) ^ * bytes4(keccak256('isApprovedForAll(address,address)')) ^ * bytes4(keccak256('transferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) */ 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)); 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)); 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); require(msg.sender == owner || isApprovedForAll(owner, msg.sender)); _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)); 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); _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 { require(_isApprovedOrOwner(msg.sender, tokenId)); _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)); } /** * @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) { 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)); require(!_exists(tokenId)); _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); _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); require(to != address(0)); _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 * @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-solidity/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.5.2; /** * @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-solidity/contracts/token/ERC721/ERC721Enumerable.sol pragma solidity ^0.5.2; /** * @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 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /* * 0x780e9d63 === * bytes4(keccak256('totalSupply()')) ^ * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^ * bytes4(keccak256('tokenByIndex(uint256)')) */ /** * @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)); 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()); 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-solidity/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.5.2; /** * @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-solidity/contracts/token/ERC721/ERC721Metadata.sol pragma solidity ^0.5.2; 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 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * 0x5b5e139f === * bytes4(keccak256('name()')) ^ * bytes4(keccak256('symbol()')) ^ * bytes4(keccak256('tokenURI(uint256)')) */ /** * @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)); 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)); _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-solidity/contracts/access/Roles.sol pragma solidity ^0.5.2; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } } // File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol pragma solidity ^0.5.2; contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender)); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: contracts/PeepethBadges.sol pragma solidity 0.5.8; /** * @title Peepeth Badges 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://github.c/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract PeepethBadges is ERC165, ERC721, ERC721Enumerable, IERC721Metadata, MinterRole, Ownable, Strings { // Mapping from token ID to badge mapping (uint256 => uint256) private _tokenBadges; // Token name string private _name; // Token symbol string private _symbol; // Base URI for badge data string private _baseTokenURI; bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * 0x5b5e139f === * bytes4(keccak256('name()')) ^ * bytes4(keccak256('symbol()')) ^ * bytes4(keccak256('tokenURI(uint256)')) */ /** * @dev Constructor function */ constructor () public { _name = "Peepeth Badges"; _symbol = "PB"; _baseTokenURI = "https://peepeth.com/b/"; // 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 Gets the base token URI * @return string representing the base token URI */ function baseTokenURI() public view returns (string memory) { return _baseTokenURI; } /** * @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), "PeepethBadges: get URI for nonexistent token"); return Concatenate( baseTokenURI(), UintToString(tokenId) ); } /** * @dev Set the base token URI */ function setBaseTokenURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param badge The token badge of the minted token. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 badge) public onlyMinter returns (bool) { uint256 tokenId = _getNextTokenId(); _mint(to, tokenId); _setTokenBadge(tokenId, badge); return true; } /** * @dev Gets the token badge * @param tokenId uint256 ID of the token to get its badge * @return uint representing badge */ function tokenBadge(uint256 tokenId) public view returns (uint256) { return _tokenBadges[tokenId]; } /** * @dev Only owner can addMinter */ function addMinter(address account) public onlyOwner { _addMinter(account); } /** * @dev Only owner can renounce specific minters */ function renounceMinter(address account) public onlyOwner { _removeMinter(account); } /** * @dev Internal function to set the token badge for a given token * Reverts if the token ID does not exist * @param tokenId uint256 ID of the token to set its badge * @param badge badge to assign */ function _setTokenBadge(uint256 tokenId, uint256 badge) internal { require(_exists(tokenId), "PeepethBadges: set token badge for nonexistent token"); _tokenBadges[tokenId] = badge; } /** * @dev Gets the next Token ID (sequential) * @return next Token ID */ function _getNextTokenId() private view returns (uint256) { return totalSupply().add(1); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"badge","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"value","type":"uint256"}],"name":"UintToString","outputs":[{"name":"uintAsString","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseTokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"tokenBadge","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"string"},{"name":"b","type":"string"}],"name":"Concatenate","outputs":[{"name":"concatenatedString","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b506200002a6301ffc9a760e01b6200023160201b60201c565b620000426380ac58cd60e01b6200023160201b60201c565b6200005a63780e9d6360e01b6200023160201b60201c565b6200006b33620002d160201b60201c565b33600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36040518060400160405280600e81526020017f5065657065746820426164676573000000000000000000000000000000000000815250600c9080519060200190620001769291906200047b565b506040518060400160405280600281526020017f5042000000000000000000000000000000000000000000000000000000000000815250600d9080519060200190620001c49291906200047b565b506040518060400160405280601681526020017f68747470733a2f2f706565706574682e636f6d2f622f00000000000000000000815250600e9080519060200190620002129291906200047b565b506200022b635b5e139f60e01b6200023160201b60201c565b6200052a565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156200026557600080fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b620002ec8160096200033260201b620028ab1790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200036d57600080fd5b6200037f8282620003e860201b60201c565b156200038a57600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200042457600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004be57805160ff1916838001178555620004ef565b82800160010185558215620004ef579182015b82811115620004ee578251825591602001919060010190620004d1565b5b509050620004fe919062000502565b5090565b6200052791905b808211156200052357600081600090555060010162000509565b5090565b90565b612bde806200053a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063aa271e1a116100a2578063e985e9c511610071578063e985e9c514610c15578063ec6858d714610c91578063f2fde38b14610cd3578063f8dc055814610d17576101da565b8063aa271e1a1461098a578063b88d4fde146109e6578063c87b56dd14610aeb578063d547cfb714610b92576101da565b8063983b2d56116100de578063983b2d56146108455780639865027514610889578063a22cb46514610893578063a76d54ff146108e3576101da565b80638da5cb5b146107565780638f32d59b146107a057806395d89b41146107c2576101da565b806330176e131161017c5780635f112c681161014b5780635f112c68146106425780636352211e1461068657806370a08231146106f4578063715018a61461074c576101da565b806330176e131461047157806340c10f191461052c57806342842e0e146105925780634f6ccce714610600576101da565b8063095ea7b3116101b8578063095ea7b31461033557806318160ddd1461038357806323b872dd146103a15780632f745c591461040f576101da565b806301ffc9a7146101df57806306fdde0314610244578063081812fc146102c7575b600080fd5b61022a600480360360208110156101f557600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610ee2565b604051808215151515815260200191505060405180910390f35b61024c610f49565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028c578082015181840152602081019050610271565b50505050905090810190601f1680156102b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102f3600480360360208110156102dd57600080fd5b8101908080359060200190929190505050610feb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103816004803603604081101561034b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061103a565b005b61038b61117b565b6040518082815260200191505060405180910390f35b61040d600480360360608110156103b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611188565b005b61045b6004803603604081101561042557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111ab565b6040518082815260200191505060405180910390f35b61052a6004803603602081101561048757600080fd5b81019080803590602001906401000000008111156104a457600080fd5b8201836020820111156104b657600080fd5b803590602001918460018302840111640100000000831117156104d857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061121e565b005b6105786004803603604081101561054257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611249565b604051808215151515815260200191505060405180910390f35b6105fe600480360360608110156105a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611288565b005b61062c6004803603602081101561061657600080fd5b81019080803590602001909291905050506112a8565b6040518082815260200191505060405180910390f35b6106846004803603602081101561065857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112dc565b005b6106b26004803603602081101561069c57600080fd5b81019080803590602001909291905050506112f9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107366004803603602081101561070a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611375565b6040518082815260200191505060405180910390f35b6107546113fe565b005b61075e6114d0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a86114fa565b604051808215151515815260200191505060405180910390f35b6107ca611552565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561080a5780820151818401526020810190506107ef565b50505050905090810190601f1680156108375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6108876004803603602081101561085b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115f4565b005b610891611611565b005b6108e1600480360360408110156108a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061161c565b005b61090f600480360360208110156108f957600080fd5b8101908080359060200190929190505050611756565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561094f578082015181840152602081019050610934565b50505050905090810190601f16801561097c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109cc600480360360208110156109a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061188a565b604051808215151515815260200191505060405180910390f35b610ae9600480360360808110156109fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610a6357600080fd5b820183602082011115610a7557600080fd5b80359060200191846001830284011164010000000083111715610a9757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506118a7565b005b610b1760048036036020811015610b0157600080fd5b81019080803590602001909291905050506118cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b57578082015181840152602081019050610b3c565b50505050905090810190601f168015610b845780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b9a61194d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bda578082015181840152602081019050610bbf565b50505050905090810190601f168015610c075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c7760048036036040811015610c2b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119ef565b604051808215151515815260200191505060405180910390f35b610cbd60048036036020811015610ca757600080fd5b8101908080359060200190929190505050611a83565b6040518082815260200191505060405180910390f35b610d1560048036036020811015610ce957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611aa0565b005b610e6760048036036040811015610d2d57600080fd5b8101908080359060200190640100000000811115610d4a57600080fd5b820183602082011115610d5c57600080fd5b80359060200191846001830284011164010000000083111715610d7e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610de157600080fd5b820183602082011115610df357600080fd5b80359060200191846001830284011164010000000083111715610e1557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611abd565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ea7578082015181840152602081019050610e8c565b50505050905090810190601f168015610ed45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fe15780601f10610fb657610100808354040283529160200191610fe1565b820191906000526020600020905b815481529060010190602001808311610fc457829003601f168201915b5050505050905090565b6000610ff682611c08565b610fff57600080fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611045826112f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561108057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110c057506110bf81336119ef565b5b6110c957600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600780549050905090565b6111923382611c7a565b61119b57600080fd5b6111a6838383611d0f565b505050565b60006111b683611375565b82106111c157600080fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061120b57fe5b9060005260206000200154905092915050565b6112266114fa565b61122f57600080fd5b80600e9080519060200190611245929190612a81565b5050565b60006112543361188a565b61125d57600080fd5b6000611267611d33565b90506112738482611d55565b61127d8184611d76565b600191505092915050565b6112a3838383604051806020016040528060008152506118a7565b505050565b60006112b261117b565b82106112bd57600080fd5b600782815481106112ca57fe5b90600052602060002001549050919050565b6112e46114fa565b6112ed57600080fd5b6112f681611df0565b50565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561136c57600080fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b057600080fd5b6113f7600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e4a565b9050919050565b6114066114fa565b61140f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6060600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115ea5780601f106115bf576101008083540402835291602001916115ea565b820191906000526020600020905b8154815290600101906020018083116115cd57829003601f168201915b5050505050905090565b6115fc6114fa565b61160557600080fd5b61160e81611e58565b50565b61161a33611df0565b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165557600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b6060600082905060008114156117a4576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250915050611885565b600081905060005b600082146117ce578080600101915050600a82816117c657fe5b0491506117ac565b6060816040519080825280601f01601f1916602001820160405280156118035781602001600182028038833980820191505090505b50905060006001830390505b6000851461187c57600a858161182157fe5b0660300160f81b8282806001900393508151811061183b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a858161187457fe5b04945061180f565b81955050505050505b919050565b60006118a0826009611eb290919063ffffffff16565b9050919050565b6118b2848484611188565b6118be84848484611f44565b6118c757600080fd5b50505050565b60606118d882611c08565b61192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612b53602c913960400191505060405180910390fd5b61194661193861194d565b61194184611756565b611abd565b9050919050565b6060600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119e55780601f106119ba576101008083540402835291602001916119e5565b820191906000526020600020905b8154815290600101906020018083116119c857829003601f168201915b5050505050905090565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b6000838152602001908152602001600020549050919050565b611aa86114fa565b611ab157600080fd5b611aba8161212d565b50565b6060808390506060839050606081518351016040519080825280601f01601f191660200182016040528015611b015781602001600182028038833980820191505090505b509050606081905060008090506000809050600090505b8551811015611b8657858181518110611b2d57fe5b602001015160f81c60f81b838380600101945081518110611b4a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050611b18565b600090505b8451811015611bf957848181518110611ba057fe5b602001015160f81c60f81b838380600101945081518110611bbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050611b8b565b82965050505050505092915050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b600080611c86836112f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cf557508373ffffffffffffffffffffffffffffffffffffffff16611cdd84610feb565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d065750611d0581856119ef565b5b91505092915050565b611d1a838383612227565b611d2483826123ea565b611d2e8282612588565b505050565b6000611d506001611d4261117b565b61264f90919063ffffffff16565b905090565b611d5f828261266e565b611d698282612588565b611d72816127b4565b5050565b611d7f82611c08565b611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612b7f6034913960400191505060405180910390fd5b80600b6000848152602001908152602001600020819055505050565b611e0481600961280090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b600081600001549050919050565b611e6c8160096128ab90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eed57600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611f658473ffffffffffffffffffffffffffffffffffffffff16612957565b611f725760019050612125565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561204d578082015181840152602081019050612032565b50505050905090810190601f16801561207a5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561209c57600080fd5b505af11580156120b0573d6000803e3d6000fd5b505050506040513d60208110156120c657600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561216757600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8273ffffffffffffffffffffffffffffffffffffffff16612247826112f9565b73ffffffffffffffffffffffffffffffffffffffff161461226757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a157600080fd5b6122aa8161296a565b6122f1600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a28565b612338600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a4b565b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006124426001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612a6190919063ffffffff16565b905060006006600084815260200190815260200160002054905081811461252f576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002083815481106124af57fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061250757fe5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054809190600190036125819190612b01565b5050505050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b60008082840190508381101561266457600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126a857600080fd5b6126b181611c08565b156126bb57600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612754600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a4b565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6007805490506008600083815260200190815260200160002081905550600781908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561283a57600080fd5b6128448282611eb2565b61284d57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128e557600080fd5b6128ef8282611eb2565b156128f957600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a255760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b612a4060018260000154612a6190919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b600082821115612a7057600080fd5b600082840390508091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612ac257805160ff1916838001178555612af0565b82800160010185558215612af0579182015b82811115612aef578251825591602001919060010190612ad4565b5b509050612afd9190612b2d565b5090565b815481835581811115612b2857818360005260206000209182019101612b279190612b2d565b5b505050565b612b4f91905b80821115612b4b576000816000905550600101612b33565b5090565b9056fe506565706574684261646765733a206765742055524920666f72206e6f6e6578697374656e7420746f6b656e506565706574684261646765733a2073657420746f6b656e20626164676520666f72206e6f6e6578697374656e7420746f6b656ea165627a7a72305820329606b14a94fc9c8b56e3f2594e18918b6cb5b56a9ecabcee6f731d209cb8d00029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063aa271e1a116100a2578063e985e9c511610071578063e985e9c514610c15578063ec6858d714610c91578063f2fde38b14610cd3578063f8dc055814610d17576101da565b8063aa271e1a1461098a578063b88d4fde146109e6578063c87b56dd14610aeb578063d547cfb714610b92576101da565b8063983b2d56116100de578063983b2d56146108455780639865027514610889578063a22cb46514610893578063a76d54ff146108e3576101da565b80638da5cb5b146107565780638f32d59b146107a057806395d89b41146107c2576101da565b806330176e131161017c5780635f112c681161014b5780635f112c68146106425780636352211e1461068657806370a08231146106f4578063715018a61461074c576101da565b806330176e131461047157806340c10f191461052c57806342842e0e146105925780634f6ccce714610600576101da565b8063095ea7b3116101b8578063095ea7b31461033557806318160ddd1461038357806323b872dd146103a15780632f745c591461040f576101da565b806301ffc9a7146101df57806306fdde0314610244578063081812fc146102c7575b600080fd5b61022a600480360360208110156101f557600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610ee2565b604051808215151515815260200191505060405180910390f35b61024c610f49565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028c578082015181840152602081019050610271565b50505050905090810190601f1680156102b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102f3600480360360208110156102dd57600080fd5b8101908080359060200190929190505050610feb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103816004803603604081101561034b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061103a565b005b61038b61117b565b6040518082815260200191505060405180910390f35b61040d600480360360608110156103b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611188565b005b61045b6004803603604081101561042557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111ab565b6040518082815260200191505060405180910390f35b61052a6004803603602081101561048757600080fd5b81019080803590602001906401000000008111156104a457600080fd5b8201836020820111156104b657600080fd5b803590602001918460018302840111640100000000831117156104d857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061121e565b005b6105786004803603604081101561054257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611249565b604051808215151515815260200191505060405180910390f35b6105fe600480360360608110156105a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611288565b005b61062c6004803603602081101561061657600080fd5b81019080803590602001909291905050506112a8565b6040518082815260200191505060405180910390f35b6106846004803603602081101561065857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112dc565b005b6106b26004803603602081101561069c57600080fd5b81019080803590602001909291905050506112f9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107366004803603602081101561070a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611375565b6040518082815260200191505060405180910390f35b6107546113fe565b005b61075e6114d0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a86114fa565b604051808215151515815260200191505060405180910390f35b6107ca611552565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561080a5780820151818401526020810190506107ef565b50505050905090810190601f1680156108375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6108876004803603602081101561085b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115f4565b005b610891611611565b005b6108e1600480360360408110156108a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061161c565b005b61090f600480360360208110156108f957600080fd5b8101908080359060200190929190505050611756565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561094f578082015181840152602081019050610934565b50505050905090810190601f16801561097c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109cc600480360360208110156109a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061188a565b604051808215151515815260200191505060405180910390f35b610ae9600480360360808110156109fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610a6357600080fd5b820183602082011115610a7557600080fd5b80359060200191846001830284011164010000000083111715610a9757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506118a7565b005b610b1760048036036020811015610b0157600080fd5b81019080803590602001909291905050506118cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b57578082015181840152602081019050610b3c565b50505050905090810190601f168015610b845780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b9a61194d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bda578082015181840152602081019050610bbf565b50505050905090810190601f168015610c075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c7760048036036040811015610c2b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119ef565b604051808215151515815260200191505060405180910390f35b610cbd60048036036020811015610ca757600080fd5b8101908080359060200190929190505050611a83565b6040518082815260200191505060405180910390f35b610d1560048036036020811015610ce957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611aa0565b005b610e6760048036036040811015610d2d57600080fd5b8101908080359060200190640100000000811115610d4a57600080fd5b820183602082011115610d5c57600080fd5b80359060200191846001830284011164010000000083111715610d7e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610de157600080fd5b820183602082011115610df357600080fd5b80359060200191846001830284011164010000000083111715610e1557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611abd565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ea7578082015181840152602081019050610e8c565b50505050905090810190601f168015610ed45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060600c8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fe15780601f10610fb657610100808354040283529160200191610fe1565b820191906000526020600020905b815481529060010190602001808311610fc457829003601f168201915b5050505050905090565b6000610ff682611c08565b610fff57600080fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611045826112f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561108057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110c057506110bf81336119ef565b5b6110c957600080fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600780549050905090565b6111923382611c7a565b61119b57600080fd5b6111a6838383611d0f565b505050565b60006111b683611375565b82106111c157600080fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061120b57fe5b9060005260206000200154905092915050565b6112266114fa565b61122f57600080fd5b80600e9080519060200190611245929190612a81565b5050565b60006112543361188a565b61125d57600080fd5b6000611267611d33565b90506112738482611d55565b61127d8184611d76565b600191505092915050565b6112a3838383604051806020016040528060008152506118a7565b505050565b60006112b261117b565b82106112bd57600080fd5b600782815481106112ca57fe5b90600052602060002001549050919050565b6112e46114fa565b6112ed57600080fd5b6112f681611df0565b50565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561136c57600080fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b057600080fd5b6113f7600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611e4a565b9050919050565b6114066114fa565b61140f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6060600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115ea5780601f106115bf576101008083540402835291602001916115ea565b820191906000526020600020905b8154815290600101906020018083116115cd57829003601f168201915b5050505050905090565b6115fc6114fa565b61160557600080fd5b61160e81611e58565b50565b61161a33611df0565b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165557600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b6060600082905060008114156117a4576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250915050611885565b600081905060005b600082146117ce578080600101915050600a82816117c657fe5b0491506117ac565b6060816040519080825280601f01601f1916602001820160405280156118035781602001600182028038833980820191505090505b50905060006001830390505b6000851461187c57600a858161182157fe5b0660300160f81b8282806001900393508151811061183b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a858161187457fe5b04945061180f565b81955050505050505b919050565b60006118a0826009611eb290919063ffffffff16565b9050919050565b6118b2848484611188565b6118be84848484611f44565b6118c757600080fd5b50505050565b60606118d882611c08565b61192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612b53602c913960400191505060405180910390fd5b61194661193861194d565b61194184611756565b611abd565b9050919050565b6060600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119e55780601f106119ba576101008083540402835291602001916119e5565b820191906000526020600020905b8154815290600101906020018083116119c857829003601f168201915b5050505050905090565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b6000838152602001908152602001600020549050919050565b611aa86114fa565b611ab157600080fd5b611aba8161212d565b50565b6060808390506060839050606081518351016040519080825280601f01601f191660200182016040528015611b015781602001600182028038833980820191505090505b509050606081905060008090506000809050600090505b8551811015611b8657858181518110611b2d57fe5b602001015160f81c60f81b838380600101945081518110611b4a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050611b18565b600090505b8451811015611bf957848181518110611ba057fe5b602001015160f81c60f81b838380600101945081518110611bbd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050611b8b565b82965050505050505092915050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b600080611c86836112f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cf557508373ffffffffffffffffffffffffffffffffffffffff16611cdd84610feb565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d065750611d0581856119ef565b5b91505092915050565b611d1a838383612227565b611d2483826123ea565b611d2e8282612588565b505050565b6000611d506001611d4261117b565b61264f90919063ffffffff16565b905090565b611d5f828261266e565b611d698282612588565b611d72816127b4565b5050565b611d7f82611c08565b611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612b7f6034913960400191505060405180910390fd5b80600b6000848152602001908152602001600020819055505050565b611e0481600961280090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b600081600001549050919050565b611e6c8160096128ab90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eed57600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611f658473ffffffffffffffffffffffffffffffffffffffff16612957565b611f725760019050612125565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a02338887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561204d578082015181840152602081019050612032565b50505050905090810190601f16801561207a5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561209c57600080fd5b505af11580156120b0573d6000803e3d6000fd5b505050506040513d60208110156120c657600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561216757600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8273ffffffffffffffffffffffffffffffffffffffff16612247826112f9565b73ffffffffffffffffffffffffffffffffffffffff161461226757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122a157600080fd5b6122aa8161296a565b6122f1600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a28565b612338600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a4b565b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006124426001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612a6190919063ffffffff16565b905060006006600084815260200190815260200160002054905081811461252f576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002083815481106124af57fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061250757fe5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054809190600190036125819190612b01565b5050505050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b60008082840190508381101561266457600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126a857600080fd5b6126b181611c08565b156126bb57600080fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612754600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a4b565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6007805490506008600083815260200190815260200160002081905550600781908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561283a57600080fd5b6128448282611eb2565b61284d57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128e557600080fd5b6128ef8282611eb2565b156128f957600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a255760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b612a4060018260000154612a6190919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b600082821115612a7057600080fd5b600082840390508091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612ac257805160ff1916838001178555612af0565b82800160010185558215612af0579182015b82811115612aef578251825591602001919060010190612ad4565b5b509050612afd9190612b2d565b5090565b815481835581811115612b2857818360005260206000209182019101612b279190612b2d565b5b505050565b612b4f91905b80821115612b4b576000816000905550600101612b33565b5090565b9056fe506565706574684261646765733a206765742055524920666f72206e6f6e6578697374656e7420746f6b656e506565706574684261646765733a2073657420746f6b656e20626164676520666f72206e6f6e6578697374656e7420746f6b656ea165627a7a72305820329606b14a94fc9c8b56e3f2594e18918b6cb5b56a9ecabcee6f731d209cb8d00029
Deployed Bytecode Sourcemap
39038:3703:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39038:3703:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12235:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12235:135:0;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40042:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40042:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16363:154;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16363:154:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;15771:299;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15771:299:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26756:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17954:184;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17954:184:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26413:185;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26413:185:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41001:101;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41001:101:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;41001:101:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41001:101:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;41001:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;41001:101:0;;;;;;;;;;;;;;;:::i;:::-;;41350:202;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41350:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;18784:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18784:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27197:151;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27197:151:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42025:93;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;42025:93:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;15159:181;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15159:181:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;14771:163;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14771:163:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2881:140;;;:::i;:::-;;2091:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2426:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40225:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40225:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41868:85;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41868:85:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;38301:77;;;:::i;:::-;;16817:217;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16817:217:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;821:514;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;821:514:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;821:514:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38084:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38084:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;19637:214;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;19637:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;19637:214:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;19637:214:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;19637:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;19637:214:0;;;;;;;;;;;;;;;:::i;:::-;;40703:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40703:244:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40703:244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40416:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40416:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17363:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17363:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41704:108;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41704:108:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3198:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3198:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;177:638;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;177:638:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;177:638:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;177:638:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;177:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;177:638:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;177:638:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;177:638:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;177:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;177:638:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;177:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12235:135;12305:4;12329:20;:33;12350:11;12329:33;;;;;;;;;;;;;;;;;;;;;;;;;;;12322:40;;12235:135;;;:::o;40042:79::-;40081:13;40110:5;40103:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40042:79;:::o;16363:154::-;16422:7;16450:16;16458:7;16450;:16::i;:::-;16442:25;;;;;;16485:15;:24;16501:7;16485:24;;;;;;;;;;;;;;;;;;;;;16478:31;;16363:154;;;:::o;15771:299::-;15835:13;15851:16;15859:7;15851;:16::i;:::-;15835:32;;15892:5;15886:11;;:2;:11;;;;15878:20;;;;;;15931:5;15917:19;;:10;:19;;;:58;;;;15940:35;15957:5;15964:10;15940:16;:35::i;:::-;15917:58;15909:67;;;;;;16016:2;15989:15;:24;16005:7;15989:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;16054:7;16050:2;16034:28;;16043:5;16034:28;;;;;;;;;;;;15771:299;;;:::o;26756:96::-;26800:7;26827:10;:17;;;;26820:24;;26756:96;:::o;17954:184::-;18045:39;18064:10;18076:7;18045:18;:39::i;:::-;18037:48;;;;;;18098:32;18112:4;18118:2;18122:7;18098:13;:32::i;:::-;17954:184;;;:::o;26413:185::-;26493:7;26529:16;26539:5;26529:9;:16::i;:::-;26521:5;:24;26513:33;;;;;;26564:12;:19;26577:5;26564:19;;;;;;;;;;;;;;;26584:5;26564:26;;;;;;;;;;;;;;;;26557:33;;26413:185;;;;:::o;41001:101::-;2303:9;:7;:9::i;:::-;2295:18;;;;;;41089:7;41073:13;:23;;;;;;;;;;;;:::i;:::-;;41001:101;:::o;41350:202::-;41418:4;38035:20;38044:10;38035:8;:20::i;:::-;38027:29;;;;;;41431:15;41449:17;:15;:17::i;:::-;41431:35;;41473:18;41479:2;41483:7;41473:5;:18::i;:::-;41498:30;41513:7;41522:5;41498:14;:30::i;:::-;41542:4;41535:11;;;41350:202;;;;:::o;18784:134::-;18871:39;18888:4;18894:2;18898:7;18871:39;;;;;;;;;;;;:16;:39::i;:::-;18784:134;;;:::o;27197:151::-;27255:7;27291:13;:11;:13::i;:::-;27283:5;:21;27275:30;;;;;;27323:10;27334:5;27323:17;;;;;;;;;;;;;;;;27316:24;;27197:151;;;:::o;42025:93::-;2303:9;:7;:9::i;:::-;2295:18;;;;;;42090:22;42104:7;42090:13;:22::i;:::-;42025:93;:::o;15159:181::-;15214:7;15234:13;15250:11;:20;15262:7;15250:20;;;;;;;;;;;;;;;;;;;;;15234:36;;15306:1;15289:19;;:5;:19;;;;15281:28;;;;;;15327:5;15320:12;;;15159:181;;;:::o;14771:163::-;14826:7;14871:1;14854:19;;:5;:19;;;;14846:28;;;;;;14892:34;:17;:24;14910:5;14892:24;;;;;;;;;;;;;;;:32;:34::i;:::-;14885:41;;14771:163;;;:::o;2881:140::-;2303:9;:7;:9::i;:::-;2295:18;;;;;;2980:1;2943:40;;2964:6;;;;;;;;;;;2943:40;;;;;;;;;;;;3011:1;2994:6;;:19;;;;;;;;;;;;;;;;;;2881:140::o;2091:79::-;2129:7;2156:6;;;;;;;;;;;2149:13;;2091:79;:::o;2426:92::-;2466:4;2504:6;;;;;;;;;;;2490:20;;:10;:20;;;2483:27;;2426:92;:::o;40225:83::-;40266:13;40295:7;40288:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40225:83;:::o;41868:85::-;2303:9;:7;:9::i;:::-;2295:18;;;;;;41928:19;41939:7;41928:10;:19::i;:::-;41868:85;:::o;38301:77::-;38345:25;38359:10;38345:13;:25::i;:::-;38301:77::o;16817:217::-;16903:10;16897:16;;:2;:16;;;;16889:25;;;;;;16962:8;16925:18;:30;16944:10;16925:30;;;;;;;;;;;;;;;:34;16956:2;16925:34;;;;;;;;;;;;;;;;:45;;;;;;;;;;;;;;;;;;17013:2;16986:40;;17001:10;16986:40;;;17017:8;16986:40;;;;;;;;;;;;;;;;;;;;;;16817:217;;:::o;821:514::-;876:26;911:14;928:5;911:22;;959:1;946:9;:14;942:47;;;971:10;;;;;;;;;;;;;;;;;;;;;;942:47;995:6;1004:9;995:18;;1020:11;1038:56;1050:1;1045;:6;1038:56;;1062:8;;;;;;;1084:2;1079:7;;;;;;;;;1038:56;;;1100:23;1136:6;1126:17;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;1126:17:0;;;;1100:43;;1150:10;1172:1;1163:6;:10;1150:23;;1180:118;1200:1;1187:9;:14;1180:118;;1262:2;1250:9;:14;;;;;;1245:2;:19;1234:32;;1212:10;1223:7;;;;;;;1212:19;;;;;;;;;;;:54;;;;;;;;;;;1288:2;1275:15;;;;;;;;;1180:118;;;1318:10;1304:25;;;;;;;821:514;;;;:::o;38084:109::-;38140:4;38164:21;38177:7;38164:8;:12;;:21;;;;:::i;:::-;38157:28;;38084:109;;;:::o;19637:214::-;19744:31;19757:4;19763:2;19767:7;19744:12;:31::i;:::-;19794:48;19817:4;19823:2;19827:7;19836:5;19794:22;:48::i;:::-;19786:57;;;;;;19637:214;;;;:::o;40703:244::-;40761:13;40791:16;40799:7;40791;:16::i;:::-;40783:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40870:71;40890:14;:12;:14::i;:::-;40913:21;40926:7;40913:12;:21::i;:::-;40870:11;:71::i;:::-;40863:78;;40703:244;;;:::o;40416:93::-;40461:13;40490;40483:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40416:93;:::o;17363:147::-;17443:4;17467:18;:25;17486:5;17467:25;;;;;;;;;;;;;;;:35;17493:8;17467:35;;;;;;;;;;;;;;;;;;;;;;;;;17460:42;;17363:147;;;;:::o;41704:108::-;41762:7;41785:12;:21;41798:7;41785:21;;;;;;;;;;;;41778:28;;41704:108;;;:::o;3198:109::-;2303:9;:7;:9::i;:::-;2295:18;;;;;;3271:28;3290:8;3271:18;:28::i;:::-;3198:109;:::o;177:638::-;253:32;294:19;322:1;294:30;;331:19;359:1;331:30;;368:28;426:6;:13;410:6;:13;:29;399:41;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;399:41:0;;;;368:72;;447:20;476:14;447:44;;498:23;524:1;498:27;;532:10;545:1;532:14;;566:1;558:9;;553:110;577:6;:13;569:5;:21;553:110;;;642:6;649:5;642:13;;;;;;;;;;;;;;;;610:7;618:20;;;;;;610:29;;;;;;;;;;;:45;;;;;;;;;;;592:7;;;;;;;553:110;;;682:1;674:9;;669:110;693:6;:13;685:5;:21;669:110;;;758:6;765:5;758:13;;;;;;;;;;;;;;;;726:7;734:20;;;;;;726:29;;;;;;;;;;;:45;;;;;;;;;;;708:7;;;;;;;669:110;;;801:7;787:22;;;;;;;;177:638;;;;:::o;20052:155::-;20109:4;20126:13;20142:11;:20;20154:7;20142:20;;;;;;;;;;;;;;;;;;;;;20126:36;;20197:1;20180:19;;:5;:19;;;;20173:26;;;20052:155;;;:::o;20576:249::-;20661:4;20678:13;20694:16;20702:7;20694;:16::i;:::-;20678:32;;20740:5;20729:16;;:7;:16;;;:51;;;;20773:7;20749:31;;:20;20761:7;20749:11;:20::i;:::-;:31;;;20729:51;:87;;;;20784:32;20801:5;20808:7;20784:16;:32::i;:::-;20729:87;20721:96;;;20576:249;;;;:::o;27732:245::-;27818:38;27838:4;27844:2;27848:7;27818:19;:38::i;:::-;27869:47;27902:4;27908:7;27869:32;:47::i;:::-;27929:40;27957:2;27961:7;27929:27;:40::i;:::-;27732:245;;;:::o;42640:98::-;42689:7;42712:20;42730:1;42712:13;:11;:13::i;:::-;:17;;:20;;;;:::i;:::-;42705:27;;42640:98;:::o;28240:202::-;28304:24;28316:2;28320:7;28304:11;:24::i;:::-;28341:40;28369:2;28373:7;28341:27;:40::i;:::-;28394;28426:7;28394:31;:40::i;:::-;28240:202;;:::o;42350:195::-;42430:16;42438:7;42430;:16::i;:::-;42422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42534:5;42510:12;:21;42523:7;42510:21;;;;;;;;;;;:29;;;;42350:195;;:::o;38516:130::-;38576:24;38592:7;38576:8;:15;;:24;;;;:::i;:::-;38630:7;38616:22;;;;;;;;;;;;38516:130;:::o;11044:114::-;11109:7;11136;:14;;;11129:21;;11044:114;;;:::o;38386:122::-;38443:21;38456:7;38443:8;:12;;:21;;;;:::i;:::-;38492:7;38480:20;;;;;;;;;;;;38386:122;:::o;37448:165::-;37520:4;37564:1;37545:21;;:7;:21;;;;37537:30;;;;;;37585:4;:11;;:20;37597:7;37585:20;;;;;;;;;;;;;;;;;;;;;;;;;37578:27;;37448:165;;;;:::o;23492:356::-;23614:4;23641:15;:2;:13;;;:15::i;:::-;23636:60;;23680:4;23673:11;;;;23636:60;23708:13;23740:2;23724:36;;;23761:10;23773:4;23779:7;23788:5;23724:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;23724:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23724:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23724:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23724:70:0;;;;;;;;;;;;;;;;23708:86;;13226:10;23823:16;;23813:26;;;:6;:26;;;;23805:35;;;23492:356;;;;;;;:::o;3457:187::-;3551:1;3531:22;;:8;:22;;;;3523:31;;;;;;3599:8;3570:38;;3591:6;;;;;;;;;;;3570:38;;;;;;;;;;;;3628:8;3619:6;;:17;;;;;;;;;;;;;;;;;;3457:187;:::o;22579:374::-;22693:4;22673:24;;:16;22681:7;22673;:16::i;:::-;:24;;;22665:33;;;;;;22731:1;22717:16;;:2;:16;;;;22709:25;;;;;;22747:23;22762:7;22747:14;:23::i;:::-;22783:35;:17;:23;22801:4;22783:23;;;;;;;;;;;;;;;:33;:35::i;:::-;22829:33;:17;:21;22847:2;22829:21;;;;;;;;;;;;;;;:31;:33::i;:::-;22898:2;22875:11;:20;22887:7;22875:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;22937:7;22933:2;22918:27;;22927:4;22918:27;;;;;;;;;;;;22579:374;;;:::o;30909:1148::-;31175:22;31200:32;31230:1;31200:12;:18;31213:4;31200:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;31175:57;;31243:18;31264:17;:26;31282:7;31264:26;;;;;;;;;;;;31243:47;;31411:14;31397:10;:28;31393:328;;31442:19;31464:12;:18;31477:4;31464:18;;;;;;;;;;;;;;;31483:14;31464:34;;;;;;;;;;;;;;;;31442:56;;31548:11;31515:12;:18;31528:4;31515:18;;;;;;;;;;;;;;;31534:10;31515:30;;;;;;;;;;;;;;;:44;;;;31665:10;31632:17;:30;31650:11;31632:30;;;;;;;;;;;:43;;;;31393:328;;31810:12;:18;31823:4;31810:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;30909:1148;;;;:::o;29733:186::-;29847:12;:16;29860:2;29847:16;;;;;;;;;;;;;;;:23;;;;29818:17;:26;29836:7;29818:26;;;;;;;;;;;:52;;;;29881:12;:16;29894:2;29881:16;;;;;;;;;;;;;;;29903:7;29881:30;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;29881:30:0;;;;;;;;;;;;;;;;;;;;;;29733:186;;:::o;8311:150::-;8369:7;8389:9;8405:1;8401;:5;8389:17;;8430:1;8425;:6;;8417:15;;;;;;8452:1;8445:8;;;8311:150;;;;:::o;21076:267::-;21162:1;21148:16;;:2;:16;;;;21140:25;;;;;;21185:16;21193:7;21185;:16::i;:::-;21184:17;21176:26;;;;;;21238:2;21215:11;:20;21227:7;21215:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;21251:33;:17;:21;21269:2;21251:21;;;;;;;;;;;;;;;:31;:33::i;:::-;21327:7;21323:2;21302:33;;21319:1;21302:33;;;;;;;;;;;;21076:267;;:::o;30120:164::-;30224:10;:17;;;;30197:15;:24;30213:7;30197:24;;;;;;;;;;;:44;;;;30252:10;30268:7;30252:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;30252:24:0;;;;;;;;;;;;;;;;;;;;;;30120:164;:::o;37165:189::-;37264:1;37245:21;;:7;:21;;;;37237:30;;;;;;37286:18;37290:4;37296:7;37286:3;:18::i;:::-;37278:27;;;;;;37341:5;37318:4;:11;;:20;37330:7;37318:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;37165:189;;:::o;36900:186::-;36996:1;36977:21;;:7;:21;;;;36969:30;;;;;;37019:18;37023:4;37029:7;37019:3;:18::i;:::-;37018:19;37010:28;;;;;;37074:4;37051;:11;;:20;37063:7;37051:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;36900:186;;:::o;9291:627::-;9351:4;9368:12;9875:7;9863:20;9855:28;;9909:1;9902:4;:8;9895:15;;;9291:627;;;:::o;24015:175::-;24115:1;24079:38;;:15;:24;24095:7;24079:24;;;;;;;;;;;;;;;;;;;;;:38;;;24075:108;;24169:1;24134:15;:24;24150:7;24134:24;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;24075:108;24015:175;:::o;11265:110::-;11346:21;11365:1;11346:7;:14;;;:18;;:21;;;;:::i;:::-;11329:7;:14;;:38;;;;11265:110;:::o;11166:91::-;11248:1;11230:7;:14;;;:19;;;;;;;;;;;11166:91;:::o;8073:150::-;8131:7;8164:1;8159;:6;;8151:15;;;;;;8177:9;8193:1;8189;:5;8177:17;;8214:1;8207:8;;;8073:150;;;;:::o;39038:3703::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://329606b14a94fc9c8b56e3f2594e18918b6cb5b56a9ecabcee6f731d209cb8d0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.