ERC-721
Overview
Max Total Supply
223 STKP
Holders
138
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 STKPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
StickerPack
Compiler Version
v0.5.8+commit.23d335f2
Contract Source Code (Solidity Multiple files format)
pragma solidity >=0.5.0 <0.6.0; import "./ERC721Full.sol"; import "./Controlled.sol"; import "./TokenClaimer.sol"; /** * @author Ricardo Guilherme Schmidt (Status Research & Development GmbH) */ contract StickerPack is Controlled, TokenClaimer, ERC721Full("Status Sticker Pack","STKP") { mapping(uint256 => uint256) public tokenPackId; //packId uint256 public tokenCount; //tokens buys /** * @notice controller can generate tokens at will * @param _owner account being included new token * @param _packId pack being minted * @return tokenId created */ function generateToken(address _owner, uint256 _packId) external onlyController returns (uint256 tokenId) { tokenId = tokenCount++; tokenPackId[tokenId] = _packId; _mint(_owner, tokenId); } /** * @notice This method can be used by the controller to extract mistakenly * sent tokens to this contract. * @param _token The address of the token contract that you want to recover * set to 0 in case you want to extract ether. */ function claimTokens(address _token) external onlyController { withdrawBalance(_token, controller); } }
pragma solidity ^0.5.0; /** * @dev Collection of functions related to the address type, */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * > It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } }
pragma solidity >=0.5.0 <0.6.0; contract Controlled { event NewController(address controller); /// @notice The address of the controller is the only address that can call /// a function with this modifier modifier onlyController { require(msg.sender == controller, "Unauthorized"); _; } address payable public controller; constructor() internal { controller = msg.sender; } /// @notice Changes the controller of the contract /// @param _newController The new controller of the contract function changeController(address payable _newController) public onlyController { controller = _newController; emit NewController(_newController); } }
pragma solidity ^0.5.0; import "./SafeMath.sol"; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the SafeMath * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } }
pragma solidity ^0.5.0; import "./IERC165.sol"; /** * @dev Implementation of the `IERC165` interface. * * Contracts may inherit from this and call `_registerInterface` to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See `IERC165.supportsInterface`. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See `IERC165.supportsInterface`. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } }
pragma solidity >=0.5.0 <0.6.0; import "./ERC20Token.sol"; contract ERC20Receiver { event TokenDeposited(address indexed token, address indexed sender, uint256 amount); event TokenWithdrawn(address indexed token, address indexed sender, uint256 amount); mapping (address => mapping(address => uint256)) tokenBalances; constructor() public { } function depositToken( ERC20Token _token ) external { _depositToken( msg.sender, _token, _token.allowance( msg.sender, address(this) ) ); } function withdrawToken( ERC20Token _token, uint256 _amount ) external { _withdrawToken(msg.sender, _token, _amount); } function depositToken( ERC20Token _token, uint256 _amount ) external { require(_token.allowance(msg.sender, address(this)) >= _amount, "Bad argument"); _depositToken(msg.sender, _token, _amount); } function tokenBalanceOf( ERC20Token _token, address _from ) external view returns(uint256 fromTokenBalance) { return tokenBalances[address(_token)][_from]; } function _depositToken( address _from, ERC20Token _token, uint256 _amount ) private { require(_amount > 0, "Bad argument"); if (_token.transferFrom(_from, address(this), _amount)) { tokenBalances[address(_token)][_from] += _amount; emit TokenDeposited(address(_token), _from, _amount); } } function _withdrawToken( address _from, ERC20Token _token, uint256 _amount ) private { require(_amount > 0, "Bad argument"); require(tokenBalances[address(_token)][_from] >= _amount, "Insufficient funds"); tokenBalances[address(_token)][_from] -= _amount; require(_token.transfer(_from, _amount), "Transfer fail"); emit TokenWithdrawn(address(_token), _from, _amount); } }
pragma solidity >=0.5.0 <0.6.0; // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/20 interface ERC20Token { /** * @notice send `_value` token to `_to` from `msg.sender` * @param _to The address of the recipient * @param _value The amount of token to be transferred * @return Whether the transfer was successful or not */ function transfer(address _to, uint256 _value) external returns (bool success); /** * @notice `msg.sender` approves `_spender` to spend `_value` tokens * @param _spender The address of the account able to transfer the tokens * @param _value The amount of tokens to be approved for transfer * @return Whether the approval was successful or not */ function approve(address _spender, uint256 _value) external returns (bool success); /** * @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` * @param _from The address of the sender * @param _to The address of the recipient * @param _value The amount of token to be transferred * @return Whether the transfer was successful or not */ function transferFrom(address _from, address _to, uint256 _value) external returns (bool success); /** * @param _owner The address from which the balance will be retrieved * @return The balance */ function balanceOf(address _owner) external view returns (uint256 balance); /** * @param _owner The address of the account owning tokens * @param _spender The address of the account able to transfer the tokens * @return Amount of remaining tokens allowed to spent */ function allowance(address _owner, address _spender) external view returns (uint256 remaining); /** * @notice return total supply of tokens */ function totalSupply() external view returns (uint256 supply); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.5.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./Counters.sol"; import "./ERC165.sol"; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is ERC165, IERC721 { using SafeMath for uint256; using Address for address; using Counters for Counters.Counter; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from token ID to owner mapping (uint256 => address) private _tokenOwner; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to number of owned token mapping (address => Counters.Counter) private _ownedTokensCount; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; constructor () public { // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); } /** * @dev Gets the balance of the specified address. * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _ownedTokensCount[owner].current(); } /** * @dev Gets the owner of the specified token ID. * @param tokenId uint256 ID of the token to query the owner of * @return address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view returns (address) { address owner = _tokenOwner[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) public { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(msg.sender == owner || isApprovedForAll(owner, msg.sender), "ERC721: approve caller is not owner nor approved for all" ); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf. * @param to operator address to set the approval * @param approved representing the status of the approval to be set */ function setApprovalForAll(address to, bool approved) public { require(to != msg.sender, "ERC721: approve to caller"); _operatorApprovals[msg.sender][to] = approved; emit ApprovalForAll(msg.sender, to, approved); } /** * @dev Tells whether an operator is approved by a given owner. * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner, address operator) public view returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Transfers the ownership of a given token ID to another address. * Usage of this method is discouraged, use `safeTransferFrom` whenever possible. * Requires the msg.sender to be the owner, approved, or operator. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function transferFrom(address from, address to, uint256 tokenId) public { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(msg.sender, tokenId), "ERC721: transfer caller is not owner nor approved"); _transferFrom(from, to, tokenId); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { transferFrom(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether the specified token exists. * @param tokenId uint256 ID of the token to query the existence of * @return bool whether the token exists */ function _exists(uint256 tokenId) internal view returns (bool) { address owner = _tokenOwner[tokenId]; return owner != address(0); } /** * @dev Returns whether the given spender can transfer a given token ID. * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _tokenOwner[tokenId] = to; _ownedTokensCount[to].increment(); emit Transfer(address(0), to, tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own"); _clearApproval(tokenId); _ownedTokensCount[owner].decrement(); _tokenOwner[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * @param tokenId uint256 ID of the token being burned */ function _burn(uint256 tokenId) internal { _burn(ownerOf(tokenId), tokenId); } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _clearApproval(tokenId); _ownedTokensCount[from].decrement(); _ownedTokensCount[to].increment(); _tokenOwner[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Internal function to invoke `onERC721Received` on a target address. * The call is not executed if the target address is not a contract. * * This function is deprecated. * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) internal returns (bool) { if (!to.isContract()) { return true; } bytes4 retval = IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data); return (retval == _ERC721_RECEIVED); } /** * @dev Private function to clear current approval of a given token ID. * @param tokenId uint256 ID of the token to be transferred */ function _clearApproval(uint256 tokenId) private { if (_tokenApprovals[tokenId] != address(0)) { _tokenApprovals[tokenId] = address(0); } } }
pragma solidity ^0.5.0; import "./IERC721Enumerable.sol"; import "./ERC721.sol"; import "./ERC165.sol"; /** * @title ERC-721 Non-Fungible Token with optional enumeration extension logic * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721Enumerable is ERC165, ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => uint256[]) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Constructor function. */ constructor () public { // register the supported interface to conform to ERC721Enumerable via ERC165 _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner. * @param owner address owning the tokens list to be accessed * @param index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev Gets the total amount of tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return _allTokens.length; } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens. * @param index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { super._transferFrom(from, to, tokenId); _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to address the beneficiary that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { super._mint(to, tokenId); _addTokenToOwnerEnumeration(to, tokenId); _addTokenToAllTokensEnumeration(tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); _removeTokenFromOwnerEnumeration(owner, tokenId); // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund _ownedTokensIndex[tokenId] = 0; _removeTokenFromAllTokensEnumeration(tokenId); } /** * @dev Gets the list of token IDs of the requested owner. * @param owner address owning the tokens * @return uint256[] List of token IDs owned by the requested address */ function _tokensOfOwner(address owner) internal view returns (uint256[] storage) { return _ownedTokens[owner]; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { _ownedTokensIndex[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the _ownedTokensIndex mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _ownedTokens[from].length.sub(1); uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array _ownedTokens[from].length--; // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by // lastTokenId, or just over the end of the array if the token was the last one). } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length.sub(1); uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array _allTokens.length--; _allTokensIndex[tokenId] = 0; } }
pragma solidity ^0.5.0; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./ERC721Metadata.sol"; /** * @title Full ERC721 Token * This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it includes approve all functionality using operator terminology * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata { constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) { // solhint-disable-previous-line no-empty-blocks } }
pragma solidity ^0.5.0; import "./ERC721.sol"; import "./IERC721Metadata.sol"; import "./ERC165.sol"; contract ERC721Metadata is ERC165, ERC721, IERC721Metadata { // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /** * @dev Constructor function */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721_METADATA); } /** * @dev Gets the token name. * @return string representing the token name */ function name() external view returns (string memory) { return _name; } /** * @dev Gets the token symbol. * @return string representing the token symbol */ function symbol() external view returns (string memory) { return _symbol; } /** * @dev Returns an URI for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenURI(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return _tokenURIs[tokenId]; } /** * @dev Internal function to set the token URI for a given token. * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to set its URI * @param uri string URI to assign */ function _setTokenURI(uint256 tokenId, string memory uri) internal { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = uri; } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
pragma solidity ^0.5.0; /** * @dev Interface of the ERC165 standard, as defined in the * [EIP](https://eips.ethereum.org/EIPS/eip-165). * * Implementers can declare support of contract interfaces, which can then be * queried by others (`ERC165Checker`). * * For an implementation, see `ERC165`. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
pragma solidity ^0.5.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of NFTs in `owner`'s account. */ function balanceOf(address owner) public view returns (uint256 balance); /** * @dev Returns the owner of the NFT specified by `tokenId`. */ function ownerOf(uint256 tokenId) public view returns (address owner); /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * * * Requirements: * - `from`, `to` cannot be zero. * - `tokenId` must be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this * NFT by either `approve` or `setApproveForAll`. */ function safeTransferFrom(address from, address to, uint256 tokenId) public; /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * Requirements: * - If the caller is not `from`, it must be approved to move this NFT by * either `approve` or `setApproveForAll`. */ function transferFrom(address from, address to, uint256 tokenId) public; function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; }
pragma solidity ^0.5.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract IERC721Enumerable is IERC721 { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId); function tokenByIndex(uint256 index) public view returns (uint256); }
pragma solidity ^0.5.0; import "./IERC721.sol"; import "./IERC721Enumerable.sol"; import "./IERC721Metadata.sol"; /** * @title ERC-721 Non-Fungible Token Standard, full implementation interface * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract IERC721Full is IERC721, IERC721Enumerable, IERC721Metadata { // solhint-disable-previous-line no-empty-blocks }
pragma solidity ^0.5.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract IERC721Metadata is IERC721 { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); }
pragma solidity ^0.5.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a `safeTransfer`. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); }
pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } }
pragma solidity >=0.5.0 <0.6.0; import "./ERC20Token.sol"; contract TokenClaimer { event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount); function claimTokens(address _token) external; /** * @notice This method can be used by the controller to extract mistakenly * sent tokens to this contract. * @param _token The address of the token contract that you want to recover * set to 0 in case you want to extract ether. */ function withdrawBalance(address _token, address payable _destination) internal { uint256 balance; if (_token == address(0)) { balance = address(this).balance; address(_destination).transfer(balance); } else { ERC20Token token = ERC20Token(_token); balance = token.balanceOf(address(this)); token.transfer(_destination, balance); } emit ClaimedTokens(_token, _destination, balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_packId","type":"uint256"}],"name":"generateToken","outputs":[{"name":"tokenId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenPackId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token","type":"address"},{"indexed":true,"name":"_controller","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"controller","type":"address"}],"name":"NewController","type":"event"}]
Contract Creation Code
601360809081527f53746174757320537469636b6572205061636b0000000000000000000000000060a052610100604052600460c09081527f53544b500000000000000000000000000000000000000000000000000000000060e052600080546001600160a01b031916331790558181620000a17f01ffc9a7000000000000000000000000000000000000000000000000000000006200011f602090811b901c565b620000b96380ac58cd60e01b6200011f60201b60201c565b620000d163780e9d6360e01b6200011f60201b60201c565b8151620000e690600a906020850190620001f1565b508051620000fc90600b906020840190620001f1565b5062000115635b5e139f60e01b6200011f60201b60201c565b5050505062000296565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620001b157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600160208190526040909120805460ff19169091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200023457805160ff191683800117855562000264565b8280016001018555821562000264579182015b828111156200026457825182559160200191906001019062000247565b506200027292915062000276565b5090565b6200029391905b808211156200027257600081556001016200027d565b90565b61195880620002a66000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063a546af4c1161007c578063a546af4c14610408578063b88d4fde14610425578063c87b56dd146104eb578063df8de3e714610508578063e985e9c51461052e578063f77c47911461055c57610142565b80636352211e1461038757806370a08231146103a457806395d89b41146103ca5780639f181b5e146103d2578063a22cb465146103da57610142565b8063188b53721161010a578063188b53721461028057806323b872dd146102ac5780632f745c59146102e25780633cebb8231461030e57806342842e0e146103345780634f6ccce71461036a57610142565b806301ffc9a71461014757806306fdde0314610182578063081812fc146101ff578063095ea7b31461023857806318160ddd14610266575b600080fd5b61016e6004803603602081101561015d57600080fd5b50356001600160e01b031916610564565b604080519115158252519081900360200190f35b61018a610583565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c45781810151838201526020016101ac565b50505050905090810190601f1680156101f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021c6004803603602081101561021557600080fd5b503561061a565b604080516001600160a01b039092168252519081900360200190f35b6102646004803603604081101561024e57600080fd5b506001600160a01b03813516906020013561067f565b005b61026e610796565b60408051918252519081900360200190f35b61026e6004803603604081101561029657600080fd5b506001600160a01b03813516906020013561079c565b610264600480360360608110156102c257600080fd5b506001600160a01b0381358116916020810135909116906040013561081e565b61026e600480360360408110156102f857600080fd5b506001600160a01b038135169060200135610876565b6102646004803603602081101561032457600080fd5b50356001600160a01b03166108f8565b6102646004803603606081101561034a57600080fd5b506001600160a01b038135811691602081013590911690604001356109a0565b61026e6004803603602081101561038057600080fd5b50356109bb565b61021c6004803603602081101561039d57600080fd5b5035610a24565b61026e600480360360208110156103ba57600080fd5b50356001600160a01b0316610a7b565b61018a610ae6565b61026e610b47565b610264600480360360408110156103f057600080fd5b506001600160a01b0381351690602001351515610b4d565b61026e6004803603602081101561041e57600080fd5b5035610c1c565b6102646004803603608081101561043b57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561047657600080fd5b82018360208201111561048857600080fd5b803590602001918460018302840111640100000000831117156104aa57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c2e945050505050565b61018a6004803603602081101561050157600080fd5b5035610c89565b6102646004803603602081101561051e57600080fd5b50356001600160a01b0316610d71565b61016e6004803603604081101561054457600080fd5b506001600160a01b0381358116916020013516610ddf565b61021c610e0d565b6001600160e01b03191660009081526001602052604090205460ff1690565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b820191906000526020600020905b8154815290600101906020018083116105f257829003601f168201915b505050505090505b90565b600061062582610e1c565b61066357604051600160e51b62461bcd02815260040180806020018281038252602c81526020018061182b602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061068a82610a24565b9050806001600160a01b0316836001600160a01b031614156106e057604051600160e51b62461bcd0281526004018080602001828103825260218152602001806118af6021913960400191505060405180910390fd5b336001600160a01b03821614806106fc57506106fc8133610ddf565b61073a57604051600160e51b62461bcd0281526004018080602001828103825260388152602001806117a06038913960400191505060405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60085490565b600080546001600160a01b031633146107f15760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b50600e8054600181019091556000818152600d602052604090208290556108188382610e39565b92915050565b6108283382610e5a565b61086657604051600160e51b62461bcd0281526004018080602001828103825260318152602001806118d06031913960400191505060405180910390fd5b610871838383610f01565b505050565b600061088183610a7b565b82106108c157604051600160e51b62461bcd02815260040180806020018281038252602b8152602001806116f3602b913960400191505060405180910390fd5b6001600160a01b03831660009081526006602052604090208054839081106108e557fe5b9060005260206000200154905092915050565b6000546001600160a01b0316331461094c5760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe253457d9ad994ca9682fc3bbc38c890dca73a2d5ecee3809e548bac8b00d7c69181900360200190a150565b61087183838360405180602001604052806000815250610c2e565b60006109c5610796565b8210610a0557604051600160e51b62461bcd02815260040180806020018281038252602c815260200180611901602c913960400191505060405180910390fd5b60088281548110610a1257fe5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061081857604051600160e51b62461bcd0281526004018080602001828103825260298152602001806118026029913960400191505060405180910390fd5b60006001600160a01b038216610ac557604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806117d8602a913960400191505060405180910390fd5b6001600160a01b038216600090815260046020526040902061081890610f20565b600b8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b600e5481565b6001600160a01b038216331415610bae5760408051600160e51b62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600d6020526000908152604090205481565b610c3984848461081e565b610c4584848484610f24565b610c8357604051600160e51b62461bcd02815260040180806020018281038252603281526020018061171e6032913960400191505060405180910390fd5b50505050565b6060610c9482610e1c565b610cd257604051600160e51b62461bcd02815260040180806020018281038252602f815260200180611880602f913960400191505060405180910390fd5b6000828152600c602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610d655780601f10610d3a57610100808354040283529160200191610d65565b820191906000526020600020905b815481529060010190602001808311610d4857829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610dc55760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600054610ddc9082906001600160a01b031661105d565b50565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031681565b6000908152600260205260409020546001600160a01b0316151590565b610e4382826111fc565b610e4d8282611333565b610e5681611371565b5050565b6000610e6582610e1c565b610ea357604051600160e51b62461bcd02815260040180806020018281038252602c815260200180611774602c913960400191505060405180910390fd5b6000610eae83610a24565b9050806001600160a01b0316846001600160a01b03161480610ee95750836001600160a01b0316610ede8461061a565b6001600160a01b0316145b80610ef95750610ef98185610ddf565b949350505050565b610f0c8383836113b5565b610f1683826114ff565b6108718282611333565b5490565b6000610f38846001600160a01b03166115f4565b610f4457506001610ef9565b604051600160e11b630a85bd0102815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015610fc1578181015183820152602001610fa9565b50505050905090810190601f168015610fee5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b505050506040513d602081101561103a57600080fd5b50516001600160e01b031916600160e11b630a85bd010214915050949350505050565b60006001600160a01b0383166110ad57506040513031906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156110a7573d6000803e3d6000fd5b506111ac565b60408051600160e01b6370a08231028152306004820152905184916001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156110f957600080fd5b505afa15801561110d573d6000803e3d6000fd5b505050506040513d602081101561112357600080fd5b505160408051600160e01b63a9059cbb0281526001600160a01b0386811660048301526024820184905291519294509083169163a9059cbb916044808201926020929091908290030181600087803b15801561117e57600080fd5b505af1158015611192573d6000803e3d6000fd5b505050506040513d60208110156111a857600080fd5b5050505b816001600160a01b0316836001600160a01b03167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c836040518082815260200191505060405180910390a3505050565b6001600160a01b03821661125a5760408051600160e51b62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61126381610e1c565b156112b85760408051600160e51b62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260026020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558352600490915290206112f7906115fa565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b826001600160a01b03166113c882610a24565b6001600160a01b03161461141057604051600160e51b62461bcd0281526004018080602001828103825260298152602001806118576029913960400191505060405180910390fd5b6001600160a01b03821661145857604051600160e51b62461bcd0281526004018080602001828103825260248152602001806117506024913960400191505060405180910390fd5b61146181611603565b6001600160a01b03831660009081526004602052604090206114829061163e565b6001600160a01b03821660009081526004602052604090206114a3906115fa565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526006602052604081205461152990600163ffffffff61165516565b6000838152600760205260409020549091508082146115c4576001600160a01b038416600090815260066020526040812080548490811061156657fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115a457fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b03841660009081526006602052604090208054906115ed9060001983016116b5565b5050505050565b3b151590565b80546001019055565b6000818152600360205260409020546001600160a01b031615610ddc57600090815260036020526040902080546001600160a01b0319169055565b805461165190600163ffffffff61165516565b9055565b6000828211156116af5760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8154818355818111156108715760008381526020902061087191810190830161061791905b808211156116ee57600081556001016116da565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a165627a7a72305820fcdc0508715c4b686b045c4c5a143a43e0ba5f91386c7073f0fbc0ed3952174f0029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063a546af4c1161007c578063a546af4c14610408578063b88d4fde14610425578063c87b56dd146104eb578063df8de3e714610508578063e985e9c51461052e578063f77c47911461055c57610142565b80636352211e1461038757806370a08231146103a457806395d89b41146103ca5780639f181b5e146103d2578063a22cb465146103da57610142565b8063188b53721161010a578063188b53721461028057806323b872dd146102ac5780632f745c59146102e25780633cebb8231461030e57806342842e0e146103345780634f6ccce71461036a57610142565b806301ffc9a71461014757806306fdde0314610182578063081812fc146101ff578063095ea7b31461023857806318160ddd14610266575b600080fd5b61016e6004803603602081101561015d57600080fd5b50356001600160e01b031916610564565b604080519115158252519081900360200190f35b61018a610583565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c45781810151838201526020016101ac565b50505050905090810190601f1680156101f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021c6004803603602081101561021557600080fd5b503561061a565b604080516001600160a01b039092168252519081900360200190f35b6102646004803603604081101561024e57600080fd5b506001600160a01b03813516906020013561067f565b005b61026e610796565b60408051918252519081900360200190f35b61026e6004803603604081101561029657600080fd5b506001600160a01b03813516906020013561079c565b610264600480360360608110156102c257600080fd5b506001600160a01b0381358116916020810135909116906040013561081e565b61026e600480360360408110156102f857600080fd5b506001600160a01b038135169060200135610876565b6102646004803603602081101561032457600080fd5b50356001600160a01b03166108f8565b6102646004803603606081101561034a57600080fd5b506001600160a01b038135811691602081013590911690604001356109a0565b61026e6004803603602081101561038057600080fd5b50356109bb565b61021c6004803603602081101561039d57600080fd5b5035610a24565b61026e600480360360208110156103ba57600080fd5b50356001600160a01b0316610a7b565b61018a610ae6565b61026e610b47565b610264600480360360408110156103f057600080fd5b506001600160a01b0381351690602001351515610b4d565b61026e6004803603602081101561041e57600080fd5b5035610c1c565b6102646004803603608081101561043b57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561047657600080fd5b82018360208201111561048857600080fd5b803590602001918460018302840111640100000000831117156104aa57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c2e945050505050565b61018a6004803603602081101561050157600080fd5b5035610c89565b6102646004803603602081101561051e57600080fd5b50356001600160a01b0316610d71565b61016e6004803603604081101561054457600080fd5b506001600160a01b0381358116916020013516610ddf565b61021c610e0d565b6001600160e01b03191660009081526001602052604090205460ff1690565b600a8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b820191906000526020600020905b8154815290600101906020018083116105f257829003601f168201915b505050505090505b90565b600061062582610e1c565b61066357604051600160e51b62461bcd02815260040180806020018281038252602c81526020018061182b602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061068a82610a24565b9050806001600160a01b0316836001600160a01b031614156106e057604051600160e51b62461bcd0281526004018080602001828103825260218152602001806118af6021913960400191505060405180910390fd5b336001600160a01b03821614806106fc57506106fc8133610ddf565b61073a57604051600160e51b62461bcd0281526004018080602001828103825260388152602001806117a06038913960400191505060405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60085490565b600080546001600160a01b031633146107f15760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b50600e8054600181019091556000818152600d602052604090208290556108188382610e39565b92915050565b6108283382610e5a565b61086657604051600160e51b62461bcd0281526004018080602001828103825260318152602001806118d06031913960400191505060405180910390fd5b610871838383610f01565b505050565b600061088183610a7b565b82106108c157604051600160e51b62461bcd02815260040180806020018281038252602b8152602001806116f3602b913960400191505060405180910390fd5b6001600160a01b03831660009081526006602052604090208054839081106108e557fe5b9060005260206000200154905092915050565b6000546001600160a01b0316331461094c5760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600080546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fe253457d9ad994ca9682fc3bbc38c890dca73a2d5ecee3809e548bac8b00d7c69181900360200190a150565b61087183838360405180602001604052806000815250610c2e565b60006109c5610796565b8210610a0557604051600160e51b62461bcd02815260040180806020018281038252602c815260200180611901602c913960400191505060405180910390fd5b60088281548110610a1257fe5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061081857604051600160e51b62461bcd0281526004018080602001828103825260298152602001806118026029913960400191505060405180910390fd5b60006001600160a01b038216610ac557604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806117d8602a913960400191505060405180910390fd5b6001600160a01b038216600090815260046020526040902061081890610f20565b600b8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561060f5780601f106105e45761010080835404028352916020019161060f565b600e5481565b6001600160a01b038216331415610bae5760408051600160e51b62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600d6020526000908152604090205481565b610c3984848461081e565b610c4584848484610f24565b610c8357604051600160e51b62461bcd02815260040180806020018281038252603281526020018061171e6032913960400191505060405180910390fd5b50505050565b6060610c9482610e1c565b610cd257604051600160e51b62461bcd02815260040180806020018281038252602f815260200180611880602f913960400191505060405180910390fd5b6000828152600c602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610d655780601f10610d3a57610100808354040283529160200191610d65565b820191906000526020600020905b815481529060010190602001808311610d4857829003601f168201915b50505050509050919050565b6000546001600160a01b03163314610dc55760408051600160e51b62461bcd02815260206004820152600c6024820152600160a21b6b155b985d5d1a1bdc9a5e995902604482015290519081900360640190fd5b600054610ddc9082906001600160a01b031661105d565b50565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031681565b6000908152600260205260409020546001600160a01b0316151590565b610e4382826111fc565b610e4d8282611333565b610e5681611371565b5050565b6000610e6582610e1c565b610ea357604051600160e51b62461bcd02815260040180806020018281038252602c815260200180611774602c913960400191505060405180910390fd5b6000610eae83610a24565b9050806001600160a01b0316846001600160a01b03161480610ee95750836001600160a01b0316610ede8461061a565b6001600160a01b0316145b80610ef95750610ef98185610ddf565b949350505050565b610f0c8383836113b5565b610f1683826114ff565b6108718282611333565b5490565b6000610f38846001600160a01b03166115f4565b610f4457506001610ef9565b604051600160e11b630a85bd0102815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015610fc1578181015183820152602001610fa9565b50505050905090810190601f168015610fee5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b505050506040513d602081101561103a57600080fd5b50516001600160e01b031916600160e11b630a85bd010214915050949350505050565b60006001600160a01b0383166110ad57506040513031906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156110a7573d6000803e3d6000fd5b506111ac565b60408051600160e01b6370a08231028152306004820152905184916001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156110f957600080fd5b505afa15801561110d573d6000803e3d6000fd5b505050506040513d602081101561112357600080fd5b505160408051600160e01b63a9059cbb0281526001600160a01b0386811660048301526024820184905291519294509083169163a9059cbb916044808201926020929091908290030181600087803b15801561117e57600080fd5b505af1158015611192573d6000803e3d6000fd5b505050506040513d60208110156111a857600080fd5b5050505b816001600160a01b0316836001600160a01b03167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c836040518082815260200191505060405180910390a3505050565b6001600160a01b03821661125a5760408051600160e51b62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61126381610e1c565b156112b85760408051600160e51b62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260026020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558352600490915290206112f7906115fa565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b826001600160a01b03166113c882610a24565b6001600160a01b03161461141057604051600160e51b62461bcd0281526004018080602001828103825260298152602001806118576029913960400191505060405180910390fd5b6001600160a01b03821661145857604051600160e51b62461bcd0281526004018080602001828103825260248152602001806117506024913960400191505060405180910390fd5b61146181611603565b6001600160a01b03831660009081526004602052604090206114829061163e565b6001600160a01b03821660009081526004602052604090206114a3906115fa565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526006602052604081205461152990600163ffffffff61165516565b6000838152600760205260409020549091508082146115c4576001600160a01b038416600090815260066020526040812080548490811061156657fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b0316815260200190815260200160002083815481106115a457fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b03841660009081526006602052604090208054906115ed9060001983016116b5565b5050505050565b3b151590565b80546001019055565b6000818152600360205260409020546001600160a01b031615610ddc57600090815260036020526040902080546001600160a01b0319169055565b805461165190600163ffffffff61165516565b9055565b6000828211156116af5760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8154818355818111156108715760008381526020902061087191810190830161061791905b808211156116ee57600081556001016116da565b509056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a165627a7a72305820fcdc0508715c4b686b045c4c5a143a43e0ba5f91386c7073f0fbc0ed3952174f0029
Deployed Bytecode Sourcemap
199:1054:17:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;199:1054:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;915:133:3;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;915:133:3;-1:-1:-1;;;;;;915:133:3;;:::i;:::-;;;;;;;;;;;;;;;;;;1094:83:9;;;:::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;1094:83:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4189:200:6;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4189:200:6;;:::i;:::-;;;;-1:-1:-1;;;;;4189:200:6;;;;;;;;;;;;;;3493:411;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3493:411:6;;;;;;;;:::i;:::-;;2112:94:7;;;:::i;:::-;;;;;;;;;;;;;;;;599:245:17;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;599:245:17;;;;;;;;:::i;5829:285:6:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5829:285:6;;;;;;;;;;;;;;;;;:::i;1730:229:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1730:229:7;;;;;;;;:::i;559:168:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;559:168:1;-1:-1:-1;;;;;559:168:1;;:::i;6747:132:6:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6747:132:6;;;;;;;;;;;;;;;;;:::i;2544:196:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2544:196:7;;:::i;2849:223:6:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2849:223:6;;:::i;2423:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2423:207:6;-1:-1:-1;;;;;2423:207:6;;:::i;1286:87:9:-;;;:::i;358:25:17:-;;;:::i;4682:243:6:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4682:243:6;;;;;;;;;;:::i;297:46:17:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;297:46:17;;:::i;7584:265:6:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;7584:265:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;7584:265:6;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;7584:265:6;;;;;;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;7584:265:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7584:265:6;;-1:-1:-1;7584:265:6;;-1:-1:-1;;;;;7584:265:6:i;1573:202:9:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1573:202:9;;:::i;1115:133:17:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1115:133:17;-1:-1:-1;;;;;1115:133:17;;:::i;5247:145:6:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5247:145:6;;;;;;;;;;:::i;330:33:1:-;;;:::i;915:133:3:-;-1:-1:-1;;;;;;1008:33:3;985:4;1008:33;;;:20;:33;;;;;;;;;915:133::o;1094:83:9:-;1165:5;1158:12;;;;;;;;-1:-1:-1;;1158:12:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1133:13;;1158:12;;1165:5;;1158:12;;1165:5;1158:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1094:83;;:::o;4189:200:6:-;4248:7;4275:16;4283:7;4275;:16::i;:::-;4267:73;;;;-1:-1:-1;;;;;4267:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4358:24:6;;;;:15;:24;;;;;;-1:-1:-1;;;;;4358:24:6;;4189:200::o;3493:411::-;3556:13;3572:16;3580:7;3572;:16::i;:::-;3556:32;;3612:5;-1:-1:-1;;;;;3606:11:6;:2;-1:-1:-1;;;;;3606:11:6;;;3598:57;;;;-1:-1:-1;;;;;3598:57:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3674:10;-1:-1:-1;;;;;3674:19:6;;;;:58;;;3697:35;3714:5;3721:10;3697:16;:35::i;:::-;3666:148;;;;-1:-1:-1;;;;;3666:148:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3825:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;3825:29:6;-1:-1:-1;;;;;3825:29:6;;;;;;;;;3869:28;;3825:24;;3869:28;;;;;;;3493:411;;;:::o;2112:94:7:-;2182:10;:17;2112:94;:::o;599:245:17:-;712:15;279:10:1;;-1:-1:-1;;;;;279:10:1;265;:24;257:49;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;;;;-1:-1:-1;753:10:17;:12;;;;;;;;:10;775:20;;;:11;:20;;;;;:30;;;815:22;821:6;753:12;815:5;:22::i;:::-;599:245;;;;:::o;5829:285:6:-;5971:39;5990:10;6002:7;5971:18;:39::i;:::-;5963:101;;;;-1:-1:-1;;;;;5963:101:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6075:32;6089:4;6095:2;6099:7;6075:13;:32::i;:::-;5829:285;;;:::o;1730:229:7:-;1810:7;1845:16;1855:5;1845:9;:16::i;:::-;1837:5;:24;1829:80;;;;-1:-1:-1;;;;;1829:80:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1926:19:7;;;;;;:12;:19;;;;;:26;;1946:5;;1926:26;;;;;;;;;;;;;;1919:33;;1730:229;;;;:::o;559:168:1:-;279:10;;-1:-1:-1;;;;;279:10:1;265;:24;257:49;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;;;;649:10;:27;;-1:-1:-1;;;;;649:27:1;;-1:-1:-1;;;;;;649:27:1;;;;;;;;691:29;;;;;;;;;;;;;;;;559:168;:::o;6747:132:6:-;6833:39;6850:4;6856:2;6860:7;6833:39;;;;;;;;;;;;:16;:39::i;2544:196:7:-;2602:7;2637:13;:11;:13::i;:::-;2629:5;:21;2621:78;;;;-1:-1:-1;;;;;2621:78:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2716:10;2727:5;2716:17;;;;;;;;;;;;;;;;2709:24;;2544:196;;;:::o;2849:223:6:-;2904:7;2939:20;;;:11;:20;;;;;;-1:-1:-1;;;;;2939:20:6;2977:19;2969:73;;;;-1:-1:-1;;;;;2969:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2423:207;2478:7;-1:-1:-1;;;;;2505:19:6;;2497:74;;;;-1:-1:-1;;;;;2497:74:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2589:24:6;;;;;;:17;:24;;;;;:34;;:32;:34::i;1286:87:9:-;1359:7;1352:14;;;;;;;;-1:-1:-1;;1352:14:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1327:13;;1352:14;;1359:7;;1352:14;;1359:7;1352:14;;;;;;;;;;;;;;;;;;;;;;;;358:25:17;;;;:::o;4682:243:6:-;-1:-1:-1;;;;;4761:16:6;;4767:10;4761:16;;4753:54;;;;;-1:-1:-1;;;;;4753:54:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;4837:10;4818:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;4818:34:6;;;;;;;;;;;;:45;;-1:-1:-1;;4818:45:6;;;;;;;;;;4878:40;;;;;;;4818:34;;4837:10;4878:40;;;;;;;;;;;4682:243;;:::o;297:46:17:-;;;;;;;;;;;;;:::o;7584:265:6:-;7690:31;7703:4;7709:2;7713:7;7690:12;:31::i;:::-;7739:48;7762:4;7768:2;7772:7;7781:5;7739:22;:48::i;:::-;7731:111;;;;-1:-1:-1;;;;;7731:111:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7584:265;;;;:::o;1573:202:9:-;1631:13;1664:16;1672:7;1664;:16::i;:::-;1656:76;;;;-1:-1:-1;;;;;1656:76:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1749:19;;;;:10;:19;;;;;;;;;1742:26;;;;;;-1:-1:-1;;1742:26:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1749:19;;1742:26;;1749:19;1742:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1573:202;;;:::o;1115:133:17:-;279:10:1;;-1:-1:-1;;;;;279:10:1;265;:24;257:49;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;-1:-1:-1;;;;;257:49:1;;;;;;;;;;;;;;;1230:10:17;;1206:35;;1222:6;;-1:-1:-1;;;;;1230:10:17;1206:15;:35::i;:::-;1115:133;:::o;5247:145:6:-;-1:-1:-1;;;;;5350:25:6;;;5327:4;5350:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;5247:145::o;330:33:1:-;;;-1:-1:-1;;;;;330:33:1;;:::o;8044:152:6:-;8101:4;8133:20;;;:11;:20;;;;;;-1:-1:-1;;;;;8133:20:6;8170:19;;;8044:152::o;3611:196:7:-;3674:24;3686:2;3690:7;3674:11;:24::i;:::-;3709:40;3737:2;3741:7;3709:27;:40::i;:::-;3760;3792:7;3760:31;:40::i;:::-;3611:196;;:::o;8557:329:6:-;8642:4;8666:16;8674:7;8666;:16::i;:::-;8658:73;;;;-1:-1:-1;;;;;8658:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8741:13;8757:16;8765:7;8757;:16::i;:::-;8741:32;;8802:5;-1:-1:-1;;;;;8791:16:6;:7;-1:-1:-1;;;;;8791:16:6;;:51;;;;8835:7;-1:-1:-1;;;;;8811:31:6;:20;8823:7;8811:11;:20::i;:::-;-1:-1:-1;;;;;8811:31:6;;8791:51;:87;;;;8846:32;8863:5;8870:7;8846:16;:32::i;:::-;8783:96;8557:329;-1:-1:-1;;;;8557:329:6:o;3115:239:7:-;3200:38;3220:4;3226:2;3230:7;3200:19;:38::i;:::-;3249:47;3282:4;3288:7;3249:32;:47::i;:::-;3307:40;3335:2;3339:7;3307:27;:40::i;1057:112:2:-;1148:14;;1057:112::o;11723:347:6:-;11844:4;11869:15;:2;-1:-1:-1;;;;;11869:13:6;;:15::i;:::-;11864:58;;-1:-1:-1;11907:4:6;11900:11;;11864:58;11948:70;;-1:-1:-1;;;;;11948:70:6;;11985:10;11948:70;;;;;;-1:-1:-1;;;;;11948:70:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;11932:13;;11948:36;;;;;;11985:10;;11997:4;;12003:7;;12012:5;;11948:70;;;;;;;;;;;11932:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11948:70:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11948:70:6;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11948:70:6;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11948:70:6;-1:-1:-1;;;;;;12036:26:6;-1:-1:-1;;;;;12036:26:6;;-1:-1:-1;;11723:347:6;;;;;;:::o;501:500:18:-;603:15;-1:-1:-1;;;;;632:20:18;;628:308;;-1:-1:-1;713:39:18;;686:4;678:21;;-1:-1:-1;;;;;713:30:18;;;:39;;;;;678:21;;713:39;;;;678:21;713:30;:39;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;713:39:18;628:308;;;844:30;;;-1:-1:-1;;;;;844:30:18;;868:4;844:30;;;;;;813:6;;-1:-1:-1;;;;;844:15:18;;;;;:30;;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;844:30:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;844:30:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;844:30:18;888:37;;;-1:-1:-1;;;;;888:37:18;;-1:-1:-1;;;;;888:37:18;;;;;;;;;;;;;;;844:30;;-1:-1:-1;888:14:18;;;;;;:37;;;;;844:30;;888:37;;;;;;;;-1:-1:-1;888:14:18;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;888:37:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;888:37:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;628:308:18;972:12;-1:-1:-1;;;;;950:44:18;964:6;-1:-1:-1;;;;;950:44:18;;986:7;950:44;;;;;;;;;;;;;;;;;;501:500;;;:::o;9131:327:6:-;-1:-1:-1;;;;;9202:16:6;;9194:61;;;;;-1:-1:-1;;;;;9194:61:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9274:16;9282:7;9274;:16::i;:::-;9273:17;9265:58;;;;;-1:-1:-1;;;;;9265:58:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;9334:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;9334:25:6;-1:-1:-1;;;;;9334:25:6;;;;;;;;9369:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;9418;;9443:7;;-1:-1:-1;;;;;9418:33:6;;;9435:1;;9418:33;;9435:1;;9418:33;9131:327;;:::o;5069:183:7:-;-1:-1:-1;;;;;5182:16:7;;;;;;;:12;:16;;;;;;;;:23;;5153:26;;;:17;:26;;;;;:52;;;5215:16;;;39:1:-1;23:18;;45:23;;5215:30:7;;;;;;;;5069:183::o;5447:161::-;5550:10;:17;;5523:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;5577:24:7;;;;;;;5447:161::o;10703:447:6:-;10816:4;-1:-1:-1;;;;;10796:24:6;:16;10804:7;10796;:16::i;:::-;-1:-1:-1;;;;;10796:24:6;;10788:78;;;;-1:-1:-1;;;;;10788:78:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10884:16:6;;10876:65;;;;-1:-1:-1;;;;;10876:65:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10952:23;10967:7;10952:14;:23::i;:::-;-1:-1:-1;;;;;10986:23:6;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;11031:21:6;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;11075:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;11075:25:6;-1:-1:-1;;;;;11075:25:6;;;;;;;;;11116:27;;11075:20;;11116:27;;;;;;;10703:447;;;:::o;6223:1128:7:-;-1:-1:-1;;;;;6510:18:7;;6485:22;6510:18;;;:12;:18;;;;;:25;:32;;6540:1;6510:32;:29;:32;:::i;:::-;6552:18;6573:26;;;:17;:26;;;;;;6485:57;;-1:-1:-1;6703:28:7;;;6699:323;;-1:-1:-1;;;;;6769:18:7;;6747:19;6769:18;;;:12;:18;;;;;:34;;6788:14;;6769:34;;;;;;;;;;;;;;6747:56;;6851:11;6818:12;:18;6831:4;-1:-1:-1;;;;;6818:18:7;-1:-1:-1;;;;;6818:18:7;;;;;;;;;;;;6837:10;6818:30;;;;;;;;;;;;;;;;;;;:44;;;;6934:30;;;:17;:30;;;;;:43;;;6699:323;-1:-1:-1;;;;;7108:18:7;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;7108:27:7;;;:::i;:::-;;6223:1128;;;;:::o;542:413:0:-;902:20;940:8;;;542:413::o;1175:89:2:-;1238:19;;1256:1;1238:19;;;1175:89::o;12232:171:6:-;12331:1;12295:24;;;:15;:24;;;;;;-1:-1:-1;;;;;12295:24:6;:38;12291:106;;12384:1;12349:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;12349:37:6;;;12232:171::o;1270:108:2:-;1350:14;;:21;;1369:1;1350:21;:18;:21;:::i;:::-;1333:38;;1270:108::o;1274:179:16:-;1332:7;1364:1;1359;:6;;1351:49;;;;;-1:-1:-1;;;;;1351:49:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1422:5:16;;;1274:179::o;199:1054:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://fcdc0508715c4b686b045c4c5a143a43e0ba5f91386c7073f0fbc0ed3952174f
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.