Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,097 GU:HYDRA
Holders
2,670
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GU:HYDRALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HydraTrinket
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-03-18 */ pragma solidity ^0.5.11; contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of NFTs in `owner`'s account. */ function balanceOf(address owner) public view returns (uint256 balance); /** * @dev Returns the owner of the NFT specified by `tokenId`. */ function ownerOf(uint256 tokenId) public view returns (address owner); /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * * * Requirements: * - `from`, `to` cannot be zero. * - `tokenId` must be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this * NFT by either {approve} or {setApprovalForAll}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public; /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * Requirements: * - If the caller is not `from`, it must be approved to move this NFT by * either {approve} or {setApprovalForAll}. */ function transferFrom(address from, address to, uint256 tokenId) public; function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; } contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a {IERC721-safeTransferFrom}. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * IMPORTANT: It is unsafe to assume that an address for which this * function returns false is an externally-owned account (EOA) and not a * contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } 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); } } contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } contract ERC721 is Context, ERC165, IERC721 { using SafeMath for uint256; using Address for address; using Counters for Counters.Counter; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from token ID to owner mapping (uint256 => address) private _tokenOwner; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to number of owned token mapping (address => Counters.Counter) private _ownedTokensCount; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; constructor () public { // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); } /** * @dev Gets the balance of the specified address. * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _ownedTokensCount[owner].current(); } /** * @dev Gets the owner of the specified token ID. * @param tokenId uint256 ID of the token to query the owner of * @return address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view returns (address) { address owner = _tokenOwner[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) public { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf. * @param to operator address to set the approval * @param approved representing the status of the approval to be set */ function setApprovalForAll(address to, bool approved) public { require(to != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][to] = approved; emit ApprovalForAll(_msgSender(), to, approved); } /** * @dev Tells whether an operator is approved by a given owner. * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner, address operator) public view returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Transfers the ownership of a given token ID to another address. * Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * Requires the msg.sender to be the owner, approved, or operator. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function transferFrom(address from, address to, uint256 tokenId) public { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transferFrom(from, to, tokenId); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the _msgSender() to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransferFrom(from, to, tokenId, _data); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal { _transferFrom(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether the specified token exists. * @param tokenId uint256 ID of the token to query the existence of * @return bool whether the token exists */ function _exists(uint256 tokenId) internal view returns (bool) { address owner = _tokenOwner[tokenId]; return owner != address(0); } /** * @dev Returns whether the given spender can transfer a given token ID. * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted * @param _data bytes data to send along with a safe transfer check */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _tokenOwner[tokenId] = to; _ownedTokensCount[to].increment(); emit Transfer(address(0), to, tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use {_burn} instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own"); _clearApproval(tokenId); _ownedTokensCount[owner].decrement(); _tokenOwner[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * @param tokenId uint256 ID of the token being burned */ function _burn(uint256 tokenId) internal { _burn(ownerOf(tokenId), tokenId); } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _clearApproval(tokenId); _ownedTokensCount[from].decrement(); _ownedTokensCount[to].increment(); _tokenOwner[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * This function is deprecated. * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) internal returns (bool) { if (!to.isContract()) { return true; } bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data); return (retval == _ERC721_RECEIVED); } /** * @dev Private function to clear current approval of a given token ID. * @param tokenId uint256 ID of the token to be transferred */ function _clearApproval(uint256 tokenId) private { if (_tokenApprovals[tokenId] != address(0)) { _tokenApprovals[tokenId] = address(0); } } } 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); } contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => uint256[]) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Constructor function. */ constructor () public { // register the supported interface to conform to ERC721Enumerable via ERC165 _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner. * @param owner address owning the tokens list to be accessed * @param index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev Gets the total amount of tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return _allTokens.length; } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens. * @param index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { super._transferFrom(from, to, tokenId); _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to address the beneficiary that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { super._mint(to, tokenId); _addTokenToOwnerEnumeration(to, tokenId); _addTokenToAllTokensEnumeration(tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use {ERC721-_burn} instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); _removeTokenFromOwnerEnumeration(owner, tokenId); // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund _ownedTokensIndex[tokenId] = 0; _removeTokenFromAllTokensEnumeration(tokenId); } /** * @dev Gets the list of token IDs of the requested owner. * @param owner address owning the tokens * @return uint256[] List of token IDs owned by the requested address */ function _tokensOfOwner(address owner) internal view returns (uint256[] storage) { return _ownedTokens[owner]; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { _ownedTokensIndex[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _ownedTokens[from].length.sub(1); uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array _ownedTokens[from].length--; // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by // lastTokenId, or just over the end of the array if the token was the last one). } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length.sub(1); uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array _allTokens.length--; _allTokensIndex[tokenId] = 0; } } 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); } contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /** * @dev Constructor function */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721_METADATA); } /** * @dev Gets the token name. * @return string representing the token name */ function name() external view returns (string memory) { return _name; } /** * @dev Gets the token symbol. * @return string representing the token symbol */ function symbol() external view returns (string memory) { return _symbol; } /** * @dev Returns an URI for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenURI(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return _tokenURIs[tokenId]; } /** * @dev Internal function to set the token URI for a given token. * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to set its URI * @param uri string URI to assign */ function _setTokenURI(uint256 tokenId, string memory uri) internal { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = uri; } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata { constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) { // solhint-disable-previous-line no-empty-blocks } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library String { /** * @dev Converts a `uint256` to a `string`. * via OraclizeAPI - MIT licence * https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol */ function fromUint(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } bytes constant alphabet = "0123456789abcdef"; function fromAddress(address _addr) internal pure returns(string memory) { bytes32 value = bytes32(uint256(_addr)); bytes memory str = new bytes(42); str[0] = '0'; str[1] = 'x'; for (uint i = 0; i < 20; i++) { str[2+i*2] = alphabet[uint(uint8(value[i + 12] >> 4))]; str[3+i*2] = alphabet[uint(uint8(value[i + 12] & 0x0F))]; } return string(str); } } contract GenericAsset is ERC721Full, Ownable { bool public isTradable; Counters.Counter public _tokenIds; mapping (address => bool) public approvedMinters; string public constant baseURI = "https://api.immutable.com/asset/"; constructor( string memory _name, string memory _ticker ) ERC721Full(_name, _ticker) public { setMinterStatus(msg.sender, true); } event MinterStatusChanged( address minter, bool status ); event TradabilityStatusChanged( bool status ); modifier onlyMinters(address _minter) { require( approvedMinters[_minter] == true, "Generic Asset: not an approved minter" ); _; } /** * @dev Set the status of a minter * * @param _minter Address of the minter * @param _status Boolean whether they can or cannot mint assets */ function setMinterStatus( address _minter, bool _status ) public onlyOwner { approvedMinters[_minter] = _status; emit MinterStatusChanged(_minter, _status); } /** * @dev Set trading to be enabled or disabled. * * @param _status Pass true or false to enable/disable trading */ function setTradabilityStatus( bool _status ) public onlyOwner { isTradable = _status; emit TradabilityStatusChanged(_status); } /** * @dev Transfer cards to another address. Trading must be unlocked to transfer. * Can be called by the owner or an approved spender. * * @param from The owner of the card * @param to The recipient of the card to send to * @param tokenId The id of the card you'd like to transfer */ function _transferFrom( address from, address to, uint256 tokenId ) internal { require( isTradable == true, "Generic Asset: not yet tradable" ); super._transferFrom(from, to, tokenId); } /** * @dev Get the URI scheme of the token * * @param _tokenId is the ID of the token to get the URI for */ function tokenURI( uint256 _tokenId ) external view returns (string memory) { return string(abi.encodePacked( baseURI, String.fromAddress(address(this)), "/", String.fromUint(_tokenId) )); } function totalSupply() public view returns (uint256) { return _tokenIds.current(); } } contract HydraTrinket is GenericAsset { mapping (uint256 => uint8) public hydraToHeads; event HydraMinted( uint256 id, address owner, uint8 heads ); constructor( string memory _name, string memory _ticker ) GenericAsset(_name, _ticker) public { setMinterStatus(msg.sender, true); } /** * @dev Mint multiple hydras * * @param _to The owners to receive the assets * @param _heads The number of heads for each hydra */ function mintMultiple( address[] memory _to, uint8[] memory _heads ) public onlyMinters(msg.sender) { for (uint i = 0; i < _to.length; i++) { mint(_to[i], _heads[i]); } } /** * @dev Mint a single hydra * * @param _to The owner to receive the asset * @param _heads The number of heads for the hydra */ function mint( address _to, uint8 _heads ) public onlyMinters(msg.sender) returns (uint256 tokenId) { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(_to, newItemId); hydraToHeads[newItemId] = _heads; emit HydraMinted(newItemId, _to, _heads); return newItemId; } /** * @dev Return the number of hydra heads * * @param _tokenId The token to query against */ function getHeadsOfHydra( uint256 _tokenId ) public view returns (uint8) { return hydraToHeads[_tokenId]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getHeadsOfHydra","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setTradabilityStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hydraToHeads","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isTradable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint8","name":"_heads","type":"uint8"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedMinters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_tokenIds","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint8[]","name":"_heads","type":"uint8[]"}],"name":"mintMultiple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setMinterStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint8","name":"heads","type":"uint8"}],"name":"HydraMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"MinterStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"TradabilityStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200283738038062002837833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040525083915082905081818181620001db7f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b6200020f7f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b620002437f780e9d63000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b81516200025890600990602085019062000522565b5080516200026e90600a90602084019062000522565b50620002a37f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b50505050620002b76200040960201b60201c565b600c80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620003193360016001600160e01b036200040e16565b506200033290503360016001600160e01b036200040e16565b5050620005c4565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620003cc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b335b90565b620004216001600160e01b03620004f116565b6200048d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b600c546000906001600160a01b0316620005136001600160e01b036200040916565b6001600160a01b031614905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200056557805160ff191683800117855562000595565b8280016001018555821562000595579182015b828111156200059557825182559160200191906001019062000578565b50620005a3929150620005a7565b5090565b6200040b91905b80821115620005a35760008155600101620005ae565b61226380620005d46000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c0360eb11610104578063a8b5e6ea116100a2578063d273aca111610071578063d273aca11461061d578063e985e9c514610744578063f00c298d14610772578063f2fde38b146107a0576101da565b8063a8b5e6ea1461050c578063aa46a40014610532578063b88d4fde1461053a578063c87b56dd14610600576101da565b80638da5cb5b116100de5780638da5cb5b146104c65780638f32d59b146104ce57806395d89b41146104d6578063a22cb465146104de576101da565b80636c0360eb1461049057806370a0823114610498578063715018a6146104be576101da565b806323b872dd1161017c5780634f6ccce71161014b5780634f6ccce71461041f5780635074449d1461043c5780636352211e14610444578063691562a014610461576101da565b806323b872dd1461036a5780632f745c59146103a057806342842e0e146103cc5780634497453c14610402576101da565b8063095ea7b3116101b8578063095ea7b3146102d05780630fe05f0c146102fe57806318160ddd146103315780631b231f421461034b576101da565b806301ffc9a7146101df57806306fdde031461021a578063081812fc14610297575b600080fd5b610206600480360360208110156101f557600080fd5b50356001600160e01b0319166107c6565b604080519115158252519081900360200190f35b6102226107e9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025c578181015183820152602001610244565b50505050905090810190601f1680156102895780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b4600480360360208110156102ad57600080fd5b5035610880565b604080516001600160a01b039092168252519081900360200190f35b6102fc600480360360408110156102e657600080fd5b506001600160a01b0381351690602001356108e2565b005b61031b6004803603602081101561031457600080fd5b5035610a0a565b6040805160ff9092168252519081900360200190f35b610339610a1f565b60408051918252519081900360200190f35b6102fc6004803603602081101561036157600080fd5b50351515610a30565b6102fc6004803603606081101561038057600080fd5b506001600160a01b03813581169160208101359091169060400135610aca565b610339600480360360408110156103b657600080fd5b506001600160a01b038135169060200135610b26565b6102fc600480360360608110156103e257600080fd5b506001600160a01b03813581169160208101359091169060400135610ba5565b61031b6004803603602081101561041857600080fd5b5035610bc0565b6103396004803603602081101561043557600080fd5b5035610bd5565b610206610c3b565b6102b46004803603602081101561045a57600080fd5b5035610c4b565b6103396004803603604081101561047757600080fd5b5080356001600160a01b0316906020013560ff16610ca5565b610222610d8e565b610339600480360360208110156104ae57600080fd5b50356001600160a01b0316610dc7565b6102fc610e2f565b6102b4610ec0565b610206610ecf565b610222610ef5565b6102fc600480360360408110156104f457600080fd5b506001600160a01b0381351690602001351515610f56565b6102066004803603602081101561052257600080fd5b50356001600160a01b031661105b565b610339611070565b6102fc6004803603608081101561055057600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561058b57600080fd5b82018360208201111561059d57600080fd5b803590602001918460018302840111640100000000831117156105bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611076945050505050565b6102226004803603602081101561061657600080fd5b50356110d4565b6102fc6004803603604081101561063357600080fd5b81019060208101813564010000000081111561064e57600080fd5b82018360208201111561066057600080fd5b8035906020019184602083028401116401000000008311171561068257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156106d257600080fd5b8201836020820111156106e457600080fd5b8035906020019184602083028401116401000000008311171561070657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061122e945050505050565b6102066004803603604081101561075a57600080fd5b506001600160a01b03813581169160200135166112c6565b6102fc6004803603604081101561078857600080fd5b506001600160a01b03813516906020013515156112f4565b6102fc600480360360208110156107b657600080fd5b50356001600160a01b031661139f565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108755780601f1061084a57610100808354040283529160200191610875565b820191906000526020600020905b81548152906001019060200180831161085857829003601f168201915b505050505090505b90565b600061088b826113f2565b6108c65760405162461bcd60e51b815260040180806020018281038252602c815260200180612117602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006108ed82610c4b565b9050806001600160a01b0316836001600160a01b031614156109405760405162461bcd60e51b815260040180806020018281038252602181526020018061218c6021913960400191505060405180910390fd5b806001600160a01b031661095261140f565b6001600160a01b0316148061097357506109738161096e61140f565b6112c6565b6109ae5760405162461bcd60e51b815260040180806020018281038252603881526020018061208c6038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000908152600f602052604090205460ff1690565b6000610a2b600d611413565b905090565b610a38610ecf565b610a77576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b600c8054821515600160a01b810260ff60a01b199092169190911790915560408051918252517f4e4481dd7d6c201a938b073a8e6d0bf6049b4650ccccb551a569f8952b3a619d9181900360200190a150565b610adb610ad561140f565b82611417565b610b165760405162461bcd60e51b81526004018080602001828103825260318152602001806121d26031913960400191505060405180910390fd5b610b218383836114bb565b505050565b6000610b3183610dc7565b8210610b6e5760405162461bcd60e51b815260040180806020018281038252602b815260200180611fb9602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110610b9257fe5b9060005260206000200154905092915050565b610b2183838360405180602001604052806000815250611076565b600f6020526000908152604090205460ff1681565b6000610bdf610a1f565b8210610c1c5760405162461bcd60e51b815260040180806020018281038252602c815260200180612203602c913960400191505060405180910390fd5b60078281548110610c2957fe5b90600052602060002001549050919050565b600c54600160a01b900460ff1681565b6000818152600160205260408120546001600160a01b031680610c9f5760405162461bcd60e51b81526004018080602001828103825260298152602001806120ee6029913960400191505060405180910390fd5b92915050565b336000818152600e602052604081205490919060ff161515600114610cfb5760405162461bcd60e51b81526004018080602001828103825260258152602001806121ad6025913960400191505060405180910390fd5b610d05600d611529565b6000610d11600d611413565b9050610d1d8582611532565b6000818152600f6020908152604091829020805460ff881660ff19909116811790915582518481526001600160a01b038916928101929092528183015290517f744cb89558ec4ee09b72e12653d39358efd6502ba095d3f6e03c71c2575c91739181900360600190a1949350505050565b6040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f81525081565b60006001600160a01b038216610e0e5760405162461bcd60e51b815260040180806020018281038252602a8152602001806120c4602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610c9f90611413565b610e37610ecf565b610e76576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80546001600160a01b0319169055565b600c546001600160a01b031690565b600c546000906001600160a01b0316610ee661140f565b6001600160a01b031614905090565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108755780601f1061084a57610100808354040283529160200191610875565b610f5e61140f565b6001600160a01b0316826001600160a01b03161415610fc4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060046000610fd161140f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561101561140f565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b600e6020526000908152604090205460ff1681565b600d5481565b61108761108161140f565b83611417565b6110c25760405162461bcd60e51b81526004018080602001828103825260318152602001806121d26031913960400191505060405180910390fd5b6110ce84848484611553565b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f815250611115306115a5565b61111e8461174b565b6040516020018084805190602001908083835b602083106111505780518252601f199092019160209182019101611131565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106111985780518252601f199092019160209182019101611179565b6001836020036101000a03801982511681845116808217855250505050505090500180602f60f81b81525060010182805190602001908083835b602083106111f15780518252601f1990920191602091820191016111d2565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040529050919050565b336000818152600e602052604090205460ff1615156001146112815760405162461bcd60e51b81526004018080602001828103825260258152602001806121ad6025913960400191505060405180910390fd5b60005b83518110156110ce576112bd84828151811061129c57fe5b60200260200101518483815181106112b057fe5b6020026020010151610ca5565b50600101611284565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6112fc610ecf565b61133b576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b6113a7610ecf565b6113e6576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b6113ef8161180f565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b5490565b6000611422826113f2565b61145d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612060602c913960400191505060405180910390fd5b600061146883610c4b565b9050806001600160a01b0316846001600160a01b031614806114a35750836001600160a01b031661149884610880565b6001600160a01b0316145b806114b357506114b381856112c6565b949350505050565b600c54600160a01b900460ff16151560011461151e576040805162461bcd60e51b815260206004820152601f60248201527f47656e657269632041737365743a206e6f7420796574207472616461626c6500604482015290519081900360640190fd5b610b218383836118b0565b80546001019055565b61153c82826118cf565b6115468282611a00565b61154f81611a3e565b5050565b61155e8484846114bb565b61156a84848484611a82565b6110ce5760405162461bcd60e51b8152600401808060200182810382526032815260200180611fe46032913960400191505060405180910390fd5b60408051602a80825260608281019093526001600160a01b038416918391602082018180388339019050509050600360fc1b816000815181106115e457fe5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061160d57fe5b60200101906001600160f81b031916908160001a90535060005b6014811015611743576040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b81525060048483600c016020811061166a57fe5b1a60f81b6001600160f81b031916901c60f81c60ff168151811061168a57fe5b602001015160f81c60f81b8282600202600201815181106116a757fe5b60200101906001600160f81b031916908160001a9053506040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b8152508382600c01602081106116f657fe5b825191901a600f1690811061170757fe5b602001015160f81c60f81b82826002026003018151811061172457fe5b60200101906001600160f81b031916908160001a905350600101611627565b509392505050565b60608161177057506040805180820190915260018152600360fc1b60208201526107e4565b8160005b811561178857600101600a82049150611774565b6060816040519080825280601f01601f1916602001820160405280156117b5576020820181803883390190505b50859350905060001982015b831561180657600a840660300160f81b828280600190039350815181106117e457fe5b60200101906001600160f81b031916908160001a905350600a840493506117c1565b50949350505050565b6001600160a01b0381166118545760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6118bb838383611bd9565b6118c58382611d1d565b610b218282611a00565b6001600160a01b03821661192a576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611933816113f2565b15611985576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558352600390915290206119c490611529565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b6000611a96846001600160a01b0316611e12565b611aa2575060016114b3565b6000846001600160a01b031663150b7a02611abb61140f565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611b40578181015183820152602001611b28565b50505050905090810190601f168015611b6d5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611b8f57600080fd5b505af1158015611ba3573d6000803e3d6000fd5b505050506040513d6020811015611bb957600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b826001600160a01b0316611bec82610c4b565b6001600160a01b031614611c315760405162461bcd60e51b81526004018080602001828103825260298152602001806121636029913960400191505060405180910390fd5b6001600160a01b038216611c765760405162461bcd60e51b815260040180806020018281038252602481526020018061203c6024913960400191505060405180910390fd5b611c7f81611e49565b6001600160a01b0383166000908152600360205260409020611ca090611e84565b6001600160a01b0382166000908152600360205260409020611cc190611529565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054611d4790600163ffffffff611e9b16565b600083815260066020526040902054909150808214611de2576001600160a01b0384166000908152600560205260408120805484908110611d8457fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611dc257fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490611e0b906000198301611f7b565b5050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114b35750141592915050565b6000818152600260205260409020546001600160a01b0316156113ef57600090815260026020526040902080546001600160a01b0319169055565b8054611e9790600163ffffffff611e9b16565b9055565b6000611edd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ee4565b9392505050565b60008184841115611f735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f38578181015183820152602001611f20565b50505050905090810190601f168015611f655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b815481835581811115610b2157600083815260209020610b2191810190830161087d91905b80821115611fb45760008155600101611fa0565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e657247656e657269632041737365743a206e6f7420616e20617070726f766564206d696e7465724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a72315820ca2998682f33e288792403f7f105b8861ad4cd98381ec7b4db9c518672aea86364736f6c634300050b003200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001147553a204879647261205472696e6b6574000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000847553a4859445241000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c0360eb11610104578063a8b5e6ea116100a2578063d273aca111610071578063d273aca11461061d578063e985e9c514610744578063f00c298d14610772578063f2fde38b146107a0576101da565b8063a8b5e6ea1461050c578063aa46a40014610532578063b88d4fde1461053a578063c87b56dd14610600576101da565b80638da5cb5b116100de5780638da5cb5b146104c65780638f32d59b146104ce57806395d89b41146104d6578063a22cb465146104de576101da565b80636c0360eb1461049057806370a0823114610498578063715018a6146104be576101da565b806323b872dd1161017c5780634f6ccce71161014b5780634f6ccce71461041f5780635074449d1461043c5780636352211e14610444578063691562a014610461576101da565b806323b872dd1461036a5780632f745c59146103a057806342842e0e146103cc5780634497453c14610402576101da565b8063095ea7b3116101b8578063095ea7b3146102d05780630fe05f0c146102fe57806318160ddd146103315780631b231f421461034b576101da565b806301ffc9a7146101df57806306fdde031461021a578063081812fc14610297575b600080fd5b610206600480360360208110156101f557600080fd5b50356001600160e01b0319166107c6565b604080519115158252519081900360200190f35b6102226107e9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025c578181015183820152602001610244565b50505050905090810190601f1680156102895780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b4600480360360208110156102ad57600080fd5b5035610880565b604080516001600160a01b039092168252519081900360200190f35b6102fc600480360360408110156102e657600080fd5b506001600160a01b0381351690602001356108e2565b005b61031b6004803603602081101561031457600080fd5b5035610a0a565b6040805160ff9092168252519081900360200190f35b610339610a1f565b60408051918252519081900360200190f35b6102fc6004803603602081101561036157600080fd5b50351515610a30565b6102fc6004803603606081101561038057600080fd5b506001600160a01b03813581169160208101359091169060400135610aca565b610339600480360360408110156103b657600080fd5b506001600160a01b038135169060200135610b26565b6102fc600480360360608110156103e257600080fd5b506001600160a01b03813581169160208101359091169060400135610ba5565b61031b6004803603602081101561041857600080fd5b5035610bc0565b6103396004803603602081101561043557600080fd5b5035610bd5565b610206610c3b565b6102b46004803603602081101561045a57600080fd5b5035610c4b565b6103396004803603604081101561047757600080fd5b5080356001600160a01b0316906020013560ff16610ca5565b610222610d8e565b610339600480360360208110156104ae57600080fd5b50356001600160a01b0316610dc7565b6102fc610e2f565b6102b4610ec0565b610206610ecf565b610222610ef5565b6102fc600480360360408110156104f457600080fd5b506001600160a01b0381351690602001351515610f56565b6102066004803603602081101561052257600080fd5b50356001600160a01b031661105b565b610339611070565b6102fc6004803603608081101561055057600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561058b57600080fd5b82018360208201111561059d57600080fd5b803590602001918460018302840111640100000000831117156105bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611076945050505050565b6102226004803603602081101561061657600080fd5b50356110d4565b6102fc6004803603604081101561063357600080fd5b81019060208101813564010000000081111561064e57600080fd5b82018360208201111561066057600080fd5b8035906020019184602083028401116401000000008311171561068257600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156106d257600080fd5b8201836020820111156106e457600080fd5b8035906020019184602083028401116401000000008311171561070657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061122e945050505050565b6102066004803603604081101561075a57600080fd5b506001600160a01b03813581169160200135166112c6565b6102fc6004803603604081101561078857600080fd5b506001600160a01b03813516906020013515156112f4565b6102fc600480360360208110156107b657600080fd5b50356001600160a01b031661139f565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108755780601f1061084a57610100808354040283529160200191610875565b820191906000526020600020905b81548152906001019060200180831161085857829003601f168201915b505050505090505b90565b600061088b826113f2565b6108c65760405162461bcd60e51b815260040180806020018281038252602c815260200180612117602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006108ed82610c4b565b9050806001600160a01b0316836001600160a01b031614156109405760405162461bcd60e51b815260040180806020018281038252602181526020018061218c6021913960400191505060405180910390fd5b806001600160a01b031661095261140f565b6001600160a01b0316148061097357506109738161096e61140f565b6112c6565b6109ae5760405162461bcd60e51b815260040180806020018281038252603881526020018061208c6038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000908152600f602052604090205460ff1690565b6000610a2b600d611413565b905090565b610a38610ecf565b610a77576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b600c8054821515600160a01b810260ff60a01b199092169190911790915560408051918252517f4e4481dd7d6c201a938b073a8e6d0bf6049b4650ccccb551a569f8952b3a619d9181900360200190a150565b610adb610ad561140f565b82611417565b610b165760405162461bcd60e51b81526004018080602001828103825260318152602001806121d26031913960400191505060405180910390fd5b610b218383836114bb565b505050565b6000610b3183610dc7565b8210610b6e5760405162461bcd60e51b815260040180806020018281038252602b815260200180611fb9602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110610b9257fe5b9060005260206000200154905092915050565b610b2183838360405180602001604052806000815250611076565b600f6020526000908152604090205460ff1681565b6000610bdf610a1f565b8210610c1c5760405162461bcd60e51b815260040180806020018281038252602c815260200180612203602c913960400191505060405180910390fd5b60078281548110610c2957fe5b90600052602060002001549050919050565b600c54600160a01b900460ff1681565b6000818152600160205260408120546001600160a01b031680610c9f5760405162461bcd60e51b81526004018080602001828103825260298152602001806120ee6029913960400191505060405180910390fd5b92915050565b336000818152600e602052604081205490919060ff161515600114610cfb5760405162461bcd60e51b81526004018080602001828103825260258152602001806121ad6025913960400191505060405180910390fd5b610d05600d611529565b6000610d11600d611413565b9050610d1d8582611532565b6000818152600f6020908152604091829020805460ff881660ff19909116811790915582518481526001600160a01b038916928101929092528183015290517f744cb89558ec4ee09b72e12653d39358efd6502ba095d3f6e03c71c2575c91739181900360600190a1949350505050565b6040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f81525081565b60006001600160a01b038216610e0e5760405162461bcd60e51b815260040180806020018281038252602a8152602001806120c4602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610c9f90611413565b610e37610ecf565b610e76576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80546001600160a01b0319169055565b600c546001600160a01b031690565b600c546000906001600160a01b0316610ee661140f565b6001600160a01b031614905090565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108755780601f1061084a57610100808354040283529160200191610875565b610f5e61140f565b6001600160a01b0316826001600160a01b03161415610fc4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060046000610fd161140f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561101561140f565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b600e6020526000908152604090205460ff1681565b600d5481565b61108761108161140f565b83611417565b6110c25760405162461bcd60e51b81526004018080602001828103825260318152602001806121d26031913960400191505060405180910390fd5b6110ce84848484611553565b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f815250611115306115a5565b61111e8461174b565b6040516020018084805190602001908083835b602083106111505780518252601f199092019160209182019101611131565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106111985780518252601f199092019160209182019101611179565b6001836020036101000a03801982511681845116808217855250505050505090500180602f60f81b81525060010182805190602001908083835b602083106111f15780518252601f1990920191602091820191016111d2565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040529050919050565b336000818152600e602052604090205460ff1615156001146112815760405162461bcd60e51b81526004018080602001828103825260258152602001806121ad6025913960400191505060405180910390fd5b60005b83518110156110ce576112bd84828151811061129c57fe5b60200260200101518483815181106112b057fe5b6020026020010151610ca5565b50600101611284565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6112fc610ecf565b61133b576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b6113a7610ecf565b6113e6576040805162461bcd60e51b81526020600482018190526024820152600080516020612143833981519152604482015290519081900360640190fd5b6113ef8161180f565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b5490565b6000611422826113f2565b61145d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612060602c913960400191505060405180910390fd5b600061146883610c4b565b9050806001600160a01b0316846001600160a01b031614806114a35750836001600160a01b031661149884610880565b6001600160a01b0316145b806114b357506114b381856112c6565b949350505050565b600c54600160a01b900460ff16151560011461151e576040805162461bcd60e51b815260206004820152601f60248201527f47656e657269632041737365743a206e6f7420796574207472616461626c6500604482015290519081900360640190fd5b610b218383836118b0565b80546001019055565b61153c82826118cf565b6115468282611a00565b61154f81611a3e565b5050565b61155e8484846114bb565b61156a84848484611a82565b6110ce5760405162461bcd60e51b8152600401808060200182810382526032815260200180611fe46032913960400191505060405180910390fd5b60408051602a80825260608281019093526001600160a01b038416918391602082018180388339019050509050600360fc1b816000815181106115e457fe5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061160d57fe5b60200101906001600160f81b031916908160001a90535060005b6014811015611743576040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b81525060048483600c016020811061166a57fe5b1a60f81b6001600160f81b031916901c60f81c60ff168151811061168a57fe5b602001015160f81c60f81b8282600202600201815181106116a757fe5b60200101906001600160f81b031916908160001a9053506040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b8152508382600c01602081106116f657fe5b825191901a600f1690811061170757fe5b602001015160f81c60f81b82826002026003018151811061172457fe5b60200101906001600160f81b031916908160001a905350600101611627565b509392505050565b60608161177057506040805180820190915260018152600360fc1b60208201526107e4565b8160005b811561178857600101600a82049150611774565b6060816040519080825280601f01601f1916602001820160405280156117b5576020820181803883390190505b50859350905060001982015b831561180657600a840660300160f81b828280600190039350815181106117e457fe5b60200101906001600160f81b031916908160001a905350600a840493506117c1565b50949350505050565b6001600160a01b0381166118545760405162461bcd60e51b81526004018080602001828103825260268152602001806120166026913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6118bb838383611bd9565b6118c58382611d1d565b610b218282611a00565b6001600160a01b03821661192a576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611933816113f2565b15611985576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558352600390915290206119c490611529565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b6000611a96846001600160a01b0316611e12565b611aa2575060016114b3565b6000846001600160a01b031663150b7a02611abb61140f565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611b40578181015183820152602001611b28565b50505050905090810190601f168015611b6d5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611b8f57600080fd5b505af1158015611ba3573d6000803e3d6000fd5b505050506040513d6020811015611bb957600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b826001600160a01b0316611bec82610c4b565b6001600160a01b031614611c315760405162461bcd60e51b81526004018080602001828103825260298152602001806121636029913960400191505060405180910390fd5b6001600160a01b038216611c765760405162461bcd60e51b815260040180806020018281038252602481526020018061203c6024913960400191505060405180910390fd5b611c7f81611e49565b6001600160a01b0383166000908152600360205260409020611ca090611e84565b6001600160a01b0382166000908152600360205260409020611cc190611529565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054611d4790600163ffffffff611e9b16565b600083815260066020526040902054909150808214611de2576001600160a01b0384166000908152600560205260408120805484908110611d8457fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611dc257fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490611e0b906000198301611f7b565b5050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114b35750141592915050565b6000818152600260205260409020546001600160a01b0316156113ef57600090815260026020526040902080546001600160a01b0319169055565b8054611e9790600163ffffffff611e9b16565b9055565b6000611edd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ee4565b9392505050565b60008184841115611f735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f38578181015183820152602001611f20565b50505050905090810190601f168015611f655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b815481835581811115610b2157600083815260209020610b2191810190830161087d91905b80821115611fb45760008155600101611fa0565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e657247656e657269632041737365743a206e6f7420616e20617070726f766564206d696e7465724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a72315820ca2998682f33e288792403f7f105b8861ad4cd98381ec7b4db9c518672aea86364736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001147553a204879647261205472696e6b6574000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000847553a4859445241000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): GU: Hydra Trinket
Arg [1] : _ticker (string): GU:HYDRA
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 47553a204879647261205472696e6b6574000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 47553a4859445241000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
47350:1704:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47350:1704:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13356:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13356:135:0;-1:-1:-1;;;;;;13356:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;39276:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39276:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18088:204;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18088:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;18088:204:0;;;;;;;;;;;;;;17370:425;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17370:425:0;;;;;;;;:::i;:::-;;48884:167;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48884:167:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;47209:134;;;:::i;:::-;;;;;;;;;;;;;;;;45913:192;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45913:192:0;;;;:::i;19771:292::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19771:292:0;;;;;;;;;;;;;;;;;:::i;30865:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30865:232:0;;;;;;;;:::i;20725:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20725:134:0;;;;;;;;;;;;;;;;;:::i;47397:46::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47397:46:0;;:::i;31698:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31698:199:0;;:::i;44590:22::-;;;:::i;16711:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16711:228:0;;:::i;48348:404::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48348:404:0;;-1:-1:-1;;;;;48348:404:0;;;;;;;;:::i;44720:67::-;;;:::i;16274:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16274:211:0;-1:-1:-1;;;;;16274:211:0;;:::i;42479:140::-;;;:::i;41668:79::-;;;:::i;42034:94::-;;;:::i;39476:89::-;;;:::i;18593:254::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18593:254:0;;;;;;;;;;:::i;44663:48::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44663:48:0;-1:-1:-1;;;;;44663:48:0;;:::i;44621:33::-;;;:::i;21596:272::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;21596:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;21596:272:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;21596:272: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;21596:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;21596:272:0;;-1:-1:-1;21596:272:0;;-1:-1:-1;;;;;21596:272:0:i;46886:315::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46886:315:0;;:::i;47923:252::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;47923:252:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;47923:252:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47923:252:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;47923:252:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;47923:252:0;;;;;;;;-1:-1:-1;47923:252:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;47923:252:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47923:252:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;47923:252:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;47923:252:0;;-1:-1:-1;47923:252:0;;-1:-1:-1;;;;;47923:252:0:i;19177:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19177:147:0;;;;;;;;;;:::i;45529:230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;45529:230:0;;;;;;;;;;:::i;42774:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42774:109:0;-1:-1:-1;;;;;42774:109:0;;:::i;13356:135::-;-1:-1:-1;;;;;;13450:33:0;;13426:4;13450:33;;;;;;;;;;;;;13356:135;;;;:::o;39276:85::-;39348:5;39341:12;;;;;;;;-1:-1:-1;;39341:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39315:13;;39341:12;;39348:5;;39341:12;;39348:5;39341:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39276:85;;:::o;18088:204::-;18147:7;18175:16;18183:7;18175;:16::i;:::-;18167:73;;;;-1:-1:-1;;;18167:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18260:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;18260:24:0;;18088:204::o;17370:425::-;17434:13;17450:16;17458:7;17450;:16::i;:::-;17434:32;;17491:5;-1:-1:-1;;;;;17485:11:0;:2;-1:-1:-1;;;;;17485:11:0;;;17477:57;;;;-1:-1:-1;;;17477:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17571:5;-1:-1:-1;;;;;17555:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;17555:21:0;;:62;;;;17580:37;17597:5;17604:12;:10;:12::i;:::-;17580:16;:37::i;:::-;17547:154;;;;-1:-1:-1;;;17547:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17714:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;17714:29:0;-1:-1:-1;;;;;17714:29:0;;;;;;;;;17759:28;;17714:24;;17759:28;;;;;;;17370:425;;;:::o;48884:167::-;48991:5;49021:22;;;:12;:22;;;;;;;;;48884:167::o;47209:134::-;47283:7;47316:19;:9;:17;:19::i;:::-;47309:26;;47209:134;:::o;45913:192::-;41880:9;:7;:9::i;:::-;41872:54;;;;;-1:-1:-1;;;41872:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41872:54:0;;;;;;;;;;;;;;;46026:10;:20;;;;;-1:-1:-1;;;46026:20:0;;-1:-1:-1;;;;46026:20:0;;;;;;;;;;46064:33;;;;;;;;;;;;;;;;45913:192;:::o;19771:292::-;19915:41;19934:12;:10;:12::i;:::-;19948:7;19915:18;:41::i;:::-;19907:103;;;;-1:-1:-1;;;19907:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20023:32;20037:4;20043:2;20047:7;20023:13;:32::i;:::-;19771:292;;;:::o;30865:232::-;30945:7;30981:16;30991:5;30981:9;:16::i;:::-;30973:5;:24;30965:80;;;;-1:-1:-1;;;30965:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31063:19:0;;;;;;:12;:19;;;;;:26;;31083:5;;31063:26;;;;;;;;;;;;;;31056:33;;30865:232;;;;:::o;20725:134::-;20812:39;20829:4;20835:2;20839:7;20812:39;;;;;;;;;;;;:16;:39::i;47397:46::-;;;;;;;;;;;;;;;:::o;31698:199::-;31756:7;31792:13;:11;:13::i;:::-;31784:5;:21;31776:78;;;;-1:-1:-1;;;31776:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31872:10;31883:5;31872:17;;;;;;;;;;;;;;;;31865:24;;31698:199;;;:::o;44590:22::-;;;-1:-1:-1;;;44590:22:0;;;;;:::o;16711:228::-;16766:7;16802:20;;;:11;:20;;;;;;-1:-1:-1;;;;;16802:20:0;16841:19;16833:73;;;;-1:-1:-1;;;16833:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16926:5;16711:228;-1:-1:-1;;16711:228:0:o;48348:404::-;48451:10;48481:15;45223:24;;;:15;:24;;;;;;48481:15;;48451:10;45223:24;;:32;;:24;:32;45201:119;;;;-1:-1:-1;;;45201:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48514:21;:9;:19;:21::i;:::-;48548:17;48568:19;:9;:17;:19::i;:::-;48548:39;;48598:21;48604:3;48609:9;48598:5;:21::i;:::-;48630:23;;;;:12;:23;;;;;;;;;:32;;;;;-1:-1:-1;;48630:32:0;;;;;;;;48680:35;;;;;-1:-1:-1;;;;;48680:35:0;;;;;;;;;;;;;;;;;;;;;;;;48735:9;48348:404;-1:-1:-1;;;;48348:404:0:o;44720:67::-;;;;;;;;;;;;;;;;;;;:::o;16274:211::-;16329:7;-1:-1:-1;;;;;16357:19:0;;16349:74;;;;-1:-1:-1;;;16349:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16443:24:0;;;;;;:17;:24;;;;;:34;;:32;:34::i;42479:140::-;41880:9;:7;:9::i;:::-;41872:54;;;;;-1:-1:-1;;;41872:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41872:54:0;;;;;;;;;;;;;;;42562:6;;42541:40;;42578:1;;-1:-1:-1;;;;;42562:6:0;;42541:40;;42578:1;;42541:40;42592:6;:19;;-1:-1:-1;;;;;;42592:19:0;;;42479:140::o;41668:79::-;41733:6;;-1:-1:-1;;;;;41733:6:0;41668:79;:::o;42034:94::-;42114:6;;42074:4;;-1:-1:-1;;;;;42114:6:0;42098:12;:10;:12::i;:::-;-1:-1:-1;;;;;42098:22:0;;42091:29;;42034:94;:::o;39476:89::-;39550:7;39543:14;;;;;;;;-1:-1:-1;;39543:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39517:13;;39543:14;;39550:7;;39543:14;;39550:7;39543:14;;;;;;;;;;;;;;;;;;;;;;;;18593:254;18679:12;:10;:12::i;:::-;-1:-1:-1;;;;;18673:18:0;:2;-1:-1:-1;;;;;18673:18:0;;;18665:56;;;;;-1:-1:-1;;;18665:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18773:8;18734:18;:32;18753:12;:10;:12::i;:::-;-1:-1:-1;;;;;18734:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;18734:32:0;;;:36;;;;;;;;;;;;:47;;-1:-1:-1;;18734:47:0;;;;;;;;;;;18812:12;:10;:12::i;:::-;18797:42;;;;;;;;;;-1:-1:-1;;;;;18797:42:0;;;;;;;;;;;;;;18593:254;;:::o;44663:48::-;;;;;;;;;;;;;;;:::o;44621:33::-;;;;:::o;21596:272::-;21711:41;21730:12;:10;:12::i;:::-;21744:7;21711:18;:41::i;:::-;21703:103;;;;-1:-1:-1;;;21703:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21817:43;21835:4;21841:2;21845:7;21854:5;21817:17;:43::i;:::-;21596:272;;;;:::o;46886:315::-;46991:13;47068:7;;;;;;;;;;;;;;;;;47090:33;47117:4;47090:18;:33::i;:::-;47156:25;47172:8;47156:15;:25::i;:::-;47037:155;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;47037:155:0;;;;;;;;;;-1:-1:-1;47037:155:0;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;47037:155:0;;;;;;;-1:-1:-1;;;47037:155:0;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;47037:155:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;47037:155:0;;;47023:170;;46886:315;;;:::o;47923:252::-;48052:10;45223:24;;;;:15;:24;;;;;;;;:32;;:24;:32;45201:119;;;;-1:-1:-1;;;45201:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48085:6;48080:88;48101:3;:10;48097:1;:14;48080:88;;;48133:23;48138:3;48142:1;48138:6;;;;;;;;;;;;;;48146;48153:1;48146:9;;;;;;;;;;;;;;48133:4;:23::i;:::-;-1:-1:-1;48113:3:0;;48080:88;;19177:147;-1:-1:-1;;;;;19281:25:0;;;19257:4;19281:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;19177:147::o;45529:230::-;41880:9;:7;:9::i;:::-;41872:54;;;;;-1:-1:-1;;;41872:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41872:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45662:24:0;;;;;;:15;:24;;;;;;;;;:34;;-1:-1:-1;;45662:34:0;;;;;;;;;;45714:37;;;;;;;;;;;;;;;;;;;;;45529:230;;:::o;42774:109::-;41880:9;:7;:9::i;:::-;41872:54;;;;;-1:-1:-1;;;41872:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41872:54:0;;;;;;;;;;;;;;;42847:28;42866:8;42847:18;:28::i;:::-;42774:109;:::o;23061:155::-;23118:4;23151:20;;;:11;:20;;;;;;-1:-1:-1;;;;;23151:20:0;23189:19;;;23061:155::o;299:98::-;379:10;299:98;:::o;12303:114::-;12395:14;;12303:114::o;23586:333::-;23671:4;23696:16;23704:7;23696;:16::i;:::-;23688:73;;;;-1:-1:-1;;;23688:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23772:13;23788:16;23796:7;23788;:16::i;:::-;23772:32;;23834:5;-1:-1:-1;;;;;23823:16:0;:7;-1:-1:-1;;;;;23823:16:0;;:51;;;;23867:7;-1:-1:-1;;;;;23843:31:0;:20;23855:7;23843:11;:20::i;:::-;-1:-1:-1;;;;;23843:31:0;;23823:51;:87;;;;23878:32;23895:5;23902:7;23878:16;:32::i;:::-;23815:96;23586:333;-1:-1:-1;;;;23586:333:0:o;46447:294::-;46605:10;;-1:-1:-1;;;46605:10:0;;;;:18;;46619:4;46605:18;46583:99;;;;;-1:-1:-1;;;46583:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46695:38;46715:4;46721:2;46725:7;46695:19;:38::i;12425:91::-;12489:19;;12507:1;12489:19;;;12425:91::o;32791:202::-;32855:24;32867:2;32871:7;32855:11;:24::i;:::-;32892:40;32920:2;32924:7;32892:27;:40::i;:::-;32945;32977:7;32945:31;:40::i;:::-;32791:202;;:::o;22587:272::-;22697:32;22711:4;22717:2;22721:7;22697:13;:32::i;:::-;22748:48;22771:4;22777:2;22781:7;22790:5;22748:22;:48::i;:::-;22740:111;;;;-1:-1:-1;;;22740:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44086:441;44239:13;;;44249:2;44239:13;;;44144;44239;;;;;;-1:-1:-1;;;;;44194:14:0;;;44144:13;;44239;;;21:6:-1;;104:10;44239:13:0;87:34:-1;135:17;;-1:-1;44239:13:0;44220:32;;-1:-1:-1;;;44263:3:0;44267:1;44263:6;;;;;;;;;;;:12;-1:-1:-1;;;;;44263:12:0;;;;;;;;;-1:-1:-1;;;44286:3:0;44290:1;44286:6;;;;;;;;;;;:12;-1:-1:-1;;;;;44286:12:0;;;;;;;;-1:-1:-1;44314:6:0;44309:182;44330:2;44326:1;:6;44309:182;;;44367:8;;;;;;;;;;;;;-1:-1:-1;;;44367:8:0;;;44404:1;44387:5;44393:1;44397:2;44393:6;44387:13;;;;;;;;;;-1:-1:-1;;;;;44387:18:0;;;;44381:25;;44376:31;;44367:41;;;;;;;;;;;;;;;;44354:3;44360:1;44362;44360:3;44358:1;:5;44354:10;;;;;;;;;;;:54;-1:-1:-1;;;;;44354:54:0;;;;;;;;;44436:8;;;;;;;;;;;;;-1:-1:-1;;;44436:8:0;;;44456:5;44462:1;44466:2;44462:6;44456:13;;;;;;;44436:43;;44456:13;;;44472:4;44450:27;;44436:43;;;;;;;;;;;;;;44423:3;44429:1;44431;44429:3;44427:1;:5;44423:10;;;;;;;;;;;:56;-1:-1:-1;;;;;44423:56:0;;;;;;;;-1:-1:-1;44334:3:0;;44309:182;;;-1:-1:-1;44515:3:0;44086:441;-1:-1:-1;;;44086:441:0:o;43472:553::-;43528:13;43558:10;43554:53;;-1:-1:-1;43585:10:0;;;;;;;;;;;;-1:-1:-1;;;43585:10:0;;;;;;43554:53;43632:5;43617:12;43673:78;43680:9;;43673:78;;43706:8;;43737:2;43729:10;;;;43673:78;;;43761:19;43793:6;43783:17;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;43783:17:0;87:34:-1;135:17;;-1:-1;43783:17:0;-1:-1:-1;43855:5:0;;-1:-1:-1;43761:39:0;-1:-1:-1;;;43827:10:0;;43871:115;43878:9;;43871:115;;43945:2;43938:4;:9;43933:2;:14;43922:27;;43904:6;43911:7;;;;;;;43904:15;;;;;;;;;;;:45;-1:-1:-1;;;;;43904:45:0;;;;;;;;-1:-1:-1;43972:2:0;43964:10;;;;43871:115;;;-1:-1:-1;44010:6:0;43472:553;-1:-1:-1;;;;43472:553:0:o;42989:229::-;-1:-1:-1;;;;;43063:22:0;;43055:73;;;;-1:-1:-1;;;43055:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43165:6;;43144:38;;-1:-1:-1;;;;;43144:38:0;;;;43165:6;;43144:38;;43165:6;;43144:38;43193:6;:17;;-1:-1:-1;;;;;;43193:17:0;-1:-1:-1;;;;;43193:17:0;;;;;;;;;;42989:229::o;32281:245::-;32367:38;32387:4;32393:2;32397:7;32367:19;:38::i;:::-;32418:47;32451:4;32457:7;32418:32;:47::i;:::-;32478:40;32506:2;32510:7;32478:27;:40::i;25671:335::-;-1:-1:-1;;;;;25743:16:0;;25735:61;;;;;-1:-1:-1;;;25735:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25816:16;25824:7;25816;:16::i;:::-;25815:17;25807:58;;;;;-1:-1:-1;;;25807:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25878:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;25878:25:0;-1:-1:-1;;;;;25878:25:0;;;;;;;;25914:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;25965;;25990:7;;-1:-1:-1;;;;;25965:33:0;;;25982:1;;25965:33;;25982:1;;25965:33;25671:335;;:::o;34288:186::-;-1:-1:-1;;;;;34402:16:0;;;;;;;:12;:16;;;;;;;;:23;;34373:26;;;:17;:26;;;;;:52;;;34436:16;;;39:1:-1;23:18;;45:23;;34436:30:0;;;;;;;;34288:186::o;34675:164::-;34779:10;:17;;34752:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;34807:24:0;;;;;;;34675:164::o;28343:358::-;28465:4;28492:15;:2;-1:-1:-1;;;;;28492:13:0;;:15::i;:::-;28487:60;;-1:-1:-1;28531:4:0;28524:11;;28487:60;28559:13;28591:2;-1:-1:-1;;;;;28575:36:0;;28612:12;:10;:12::i;:::-;28626:4;28632:7;28641:5;28575:72;;;;;;;;;;;;;-1:-1:-1;;;;;28575:72:0;-1:-1:-1;;;;;28575:72:0;;;;;;-1:-1:-1;;;;;28575:72:0;-1:-1:-1;;;;;28575:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;28575:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28575:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28575:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28575:72:0;-1:-1:-1;;;;;;28666:26:0;-1:-1:-1;;;28666:26:0;;-1:-1:-1;;28343:358:0;;;;;;:::o;27282:459::-;27396:4;-1:-1:-1;;;;;27376:24:0;:16;27384:7;27376;:16::i;:::-;-1:-1:-1;;;;;27376:24:0;;27368:78;;;;-1:-1:-1;;;27368:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27465:16:0;;27457:65;;;;-1:-1:-1;;;27457:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27535:23;27550:7;27535:14;:23::i;:::-;-1:-1:-1;;;;;27571:23:0;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;27617:21:0;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;27663:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;27663:25:0;-1:-1:-1;;;;;27663:25:0;;;;;;;;;27706:27;;27663:20;;27706:27;;;;;;;27282:459;;;:::o;35466:1148::-;-1:-1:-1;;;;;35757:18:0;;35732:22;35757:18;;;:12;:18;;;;;:25;:32;;35787:1;35757:32;:29;:32;:::i;:::-;35800:18;35821:26;;;:17;:26;;;;;;35732:57;;-1:-1:-1;35954:28:0;;;35950:328;;-1:-1:-1;;;;;36021:18:0;;35999:19;36021:18;;;:12;:18;;;;;:34;;36040:14;;36021:34;;;;;;;;;;;;;;35999:56;;36105:11;36072:12;:18;36085:4;-1:-1:-1;;;;;36072:18:0;-1:-1:-1;;;;;36072:18:0;;;;;;;;;;;;36091:10;36072:30;;;;;;;;;;;;;;;;;;;:44;;;;36189:30;;;:17;:30;;;;;:43;;;35950:328;-1:-1:-1;;;;;36367:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;36367:27:0;;;:::i;:::-;;35466:1148;;;;:::o;9348:810::-;9408:4;10067:20;;9910:66;10107:15;;;;;:42;;-1:-1:-1;10126:23:0;;;10099:51;-1:-1:-1;;9348:810:0:o;28869:175::-;28969:1;28933:24;;;:15;:24;;;;;;-1:-1:-1;;;;;28933:24:0;:38;28929:108;;29023:1;28988:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;28988:37:0;;;28869:175::o;12524:110::-;12605:14;;:21;;12624:1;12605:21;:18;:21;:::i;:::-;12588:38;;12524:110::o;4731:136::-;4789:7;4816:43;4820:1;4823;4816:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4809:50;4731:136;-1:-1:-1;;;4731:136:0:o;5204:192::-;5290:7;5326:12;5318:6;;;;5310:29;;;;-1:-1:-1;;;5310:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5310:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5362:5:0;;;5204:192::o;47350:1704::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://ca2998682f33e288792403f7f105b8861ad4cd98381ec7b4db9c518672aea863
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.