ERC-721
NFT
Overview
Max Total Supply
500 GU:BLACKSTAR
Holders
251
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GU:BLACKSTARLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xfE707AbA...3B626678F The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RaffleItem
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 RaffleItem is GenericAsset { event RaffleItemMinted( uint256 tokenId, address owner ); constructor( string memory _name, string memory _ticker ) GenericAsset(_name, _ticker) public { setMinterStatus(msg.sender, true); } /** * @dev Mint multiple items * * @param _to The owners to receive the assets */ function mintMultiple( address[] memory _to ) public onlyMinters(msg.sender) { for (uint i = 0; i < _to.length; i++) { mint(_to[i]); } } /** * @dev Mint a single item * * @param _to The owner to receive the asset */ function mint( address _to ) public onlyMinters(msg.sender) returns (uint256 tokenId) { _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(_to, newItemId); emit RaffleItemMinted(newItemId, _to); return newItemId; } }
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":[],"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":"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"}],"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[]"}],"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":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"RaffleItemMinted","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
60806040523480156200001157600080fd5b50604051620026df380380620026df833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040525083915082905081818181620001db7f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b6200020f7f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b620002437f780e9d63000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b81516200025890600990602085019062000522565b5080516200026e90600a90602084019062000522565b50620002a37f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b036200033a16565b50505050620002b76200040960201b60201c565b600c80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620003193360016001600160e01b036200040e16565b506200033290503360016001600160e01b036200040e16565b5050620005c4565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620003cc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b335b90565b620004216001600160e01b03620004f116565b6200048d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b600c546000906001600160a01b0316620005136001600160e01b036200040916565b6001600160a01b031614905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200056557805160ff191683800117855562000595565b8280016001018555821562000595579182015b828111156200059557825182559160200191906001019062000578565b50620005a3929150620005a7565b5090565b6200040b91905b80821115620005a35760008155600101620005ae565b61210b80620005d46000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063aa46a40011610097578063d0c79e2e11610071578063d0c79e2e146105ae578063e985e9c514610651578063f00c298d1461067f578063f2fde38b146106ad576101c4565b8063aa46a400146104c3578063b88d4fde146104cb578063c87b56dd14610591576101c4565b80638f32d59b116100d35780638f32d59b1461045f57806395d89b4114610467578063a22cb4651461046f578063a8b5e6ea1461049d576101c4565b806370a0823114610429578063715018a61461044f5780638da5cb5b14610457576101c4565b80632f745c59116101665780635074449d116101405780635074449d146103d65780636352211e146103de5780636a627842146103fb5780636c0360eb14610421576101c4565b80632f745c591461035757806342842e0e146103835780634f6ccce7146103b9576101c4565b8063095ea7b3116101a2578063095ea7b3146102ba57806318160ddd146102e85780631b231f421461030257806323b872dd14610321576101c4565b806301ffc9a7146101c957806306fdde0314610204578063081812fc14610281575b600080fd5b6101f0600480360360208110156101df57600080fd5b50356001600160e01b0319166106d3565b604080519115158252519081900360200190f35b61020c6106f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024657818101518382015260200161022e565b50505050905090810190601f1680156102735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029e6004803603602081101561029757600080fd5b503561078d565b604080516001600160a01b039092168252519081900360200190f35b6102e6600480360360408110156102d057600080fd5b506001600160a01b0381351690602001356107ef565b005b6102f0610917565b60408051918252519081900360200190f35b6102e66004803603602081101561031857600080fd5b50351515610928565b6102e66004803603606081101561033757600080fd5b506001600160a01b038135811691602081013590911690604001356109c2565b6102f06004803603604081101561036d57600080fd5b506001600160a01b038135169060200135610a1e565b6102e66004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610a9d565b6102f0600480360360208110156103cf57600080fd5b5035610ab8565b6101f0610b1e565b61029e600480360360208110156103f457600080fd5b5035610b2e565b6102f06004803603602081101561041157600080fd5b50356001600160a01b0316610b88565b61020c610c4a565b6102f06004803603602081101561043f57600080fd5b50356001600160a01b0316610c83565b6102e6610ceb565b61029e610d7c565b6101f0610d8b565b61020c610db1565b6102e66004803603604081101561048557600080fd5b506001600160a01b0381351690602001351515610e12565b6101f0600480360360208110156104b357600080fd5b50356001600160a01b0316610f17565b6102f0610f2c565b6102e6600480360360808110156104e157600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561051c57600080fd5b82018360208201111561052e57600080fd5b8035906020019184600183028401116401000000008311171561055057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f32945050505050565b61020c600480360360208110156105a757600080fd5b5035610f90565b6102e6600480360360208110156105c457600080fd5b8101906020810181356401000000008111156105df57600080fd5b8201836020820111156105f157600080fd5b8035906020019184602083028401116401000000008311171561061357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110ea945050505050565b6101f06004803603604081101561066757600080fd5b506001600160a01b038135811691602001351661116e565b6102e66004803603604081101561069557600080fd5b506001600160a01b038135169060200135151561119c565b6102e6600480360360208110156106c357600080fd5b50356001600160a01b0316611247565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b505050505090505b90565b60006107988261129a565b6107d35760405162461bcd60e51b815260040180806020018281038252602c815260200180611fbf602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006107fa82610b2e565b9050806001600160a01b0316836001600160a01b0316141561084d5760405162461bcd60e51b81526004018080602001828103825260218152602001806120346021913960400191505060405180910390fd5b806001600160a01b031661085f6112b7565b6001600160a01b0316148061088057506108808161087b6112b7565b61116e565b6108bb5760405162461bcd60e51b8152600401808060200182810382526038815260200180611f346038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610923600d6112bb565b905090565b610930610d8b565b61096f576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b600c8054821515600160a01b810260ff60a01b199092169190911790915560408051918252517f4e4481dd7d6c201a938b073a8e6d0bf6049b4650ccccb551a569f8952b3a619d9181900360200190a150565b6109d36109cd6112b7565b826112bf565b610a0e5760405162461bcd60e51b815260040180806020018281038252603181526020018061207a6031913960400191505060405180910390fd5b610a19838383611363565b505050565b6000610a2983610c83565b8210610a665760405162461bcd60e51b815260040180806020018281038252602b815260200180611e61602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110610a8a57fe5b9060005260206000200154905092915050565b610a1983838360405180602001604052806000815250610f32565b6000610ac2610917565b8210610aff5760405162461bcd60e51b815260040180806020018281038252602c8152602001806120ab602c913960400191505060405180910390fd5b60078281548110610b0c57fe5b90600052602060002001549050919050565b600c54600160a01b900460ff1681565b6000818152600160205260408120546001600160a01b031680610b825760405162461bcd60e51b8152600401808060200182810382526029815260200180611f966029913960400191505060405180910390fd5b92915050565b336000818152600e602052604081205490919060ff161515600114610bde5760405162461bcd60e51b81526004018080602001828103825260258152602001806120556025913960400191505060405180910390fd5b610be8600d6113d1565b6000610bf4600d6112bb565b9050610c0084826113da565b604080518281526001600160a01b038616602082015281517fbe613abff508e5bf9f2fd2bcdb7121c55384e892357822c86cd01fedb3cc68f4929181900390910190a19392505050565b6040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f81525081565b60006001600160a01b038216610cca5760405162461bcd60e51b815260040180806020018281038252602a815260200180611f6c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610b82906112bb565b610cf3610d8b565b610d32576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80546001600160a01b0319169055565b600c546001600160a01b031690565b600c546000906001600160a01b0316610da26112b7565b6001600160a01b031614905090565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107825780601f1061075757610100808354040283529160200191610782565b610e1a6112b7565b6001600160a01b0316826001600160a01b03161415610e80576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060046000610e8d6112b7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ed16112b7565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b600e6020526000908152604090205460ff1681565b600d5481565b610f43610f3d6112b7565b836112bf565b610f7e5760405162461bcd60e51b815260040180806020018281038252603181526020018061207a6031913960400191505060405180910390fd5b610f8a848484846113fb565b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f815250610fd13061144d565b610fda846115f3565b6040516020018084805190602001908083835b6020831061100c5780518252601f199092019160209182019101610fed565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106110545780518252601f199092019160209182019101611035565b6001836020036101000a03801982511681845116808217855250505050505090500180602f60f81b81525060010182805190602001908083835b602083106110ad5780518252601f19909201916020918201910161108e565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040529050919050565b336000818152600e602052604090205460ff16151560011461113d5760405162461bcd60e51b81526004018080602001828103825260258152602001806120556025913960400191505060405180910390fd5b60005b8251811015610a195761116583828151811061115857fe5b6020026020010151610b88565b50600101611140565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111a4610d8b565b6111e3576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b61124f610d8b565b61128e576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b611297816116b7565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b5490565b60006112ca8261129a565b6113055760405162461bcd60e51b815260040180806020018281038252602c815260200180611f08602c913960400191505060405180910390fd5b600061131083610b2e565b9050806001600160a01b0316846001600160a01b0316148061134b5750836001600160a01b03166113408461078d565b6001600160a01b0316145b8061135b575061135b818561116e565b949350505050565b600c54600160a01b900460ff1615156001146113c6576040805162461bcd60e51b815260206004820152601f60248201527f47656e657269632041737365743a206e6f7420796574207472616461626c6500604482015290519081900360640190fd5b610a19838383611758565b80546001019055565b6113e48282611777565b6113ee82826118a8565b6113f7816118e6565b5050565b611406848484611363565b6114128484848461192a565b610f8a5760405162461bcd60e51b8152600401808060200182810382526032815260200180611e8c6032913960400191505060405180910390fd5b60408051602a80825260608281019093526001600160a01b038416918391602082018180388339019050509050600360fc1b8160008151811061148c57fe5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106114b557fe5b60200101906001600160f81b031916908160001a90535060005b60148110156115eb576040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b81525060048483600c016020811061151257fe5b1a60f81b6001600160f81b031916901c60f81c60ff168151811061153257fe5b602001015160f81c60f81b82826002026002018151811061154f57fe5b60200101906001600160f81b031916908160001a9053506040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b8152508382600c016020811061159e57fe5b825191901a600f169081106115af57fe5b602001015160f81c60f81b8282600202600301815181106115cc57fe5b60200101906001600160f81b031916908160001a9053506001016114cf565b509392505050565b60608161161857506040805180820190915260018152600360fc1b60208201526106f1565b8160005b811561163057600101600a8204915061161c565b6060816040519080825280601f01601f19166020018201604052801561165d576020820181803883390190505b50859350905060001982015b83156116ae57600a840660300160f81b8282806001900393508151811061168c57fe5b60200101906001600160f81b031916908160001a905350600a84049350611669565b50949350505050565b6001600160a01b0381166116fc5760405162461bcd60e51b8152600401808060200182810382526026815260200180611ebe6026913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b611763838383611a81565b61176d8382611bc5565b610a1982826118a8565b6001600160a01b0382166117d2576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6117db8161129a565b1561182d576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061186c906113d1565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b600061193e846001600160a01b0316611cba565b61194a5750600161135b565b6000846001600160a01b031663150b7a026119636112b7565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156119e85781810151838201526020016119d0565b50505050905090810190601f168015611a155780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611a3757600080fd5b505af1158015611a4b573d6000803e3d6000fd5b505050506040513d6020811015611a6157600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b826001600160a01b0316611a9482610b2e565b6001600160a01b031614611ad95760405162461bcd60e51b815260040180806020018281038252602981526020018061200b6029913960400191505060405180910390fd5b6001600160a01b038216611b1e5760405162461bcd60e51b8152600401808060200182810382526024815260200180611ee46024913960400191505060405180910390fd5b611b2781611cf1565b6001600160a01b0383166000908152600360205260409020611b4890611d2c565b6001600160a01b0382166000908152600360205260409020611b69906113d1565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054611bef90600163ffffffff611d4316565b600083815260066020526040902054909150808214611c8a576001600160a01b0384166000908152600560205260408120805484908110611c2c57fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611c6a57fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490611cb3906000198301611e23565b5050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061135b5750141592915050565b6000818152600260205260409020546001600160a01b03161561129757600090815260026020526040902080546001600160a01b0319169055565b8054611d3f90600163ffffffff611d4316565b9055565b6000611d8583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d8c565b9392505050565b60008184841115611e1b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611de0578181015183820152602001611dc8565b50505050905090810190601f168015611e0d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b815481835581811115610a1957600083815260209020610a1991810190830161078a91905b80821115611e5c5760008155600101611e48565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e657247656e657269632041737365743a206e6f7420616e20617070726f766564206d696e7465724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a7231582093ffb8637842c8617c11651c0a94e3aacef9e6182ced3dc22f55bc145bae452964736f6c634300050b003200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001347553a20526f79616c2043617264204261636b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001047553a524f59414c434152444241434b00000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063aa46a40011610097578063d0c79e2e11610071578063d0c79e2e146105ae578063e985e9c514610651578063f00c298d1461067f578063f2fde38b146106ad576101c4565b8063aa46a400146104c3578063b88d4fde146104cb578063c87b56dd14610591576101c4565b80638f32d59b116100d35780638f32d59b1461045f57806395d89b4114610467578063a22cb4651461046f578063a8b5e6ea1461049d576101c4565b806370a0823114610429578063715018a61461044f5780638da5cb5b14610457576101c4565b80632f745c59116101665780635074449d116101405780635074449d146103d65780636352211e146103de5780636a627842146103fb5780636c0360eb14610421576101c4565b80632f745c591461035757806342842e0e146103835780634f6ccce7146103b9576101c4565b8063095ea7b3116101a2578063095ea7b3146102ba57806318160ddd146102e85780631b231f421461030257806323b872dd14610321576101c4565b806301ffc9a7146101c957806306fdde0314610204578063081812fc14610281575b600080fd5b6101f0600480360360208110156101df57600080fd5b50356001600160e01b0319166106d3565b604080519115158252519081900360200190f35b61020c6106f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024657818101518382015260200161022e565b50505050905090810190601f1680156102735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029e6004803603602081101561029757600080fd5b503561078d565b604080516001600160a01b039092168252519081900360200190f35b6102e6600480360360408110156102d057600080fd5b506001600160a01b0381351690602001356107ef565b005b6102f0610917565b60408051918252519081900360200190f35b6102e66004803603602081101561031857600080fd5b50351515610928565b6102e66004803603606081101561033757600080fd5b506001600160a01b038135811691602081013590911690604001356109c2565b6102f06004803603604081101561036d57600080fd5b506001600160a01b038135169060200135610a1e565b6102e66004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610a9d565b6102f0600480360360208110156103cf57600080fd5b5035610ab8565b6101f0610b1e565b61029e600480360360208110156103f457600080fd5b5035610b2e565b6102f06004803603602081101561041157600080fd5b50356001600160a01b0316610b88565b61020c610c4a565b6102f06004803603602081101561043f57600080fd5b50356001600160a01b0316610c83565b6102e6610ceb565b61029e610d7c565b6101f0610d8b565b61020c610db1565b6102e66004803603604081101561048557600080fd5b506001600160a01b0381351690602001351515610e12565b6101f0600480360360208110156104b357600080fd5b50356001600160a01b0316610f17565b6102f0610f2c565b6102e6600480360360808110156104e157600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561051c57600080fd5b82018360208201111561052e57600080fd5b8035906020019184600183028401116401000000008311171561055057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f32945050505050565b61020c600480360360208110156105a757600080fd5b5035610f90565b6102e6600480360360208110156105c457600080fd5b8101906020810181356401000000008111156105df57600080fd5b8201836020820111156105f157600080fd5b8035906020019184602083028401116401000000008311171561061357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110ea945050505050565b6101f06004803603604081101561066757600080fd5b506001600160a01b038135811691602001351661116e565b6102e66004803603604081101561069557600080fd5b506001600160a01b038135169060200135151561119c565b6102e6600480360360208110156106c357600080fd5b50356001600160a01b0316611247565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b505050505090505b90565b60006107988261129a565b6107d35760405162461bcd60e51b815260040180806020018281038252602c815260200180611fbf602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006107fa82610b2e565b9050806001600160a01b0316836001600160a01b0316141561084d5760405162461bcd60e51b81526004018080602001828103825260218152602001806120346021913960400191505060405180910390fd5b806001600160a01b031661085f6112b7565b6001600160a01b0316148061088057506108808161087b6112b7565b61116e565b6108bb5760405162461bcd60e51b8152600401808060200182810382526038815260200180611f346038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610923600d6112bb565b905090565b610930610d8b565b61096f576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b600c8054821515600160a01b810260ff60a01b199092169190911790915560408051918252517f4e4481dd7d6c201a938b073a8e6d0bf6049b4650ccccb551a569f8952b3a619d9181900360200190a150565b6109d36109cd6112b7565b826112bf565b610a0e5760405162461bcd60e51b815260040180806020018281038252603181526020018061207a6031913960400191505060405180910390fd5b610a19838383611363565b505050565b6000610a2983610c83565b8210610a665760405162461bcd60e51b815260040180806020018281038252602b815260200180611e61602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110610a8a57fe5b9060005260206000200154905092915050565b610a1983838360405180602001604052806000815250610f32565b6000610ac2610917565b8210610aff5760405162461bcd60e51b815260040180806020018281038252602c8152602001806120ab602c913960400191505060405180910390fd5b60078281548110610b0c57fe5b90600052602060002001549050919050565b600c54600160a01b900460ff1681565b6000818152600160205260408120546001600160a01b031680610b825760405162461bcd60e51b8152600401808060200182810382526029815260200180611f966029913960400191505060405180910390fd5b92915050565b336000818152600e602052604081205490919060ff161515600114610bde5760405162461bcd60e51b81526004018080602001828103825260258152602001806120556025913960400191505060405180910390fd5b610be8600d6113d1565b6000610bf4600d6112bb565b9050610c0084826113da565b604080518281526001600160a01b038616602082015281517fbe613abff508e5bf9f2fd2bcdb7121c55384e892357822c86cd01fedb3cc68f4929181900390910190a19392505050565b6040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f81525081565b60006001600160a01b038216610cca5760405162461bcd60e51b815260040180806020018281038252602a815260200180611f6c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600360205260409020610b82906112bb565b610cf3610d8b565b610d32576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b600c546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80546001600160a01b0319169055565b600c546001600160a01b031690565b600c546000906001600160a01b0316610da26112b7565b6001600160a01b031614905090565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107825780601f1061075757610100808354040283529160200191610782565b610e1a6112b7565b6001600160a01b0316826001600160a01b03161415610e80576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060046000610e8d6112b7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ed16112b7565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b600e6020526000908152604090205460ff1681565b600d5481565b610f43610f3d6112b7565b836112bf565b610f7e5760405162461bcd60e51b815260040180806020018281038252603181526020018061207a6031913960400191505060405180910390fd5b610f8a848484846113fb565b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f6170692e696d6d757461626c652e636f6d2f61737365742f815250610fd13061144d565b610fda846115f3565b6040516020018084805190602001908083835b6020831061100c5780518252601f199092019160209182019101610fed565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106110545780518252601f199092019160209182019101611035565b6001836020036101000a03801982511681845116808217855250505050505090500180602f60f81b81525060010182805190602001908083835b602083106110ad5780518252601f19909201916020918201910161108e565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040529050919050565b336000818152600e602052604090205460ff16151560011461113d5760405162461bcd60e51b81526004018080602001828103825260258152602001806120556025913960400191505060405180910390fd5b60005b8251811015610a195761116583828151811061115857fe5b6020026020010151610b88565b50600101611140565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111a4610d8b565b6111e3576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915582519384529083015280517f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9281900390910190a15050565b61124f610d8b565b61128e576040805162461bcd60e51b81526020600482018190526024820152600080516020611feb833981519152604482015290519081900360640190fd5b611297816116b7565b50565b6000908152600160205260409020546001600160a01b0316151590565b3390565b5490565b60006112ca8261129a565b6113055760405162461bcd60e51b815260040180806020018281038252602c815260200180611f08602c913960400191505060405180910390fd5b600061131083610b2e565b9050806001600160a01b0316846001600160a01b0316148061134b5750836001600160a01b03166113408461078d565b6001600160a01b0316145b8061135b575061135b818561116e565b949350505050565b600c54600160a01b900460ff1615156001146113c6576040805162461bcd60e51b815260206004820152601f60248201527f47656e657269632041737365743a206e6f7420796574207472616461626c6500604482015290519081900360640190fd5b610a19838383611758565b80546001019055565b6113e48282611777565b6113ee82826118a8565b6113f7816118e6565b5050565b611406848484611363565b6114128484848461192a565b610f8a5760405162461bcd60e51b8152600401808060200182810382526032815260200180611e8c6032913960400191505060405180910390fd5b60408051602a80825260608281019093526001600160a01b038416918391602082018180388339019050509050600360fc1b8160008151811061148c57fe5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106114b557fe5b60200101906001600160f81b031916908160001a90535060005b60148110156115eb576040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b81525060048483600c016020811061151257fe5b1a60f81b6001600160f81b031916901c60f81c60ff168151811061153257fe5b602001015160f81c60f81b82826002026002018151811061154f57fe5b60200101906001600160f81b031916908160001a9053506040518060400160405280601081526020016f181899199a1a9b1b9c1cb0b131b232b360811b8152508382600c016020811061159e57fe5b825191901a600f169081106115af57fe5b602001015160f81c60f81b8282600202600301815181106115cc57fe5b60200101906001600160f81b031916908160001a9053506001016114cf565b509392505050565b60608161161857506040805180820190915260018152600360fc1b60208201526106f1565b8160005b811561163057600101600a8204915061161c565b6060816040519080825280601f01601f19166020018201604052801561165d576020820181803883390190505b50859350905060001982015b83156116ae57600a840660300160f81b8282806001900393508151811061168c57fe5b60200101906001600160f81b031916908160001a905350600a84049350611669565b50949350505050565b6001600160a01b0381166116fc5760405162461bcd60e51b8152600401808060200182810382526026815260200180611ebe6026913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b611763838383611a81565b61176d8382611bc5565b610a1982826118a8565b6001600160a01b0382166117d2576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6117db8161129a565b1561182d576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061186c906113d1565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b600061193e846001600160a01b0316611cba565b61194a5750600161135b565b6000846001600160a01b031663150b7a026119636112b7565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156119e85781810151838201526020016119d0565b50505050905090810190601f168015611a155780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611a3757600080fd5b505af1158015611a4b573d6000803e3d6000fd5b505050506040513d6020811015611a6157600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b826001600160a01b0316611a9482610b2e565b6001600160a01b031614611ad95760405162461bcd60e51b815260040180806020018281038252602981526020018061200b6029913960400191505060405180910390fd5b6001600160a01b038216611b1e5760405162461bcd60e51b8152600401808060200182810382526024815260200180611ee46024913960400191505060405180910390fd5b611b2781611cf1565b6001600160a01b0383166000908152600360205260409020611b4890611d2c565b6001600160a01b0382166000908152600360205260409020611b69906113d1565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054611bef90600163ffffffff611d4316565b600083815260066020526040902054909150808214611c8a576001600160a01b0384166000908152600560205260408120805484908110611c2c57fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611c6a57fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490611cb3906000198301611e23565b5050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061135b5750141592915050565b6000818152600260205260409020546001600160a01b03161561129757600090815260026020526040902080546001600160a01b0319169055565b8054611d3f90600163ffffffff611d4316565b9055565b6000611d8583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d8c565b9392505050565b60008184841115611e1b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611de0578181015183820152602001611dc8565b50505050905090810190601f168015611e0d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b815481835581811115610a1957600083815260209020610a1991810190830161078a91905b80821115611e5c5760008155600101611e48565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e657247656e657269632041737365743a206e6f7420616e20617070726f766564206d696e7465724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a7231582093ffb8637842c8617c11651c0a94e3aacef9e6182ced3dc22f55bc145bae452964736f6c634300050b0032
Deployed Bytecode Sourcemap
47350:1109:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47350:1109: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;:::-;;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;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;48121:335::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48121:335:0;-1:-1:-1;;;;;48121:335: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;47796:209::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;47796:209:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;47796:209:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;47796:209: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;47796:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;47796:209:0;;-1:-1:-1;47796:209:0;;-1:-1:-1;;;;;47796:209: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;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;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;48121:335::-;48201:10;48231:15;45223:24;;;:15;:24;;;;;;48231:15;;48201:10;45223:24;;:32;;:24;:32;45201:119;;;;-1:-1:-1;;;45201:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48264:21;:9;:19;:21::i;:::-;48298:17;48318:19;:9;:17;:19::i;:::-;48298:39;;48348:21;48354:3;48359:9;48348:5;:21::i;:::-;48387:32;;;;;;-1:-1:-1;;;;;48387:32:0;;;;;;;;;;;;;;;;;;;48439:9;48121:335;-1:-1:-1;;;48121:335: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;47796:209::-;47893:10;45223:24;;;;:15;:24;;;;;;;;:32;;:24;:32;45201:119;;;;-1:-1:-1;;;45201:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47926:6;47921:77;47942:3;:10;47938:1;:14;47921:77;;;47974:12;47979:3;47983:1;47979:6;;;;;;;;;;;;;;47974:4;:12::i;:::-;-1:-1:-1;47954:3:0;;47921:77;;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:1109::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://93ffb8637842c8617c11651c0a94e3aacef9e6182ced3dc22f55bc145bae4529
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.