ERC-721
Source Code
Overview
Max Total Supply
1 TR
Holders
1
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 TRLoading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
TestToken
Compiler Version
v0.5.12+commit.7709ece9
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-02-18
*/
pragma solidity ^0.5.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be aplied to your functions to restrict their use to
* the owner.
*/
contract Ownable {
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 = msg.sender;
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 msg.sender == _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;
}
}
/**
* @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);
}
/**
* @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;
}
/**
* @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);
}
/**
* @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);
}
/**
* @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;
}
}
/**
* @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;
}
}
/**
* @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);
}
}
/**
* @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;
}
}
/**
* @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);
}
}
}
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
contract ERC721Burnable is ERC721 {
/**
* @dev Burns a specific ERC721 token.
* @param tokenId uint256 id of the ERC721 token to be burned.
*/
function burn(uint256 tokenId) public {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(msg.sender, tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}
/**
* @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);
}
/**
* @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;
}
}
/**
* @title Full ERC721 Token with support for tokenURIPrefix
* 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 ERC721Base is ERC721, ERC721Enumerable {
// Token name
string public name;
// Token symbol
string public symbol;
//Token URI prefix
string public tokenURIPrefix;
// 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, string memory _tokenURIPrefix) public {
name = _name;
symbol = _symbol;
tokenURIPrefix = _tokenURIPrefix;
// register the supported interfaces to conform to ERC721 via ERC165
_registerInterface(_INTERFACE_ID_ERC721_METADATA);
}
/**
* @dev Internal function to set the token URI prefix.
* @param _tokenURIPrefix string URI prefix to assign
*/
function _setTokenURIPrefix(string memory _tokenURIPrefix) internal {
tokenURIPrefix = _tokenURIPrefix;
}
/**
* @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 strConcat(tokenURIPrefix, _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];
}
}
function strConcat(string memory _a, string memory _b) internal pure returns (string memory) {
bytes memory _ba = bytes(_a);
bytes memory _bb = bytes(_b);
bytes memory bab = new bytes(_ba.length + _bb.length);
uint k = 0;
for (uint i = 0; i < _ba.length; i++) bab[k++] = _ba[i];
for (uint i = 0; i < _bb.length; i++) bab[k++] = _bb[i];
return string(bab);
}
}
/**
* @title MintableToken
* @dev anyone can mint token.
*/
contract TestToken is Ownable, IERC721, IERC721Metadata, ERC721Burnable, ERC721Base {
constructor (string memory name, string memory symbol, string memory tokenURIPrefix) public ERC721Base(name, symbol, tokenURIPrefix) {
}
function contractMetadata() public returns (string memory) {
return "{\"name\": \"Test Rarible\", \"description\": \"Test Rarible token with metadata\", \"image\": \"https://ipfs.daonomic.com/ipfs/QmPC8DFQ8g7rbBZHr1CXZaAkgwu5KE678YpX1GjLXzcXtY\", \"external_link\": \"https://app.rarible.com/\"}";
}
function mint(uint256 tokenId, string memory tokenURI) public {
_mint(msg.sender, tokenId);
_setTokenURI(tokenId, tokenURI);
}
function setTokenURIPrefix(string memory tokenURIPrefix) public onlyOwner {
_setTokenURIPrefix(tokenURIPrefix);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tokenURIPrefix","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"contractMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"renounceOwnership","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":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"tokenURIPrefix","type":"string"}],"name":"setTokenURIPrefix","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenURIPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200258038038062002580833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001bc57600080fd5b908301906020820185811115620001d257600080fd5b8251640100000000811182820188101715620001ed57600080fd5b82525081516020918201929091019080838360005b838110156200021c57818101518382015260200162000202565b50505050905090810190601f1680156200024a5780820380516001836020036101000a031916815260200191505b506040819052600080546001600160a01b03191633178082558895508794508693506001600160a01b0316917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620002cf7f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03620003b916565b620003037f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03620003b916565b620003377f780e9d63000000000000000000000000000000000000000000000000000000006001600160e01b03620003b916565b82516200034c90600a9060208601906200048b565b5081516200036290600b9060208501906200048b565b5080516200037890600c9060208401906200048b565b50620003ad7f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03620003b916565b50505050505062000530565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200044b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600160208190526040909120805460ff19169091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004ce57805160ff1916838001178555620004fe565b82800160010185558215620004fe579182015b82811115620004fe578251825591602001919060010190620004e1565b506200050c92915062000510565b5090565b6200052d91905b808211156200050c576000815560010162000517565b90565b61204080620005406000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063a22cb46511610097578063c0ac998311610071578063c0ac998314610635578063c87b56dd1461063d578063e985e9c51461065a578063f2fde38b1461068857610173565b8063a22cb46514610539578063a76b4d5614610567578063b88d4fde1461056f57610173565b8063715018a6146103c657806377097fc8146103ce5780638da5cb5b1461047b5780638f32d59b1461048357806395d89b411461048b57806399e0dd7c1461049357610173565b80632f745c59116101305780632f745c59146102e757806342842e0e1461031357806342966c68146103495780634f6ccce7146103665780636352211e1461038357806370a08231146103a057610173565b806301ffc9a71461017857806306fdde03146101b3578063081812fc14610230578063095ea7b31461026957806318160ddd1461029757806323b872dd146102b1575b600080fd5b61019f6004803603602081101561018e57600080fd5b50356001600160e01b0319166106ae565b604080519115158252519081900360200190f35b6101bb6106cd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f55781810151838201526020016101dd565b50505050905090810190601f1680156102225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61024d6004803603602081101561024657600080fd5b503561075b565b604080516001600160a01b039092168252519081900360200190f35b6102956004803603604081101561027f57600080fd5b506001600160a01b0381351690602001356107bd565b005b61029f6108ce565b60408051918252519081900360200190f35b610295600480360360608110156102c757600080fd5b506001600160a01b038135811691602081013590911690604001356108d5565b61029f600480360360408110156102fd57600080fd5b506001600160a01b03813516906020013561092a565b6102956004803603606081101561032957600080fd5b506001600160a01b038135811691602081013590911690604001356109a9565b6102956004803603602081101561035f57600080fd5b50356109c4565b61029f6004803603602081101561037c57600080fd5b5035610a15565b61024d6004803603602081101561039957600080fd5b5035610a7b565b61029f600480360360208110156103b657600080fd5b50356001600160a01b0316610ad5565b610295610b3d565b610295600480360360408110156103e457600080fd5b8135919081019060408101602082013564010000000081111561040657600080fd5b82018360208201111561041857600080fd5b8035906020019184600183028401116401000000008311171561043a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610be0945050505050565b61024d610bf8565b61019f610c07565b6101bb610c18565b610295600480360360208110156104a957600080fd5b8101906020810181356401000000008111156104c457600080fd5b8201836020820111156104d657600080fd5b803590602001918460018302840111640100000000831117156104f857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c73945050505050565b6102956004803603604081101561054f57600080fd5b506001600160a01b0381351690602001351515610cd5565b6101bb610da1565b6102956004803603608081101561058557600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156105c057600080fd5b8201836020820111156105d257600080fd5b803590602001918460018302840111640100000000831117156105f457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dc2945050505050565b6101bb610e1a565b6101bb6004803603602081101561065357600080fd5b5035610e75565b61019f6004803603604081101561067057600080fd5b506001600160a01b0381358116916020013516610fe9565b6102956004803603602081101561069e57600080fd5b50356001600160a01b0316611017565b6001600160e01b03191660009081526001602052604090205460ff1690565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b505050505081565b600061076682611079565b6107a15760405162461bcd60e51b815260040180806020018281038252602c815260200180611e89602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006107c882610a7b565b9050806001600160a01b0316836001600160a01b0316141561081b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f396021913960400191505060405180910390fd5b336001600160a01b038216148061083757506108378133610fe9565b6108725760405162461bcd60e51b8152600401808060200182810382526038815260200180611d2b6038913960400191505060405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008545b90565b6108df3382611096565b61091a5760405162461bcd60e51b8152600401808060200182810382526031815260200180611f5a6031913960400191505060405180910390fd5b61092583838361113a565b505050565b600061093583610ad5565b82106109725760405162461bcd60e51b815260040180806020018281038252602b815260200180611c58602b913960400191505060405180910390fd5b6001600160a01b038316600090815260066020526040902080548390811061099657fe5b9060005260206000200154905092915050565b61092583838360405180602001604052806000815250610dc2565b6109ce3382611096565b610a095760405162461bcd60e51b8152600401808060200182810382526030815260200180611fdc6030913960400191505060405180910390fd5b610a1281611159565b50565b6000610a1f6108ce565b8210610a5c5760405162461bcd60e51b815260040180806020018281038252602c815260200180611f8b602c913960400191505060405180910390fd5b60088281548110610a6957fe5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b031680610acf5760405162461bcd60e51b8152600401808060200182810382526029815260200180611d8d6029913960400191505060405180910390fd5b92915050565b60006001600160a01b038216610b1c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d63602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600460205260409020610acf9061116b565b610b45610c07565b610b96576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bea338361116f565b610bf4828261118c565b5050565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b610c7b610c07565b610ccc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a12816111ef565b6001600160a01b038216331415610d33576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b606060405180610100016040528060d38152602001611db660d39139905090565b610dcd8484846108d5565b610dd984848484611202565b610e145760405162461bcd60e51b8152600401808060200182810382526032815260200180611c836032913960400191505060405180910390fd5b50505050565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b6060610e8082611079565b610ebb5760405162461bcd60e51b815260040180806020018281038252602f815260200180611f0a602f913960400191505060405180910390fd5b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152610acf9390929091830182828015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b5050506000868152600d60209081526040918290208054835160026001831615610100026000190190921691909104601f810184900484028201840190945283815294509250830182828015610fdf5780601f10610fb457610100808354040283529160200191610fdf565b820191906000526020600020905b815481529060010190602001808311610fc257829003601f168201915b5050505050611335565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61101f610c07565b611070576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a128161142a565b6000908152600260205260409020546001600160a01b0316151590565b60006110a182611079565b6110dc5760405162461bcd60e51b815260040180806020018281038252602c815260200180611cff602c913960400191505060405180910390fd5b60006110e783610a7b565b9050806001600160a01b0316846001600160a01b031614806111225750836001600160a01b03166111178461075b565b6001600160a01b0316145b8061113257506111328185610fe9565b949350505050565b6111458383836114ca565b61114f838261160e565b6109258282611703565b610a1261116582610a7b565b82611741565b5490565b6111798282611789565b6111838282611703565b610bf4816118ba565b61119582611079565b6111d05760405162461bcd60e51b815260040180806020018281038252602c815260200180611eb5602c913960400191505060405180910390fd5b6000828152600d60209081526040909120825161092592840190611b5b565b8051610bf490600c906020840190611b5b565b6000611216846001600160a01b03166118fe565b61122257506001611132565b604051630a85bd0160e11b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b8381101561129c578181015183820152602001611284565b50505050905090810190601f1680156112c95780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156112eb57600080fd5b505af11580156112ff573d6000803e3d6000fd5b505050506040513d602081101561131557600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b6060808390506060839050606081518351016040519080825280601f01601f191660200182016040528015611371576020820181803883390190505b5090506000805b84518110156113c95784818151811061138d57fe5b602001015160f81c60f81b8383806001019450815181106113aa57fe5b60200101906001600160f81b031916908160001a905350600101611378565b5060005b835181101561141e578381815181106113e257fe5b602001015160f81c60f81b8383806001019450815181106113ff57fe5b60200101906001600160f81b031916908160001a9053506001016113cd565b50909695505050505050565b6001600160a01b03811661146f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611cb56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166114dd82610a7b565b6001600160a01b0316146115225760405162461bcd60e51b8152600401808060200182810382526029815260200180611ee16029913960400191505060405180910390fd5b6001600160a01b0382166115675760405162461bcd60e51b8152600401808060200182810382526024815260200180611cdb6024913960400191505060405180910390fd5b61157081611904565b6001600160a01b03831660009081526004602052604090206115919061193f565b6001600160a01b03821660009081526004602052604090206115b290611956565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526006602052604081205461163890600163ffffffff61195f16565b6000838152600760205260409020549091508082146116d3576001600160a01b038416600090815260066020526040812080548490811061167557fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b0316815260200190815260200160002083815481106116b357fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b03841660009081526006602052604090208054906116fc906000198301611bd9565b5050505050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b61174b82826119bc565b6000818152600d60205260409020546002600019610100600184161502019091160415610bf4576000818152600d60205260408120610bf491611bfd565b6001600160a01b0382166117e4576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6117ed81611079565b1561183f576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260026020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526004909152902061187e90611956565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b3b151590565b6000818152600360205260409020546001600160a01b031615610a1257600090815260036020526040902080546001600160a01b0319169055565b805461195290600163ffffffff61195f16565b9055565b80546001019055565b6000828211156119b6576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6119c682826119e8565b6119d0828261160e565b600081815260076020526040812055610bf481611abf565b816001600160a01b03166119fb82610a7b565b6001600160a01b031614611a405760405162461bcd60e51b8152600401808060200182810382526025815260200180611fb76025913960400191505060405180910390fd5b611a4981611904565b6001600160a01b0382166000908152600460205260409020611a6a9061193f565b60008181526002602052604080822080546001600160a01b0319169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600854600090611ad690600163ffffffff61195f16565b60008381526009602052604081205460088054939450909284908110611af857fe5b906000526020600020015490508060088381548110611b1357fe5b60009182526020808320909101929092558281526009909152604090208290556008805490611b46906000198301611bd9565b50505060009182525060096020526040812055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b9c57805160ff1916838001178555611bc9565b82800160010185558215611bc9579182015b82811115611bc9578251825591602001919060010190611bae565b50611bd5929150611c3d565b5090565b81548183558181111561092557600083815260209020610925918101908301611c3d565b50805460018160011615610100020316600290046000825580601f10611c235750610a12565b601f016020900490600052602060002090810190610a1291905b6108d291905b80821115611bd55760008155600101611c4356fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e7b226e616d65223a202022546573742052617269626c65222c20226465736372697074696f6e223a2022546573742052617269626c6520746f6b656e2077697468206d65746164617461222c2022696d616765223a202268747470733a2f2f697066732e64616f6e6f6d69632e636f6d2f697066732f516d5043384446513867377262425a48723143585a61416b677775354b4536373859705831476a4c587a63587459222c202265787465726e616c5f6c696e6b223a202268747470733a2f2f6170702e72617269626c652e636f6d2f227d4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a265627a7a723158201c1988da541c00349aab401514301aa60f2757689f8454e016cd2c15989e233964736f6c634300050c0032000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c546573742052617269626c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025452000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f697066732e64616f6e6f6d69632e636f6d00000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063a22cb46511610097578063c0ac998311610071578063c0ac998314610635578063c87b56dd1461063d578063e985e9c51461065a578063f2fde38b1461068857610173565b8063a22cb46514610539578063a76b4d5614610567578063b88d4fde1461056f57610173565b8063715018a6146103c657806377097fc8146103ce5780638da5cb5b1461047b5780638f32d59b1461048357806395d89b411461048b57806399e0dd7c1461049357610173565b80632f745c59116101305780632f745c59146102e757806342842e0e1461031357806342966c68146103495780634f6ccce7146103665780636352211e1461038357806370a08231146103a057610173565b806301ffc9a71461017857806306fdde03146101b3578063081812fc14610230578063095ea7b31461026957806318160ddd1461029757806323b872dd146102b1575b600080fd5b61019f6004803603602081101561018e57600080fd5b50356001600160e01b0319166106ae565b604080519115158252519081900360200190f35b6101bb6106cd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f55781810151838201526020016101dd565b50505050905090810190601f1680156102225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61024d6004803603602081101561024657600080fd5b503561075b565b604080516001600160a01b039092168252519081900360200190f35b6102956004803603604081101561027f57600080fd5b506001600160a01b0381351690602001356107bd565b005b61029f6108ce565b60408051918252519081900360200190f35b610295600480360360608110156102c757600080fd5b506001600160a01b038135811691602081013590911690604001356108d5565b61029f600480360360408110156102fd57600080fd5b506001600160a01b03813516906020013561092a565b6102956004803603606081101561032957600080fd5b506001600160a01b038135811691602081013590911690604001356109a9565b6102956004803603602081101561035f57600080fd5b50356109c4565b61029f6004803603602081101561037c57600080fd5b5035610a15565b61024d6004803603602081101561039957600080fd5b5035610a7b565b61029f600480360360208110156103b657600080fd5b50356001600160a01b0316610ad5565b610295610b3d565b610295600480360360408110156103e457600080fd5b8135919081019060408101602082013564010000000081111561040657600080fd5b82018360208201111561041857600080fd5b8035906020019184600183028401116401000000008311171561043a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610be0945050505050565b61024d610bf8565b61019f610c07565b6101bb610c18565b610295600480360360208110156104a957600080fd5b8101906020810181356401000000008111156104c457600080fd5b8201836020820111156104d657600080fd5b803590602001918460018302840111640100000000831117156104f857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c73945050505050565b6102956004803603604081101561054f57600080fd5b506001600160a01b0381351690602001351515610cd5565b6101bb610da1565b6102956004803603608081101561058557600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156105c057600080fd5b8201836020820111156105d257600080fd5b803590602001918460018302840111640100000000831117156105f457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dc2945050505050565b6101bb610e1a565b6101bb6004803603602081101561065357600080fd5b5035610e75565b61019f6004803603604081101561067057600080fd5b506001600160a01b0381358116916020013516610fe9565b6102956004803603602081101561069e57600080fd5b50356001600160a01b0316611017565b6001600160e01b03191660009081526001602052604090205460ff1690565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b505050505081565b600061076682611079565b6107a15760405162461bcd60e51b815260040180806020018281038252602c815260200180611e89602c913960400191505060405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006107c882610a7b565b9050806001600160a01b0316836001600160a01b0316141561081b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f396021913960400191505060405180910390fd5b336001600160a01b038216148061083757506108378133610fe9565b6108725760405162461bcd60e51b8152600401808060200182810382526038815260200180611d2b6038913960400191505060405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008545b90565b6108df3382611096565b61091a5760405162461bcd60e51b8152600401808060200182810382526031815260200180611f5a6031913960400191505060405180910390fd5b61092583838361113a565b505050565b600061093583610ad5565b82106109725760405162461bcd60e51b815260040180806020018281038252602b815260200180611c58602b913960400191505060405180910390fd5b6001600160a01b038316600090815260066020526040902080548390811061099657fe5b9060005260206000200154905092915050565b61092583838360405180602001604052806000815250610dc2565b6109ce3382611096565b610a095760405162461bcd60e51b8152600401808060200182810382526030815260200180611fdc6030913960400191505060405180910390fd5b610a1281611159565b50565b6000610a1f6108ce565b8210610a5c5760405162461bcd60e51b815260040180806020018281038252602c815260200180611f8b602c913960400191505060405180910390fd5b60088281548110610a6957fe5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b031680610acf5760405162461bcd60e51b8152600401808060200182810382526029815260200180611d8d6029913960400191505060405180910390fd5b92915050565b60006001600160a01b038216610b1c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d63602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600460205260409020610acf9061116b565b610b45610c07565b610b96576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bea338361116f565b610bf4828261118c565b5050565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b610c7b610c07565b610ccc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a12816111ef565b6001600160a01b038216331415610d33576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b606060405180610100016040528060d38152602001611db660d39139905090565b610dcd8484846108d5565b610dd984848484611202565b610e145760405162461bcd60e51b8152600401808060200182810382526032815260200180611c836032913960400191505060405180910390fd5b50505050565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107535780601f1061072857610100808354040283529160200191610753565b6060610e8082611079565b610ebb5760405162461bcd60e51b815260040180806020018281038252602f815260200180611f0a602f913960400191505060405180910390fd5b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152610acf9390929091830182828015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b5050506000868152600d60209081526040918290208054835160026001831615610100026000190190921691909104601f810184900484028201840190945283815294509250830182828015610fdf5780601f10610fb457610100808354040283529160200191610fdf565b820191906000526020600020905b815481529060010190602001808311610fc257829003601f168201915b5050505050611335565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61101f610c07565b611070576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a128161142a565b6000908152600260205260409020546001600160a01b0316151590565b60006110a182611079565b6110dc5760405162461bcd60e51b815260040180806020018281038252602c815260200180611cff602c913960400191505060405180910390fd5b60006110e783610a7b565b9050806001600160a01b0316846001600160a01b031614806111225750836001600160a01b03166111178461075b565b6001600160a01b0316145b8061113257506111328185610fe9565b949350505050565b6111458383836114ca565b61114f838261160e565b6109258282611703565b610a1261116582610a7b565b82611741565b5490565b6111798282611789565b6111838282611703565b610bf4816118ba565b61119582611079565b6111d05760405162461bcd60e51b815260040180806020018281038252602c815260200180611eb5602c913960400191505060405180910390fd5b6000828152600d60209081526040909120825161092592840190611b5b565b8051610bf490600c906020840190611b5b565b6000611216846001600160a01b03166118fe565b61122257506001611132565b604051630a85bd0160e11b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b8381101561129c578181015183820152602001611284565b50505050905090810190601f1680156112c95780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156112eb57600080fd5b505af11580156112ff573d6000803e3d6000fd5b505050506040513d602081101561131557600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b6060808390506060839050606081518351016040519080825280601f01601f191660200182016040528015611371576020820181803883390190505b5090506000805b84518110156113c95784818151811061138d57fe5b602001015160f81c60f81b8383806001019450815181106113aa57fe5b60200101906001600160f81b031916908160001a905350600101611378565b5060005b835181101561141e578381815181106113e257fe5b602001015160f81c60f81b8383806001019450815181106113ff57fe5b60200101906001600160f81b031916908160001a9053506001016113cd565b50909695505050505050565b6001600160a01b03811661146f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611cb56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166114dd82610a7b565b6001600160a01b0316146115225760405162461bcd60e51b8152600401808060200182810382526029815260200180611ee16029913960400191505060405180910390fd5b6001600160a01b0382166115675760405162461bcd60e51b8152600401808060200182810382526024815260200180611cdb6024913960400191505060405180910390fd5b61157081611904565b6001600160a01b03831660009081526004602052604090206115919061193f565b6001600160a01b03821660009081526004602052604090206115b290611956565b60008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526006602052604081205461163890600163ffffffff61195f16565b6000838152600760205260409020549091508082146116d3576001600160a01b038416600090815260066020526040812080548490811061167557fe5b906000526020600020015490508060066000876001600160a01b03166001600160a01b0316815260200190815260200160002083815481106116b357fe5b600091825260208083209091019290925591825260079052604090208190555b6001600160a01b03841660009081526006602052604090208054906116fc906000198301611bd9565b5050505050565b6001600160a01b0390911660009081526006602081815260408084208054868652600784529185208290559282526001810183559183529091200155565b61174b82826119bc565b6000818152600d60205260409020546002600019610100600184161502019091160415610bf4576000818152600d60205260408120610bf491611bfd565b6001600160a01b0382166117e4576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6117ed81611079565b1561183f576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260026020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526004909152902061187e90611956565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b3b151590565b6000818152600360205260409020546001600160a01b031615610a1257600090815260036020526040902080546001600160a01b0319169055565b805461195290600163ffffffff61195f16565b9055565b80546001019055565b6000828211156119b6576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6119c682826119e8565b6119d0828261160e565b600081815260076020526040812055610bf481611abf565b816001600160a01b03166119fb82610a7b565b6001600160a01b031614611a405760405162461bcd60e51b8152600401808060200182810382526025815260200180611fb76025913960400191505060405180910390fd5b611a4981611904565b6001600160a01b0382166000908152600460205260409020611a6a9061193f565b60008181526002602052604080822080546001600160a01b0319169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600854600090611ad690600163ffffffff61195f16565b60008381526009602052604081205460088054939450909284908110611af857fe5b906000526020600020015490508060088381548110611b1357fe5b60009182526020808320909101929092558281526009909152604090208290556008805490611b46906000198301611bd9565b50505060009182525060096020526040812055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b9c57805160ff1916838001178555611bc9565b82800160010185558215611bc9579182015b82811115611bc9578251825591602001919060010190611bae565b50611bd5929150611c3d565b5090565b81548183558181111561092557600083815260209020610925918101908301611c3d565b50805460018160011615610100020316600290046000825580601f10611c235750610a12565b601f016020900490600052602060002090810190610a1291905b6108d291905b80821115611bd55760008155600101611c4356fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e7b226e616d65223a202022546573742052617269626c65222c20226465736372697074696f6e223a2022546573742052617269626c6520746f6b656e2077697468206d65746164617461222c2022696d616765223a202268747470733a2f2f697066732e64616f6e6f6d69632e636f6d2f697066732f516d5043384446513867377262425a48723143585a61416b677775354b4536373859705831476a4c587a63587459222c202265787465726e616c5f6c696e6b223a202268747470733a2f2f6170702e72617269626c652e636f6d2f227d4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a265627a7a723158201c1988da541c00349aab401514301aa60f2757689f8454e016cd2c15989e233964736f6c634300050c0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c546573742052617269626c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025452000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f697066732e64616f6e6f6d69632e636f6d00000000000000
-----Decoded View---------------
Arg [0] : name (string): Test Rarible
Arg [1] : symbol (string): TR
Arg [2] : tokenURIPrefix (string): https://ipfs.daonomic.com
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 546573742052617269626c650000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 5452000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [8] : 68747470733a2f2f697066732e64616f6e6f6d69632e636f6d00000000000000
Deployed Bytecode Sourcemap
40047:855:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40047:855:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13501:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13501:135:0;-1:-1:-1;;;;;;13501:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;36885:18;;;:::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;36885:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18348:204;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18348:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;18348:204:0;;;;;;;;;;;;;;17634:421;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17634:421:0;;;;;;;;:::i;:::-;;29764:96;;;:::i;:::-;;;;;;;;;;;;;;;;20025:290;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20025:290:0;;;;;;;;;;;;;;;;;:::i;29373:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;29373:232:0;;;;;;;;:::i;20961:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20961:134:0;;;;;;;;;;;;;;;;;:::i;27043:235::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27043:235:0;;:::i;30206:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30206:199:0;;:::i;16975:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16975:228:0;;:::i;16538:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16538:211:0;-1:-1:-1;;;;;16538:211:0;;:::i;1652:140::-;;;:::i;40615:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40615:149:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;40615:149:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40615:149: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;40615:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40615:149:0;;-1:-1:-1;40615:149:0;;-1:-1:-1;;;;;40615:149:0:i;841:79::-;;;:::i;1207:92::-;;;:::i;36933:20::-;;;:::i;40772:127::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40772:127:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;40772:127:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40772:127: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;40772:127:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40772:127:0;;-1:-1:-1;40772:127:0;;-1:-1:-1;;;;;40772:127:0:i;18853:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18853:248:0;;;;;;;;;;:::i;40293:314::-;;;:::i;21814:268::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;21814:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;21814:268:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;21814:268: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;21814:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;21814:268:0;;-1:-1:-1;21814:268:0;;-1:-1:-1;;;;;21814:268:0:i;36986:28::-;;;:::i;38317:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38317:232:0;;:::i;19431:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19431:147:0;;;;;;;;;;:::i;1947:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1947:109:0;-1:-1:-1;;;;;1947:109:0;;:::i;13501:135::-;-1:-1:-1;;;;;;13595:33:0;13571:4;13595:33;;;:20;:33;;;;;;;;;13501:135::o;36885:18::-;;;;;;;;;;;;;;;-1:-1:-1;;36885:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18348:204::-;18407:7;18435:16;18443:7;18435;:16::i;:::-;18427:73;;;;-1:-1:-1;;;18427:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18520:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;18520:24:0;;18348:204::o;17634:421::-;17698:13;17714:16;17722:7;17714;:16::i;:::-;17698:32;;17755:5;-1:-1:-1;;;;;17749:11:0;:2;-1:-1:-1;;;;;17749:11:0;;;17741:57;;;;-1:-1:-1;;;17741:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17819:10;-1:-1:-1;;;;;17819:19:0;;;;:58;;;17842:35;17859:5;17866:10;17842:16;:35::i;:::-;17811:150;;;;-1:-1:-1;;;17811:150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17974:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;17974:29:0;-1:-1:-1;;;;;17974:29:0;;;;;;;;;18019:28;;17974:24;;18019:28;;;;;;;17634:421;;;:::o;29764:96::-;29835:10;:17;29764:96;;:::o;20025:290::-;20169:39;20188:10;20200:7;20169:18;:39::i;:::-;20161:101;;;;-1:-1:-1;;;20161:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20275:32;20289:4;20295:2;20299:7;20275:13;:32::i;:::-;20025:290;;;:::o;29373:232::-;29453:7;29489:16;29499:5;29489:9;:16::i;:::-;29481:5;:24;29473:80;;;;-1:-1:-1;;;29473:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29571:19:0;;;;;;:12;:19;;;;;:26;;29591:5;;29571:26;;;;;;;;;;;;;;29564:33;;29373:232;;;;:::o;20961:134::-;21048:39;21065:4;21071:2;21075:7;21048:39;;;;;;;;;;;;:16;:39::i;27043:235::-;27153:39;27172:10;27184:7;27153:18;:39::i;:::-;27145:100;;;;-1:-1:-1;;;27145:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27256:14;27262:7;27256:5;:14::i;:::-;27043:235;:::o;30206:199::-;30264:7;30300:13;:11;:13::i;:::-;30292:5;:21;30284:78;;;;-1:-1:-1;;;30284:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30380:10;30391:5;30380:17;;;;;;;;;;;;;;;;30373:24;;30206:199;;;:::o;16975:228::-;17030:7;17066:20;;;:11;:20;;;;;;-1:-1:-1;;;;;17066:20:0;17105:19;17097:73;;;;-1:-1:-1;;;17097:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17190:5;16975:228;-1:-1:-1;;16975:228:0:o;16538:211::-;16593:7;-1:-1:-1;;;;;16621:19:0;;16613:74;;;;-1:-1:-1;;;16613:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16707:24:0;;;;;;:17;:24;;;;;:34;;:32;:34::i;1652:140::-;1053:9;:7;:9::i;:::-;1045:54;;;;;-1:-1:-1;;;1045:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1751:1;1735:6;;1714:40;;-1:-1:-1;;;;;1735:6:0;;;;1714:40;;1751:1;;1714:40;1782:1;1765:19;;-1:-1:-1;;;;;;1765:19:0;;;1652:140::o;40615:149::-;40688:26;40694:10;40706:7;40688:5;:26::i;:::-;40725:31;40738:7;40747:8;40725:12;:31::i;:::-;40615:149;;:::o;841:79::-;879:7;906:6;-1:-1:-1;;;;;906:6:0;841:79;:::o;1207:92::-;1247:4;1285:6;-1:-1:-1;;;;;1285:6:0;1271:10;:20;;1207:92::o;36933:20::-;;;;;;;;;;;;;;;-1:-1:-1;;36933:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40772:127;1053:9;:7;:9::i;:::-;1045:54;;;;;-1:-1:-1;;;1045:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40857:34;40876:14;40857:18;:34::i;18853:248::-;-1:-1:-1;;;;;18933:16:0;;18939:10;18933:16;;18925:54;;;;;-1:-1:-1;;;18925:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19011:10;18992:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;18992:34:0;;;;;;;;;;;;:45;;-1:-1:-1;;18992:45:0;;;;;;;;;;19053:40;;;;;;;18992:34;;19011:10;19053:40;;;;;;;;;;;18853:248;;:::o;40293:314::-;40337:13;40363:236;;;;;;;;;;;;;;;;;;;40293:314;:::o;21814:268::-;21921:31;21934:4;21940:2;21944:7;21921:12;:31::i;:::-;21971:48;21994:4;22000:2;22004:7;22013:5;21971:22;:48::i;:::-;21963:111;;;;-1:-1:-1;;;21963:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21814:268;;;;:::o;36986:28::-;;;;;;;;;;;;;;;-1:-1:-1;;36986:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38317:232;38375:13;38409:16;38417:7;38409;:16::i;:::-;38401:76;;;;-1:-1:-1;;;38401:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38505:14;38495:46;;;;;;;;-1:-1:-1;;38495:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38505:14;;38495:46;;38505:14;38495:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38521:19:0;;;;:10;:19;;;;;;;;;38495:46;;;;;;;;;;;-1:-1:-1;;38495:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38521:19:0;-1:-1:-1;38495:46:0;;38521:19;38495:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:46::i;19431:147::-;-1:-1:-1;;;;;19535:25:0;;;19511:4;19535:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;19431:147::o;1947:109::-;1053:9;:7;:9::i;:::-;1045:54;;;;;-1:-1:-1;;;1045:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2020:28;2039:8;2020:18;:28::i;22284:155::-;22341:4;22374:20;;;:11;:20;;;;;;-1:-1:-1;;;;;22374:20:0;22412:19;;;22284:155::o;22809:333::-;22894:4;22919:16;22927:7;22919;:16::i;:::-;22911:73;;;;-1:-1:-1;;;22911:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22995:13;23011:16;23019:7;23011;:16::i;:::-;22995:32;;23057:5;-1:-1:-1;;;;;23046:16:0;:7;-1:-1:-1;;;;;23046:16:0;;:51;;;;23090:7;-1:-1:-1;;;;;23066:31:0;:20;23078:7;23066:11;:20::i;:::-;-1:-1:-1;;;;;23066:31:0;;23046:51;:87;;;;23101:32;23118:5;23125:7;23101:16;:32::i;:::-;23038:96;22809:333;-1:-1:-1;;;;22809:333:0:o;30789:245::-;30875:38;30895:4;30901:2;30905:7;30875:19;:38::i;:::-;30926:47;30959:4;30965:7;30926:32;:47::i;:::-;30986:40;31014:2;31018:7;30986:27;:40::i;24535:92::-;24587:32;24593:16;24601:7;24593;:16::i;:::-;24611:7;24587:5;:32::i;12270:114::-;12362:14;;12270:114::o;31299:202::-;31363:24;31375:2;31379:7;31363:11;:24::i;:::-;31400:40;31428:2;31432:7;31400:27;:40::i;:::-;31453;31485:7;31453:31;:40::i;38796:195::-;38882:16;38890:7;38882;:16::i;:::-;38874:73;;;;-1:-1:-1;;;38874:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38958:19;;;;:10;:19;;;;;;;;:25;;;;;;;;:::i;37991:119::-;38070:32;;;;:14;;:32;;;;;:::i;26056:356::-;26178:4;26205:15;:2;-1:-1:-1;;;;;26205:13:0;;:15::i;:::-;26200:60;;-1:-1:-1;26244:4:0;26237:11;;26200:60;26288:70;;-1:-1:-1;;;26288:70:0;;26325:10;26288:70;;;;;;-1:-1:-1;;;;;26288:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26272:13;;26288:36;;;;;;26325:10;;26337:4;;26343:7;;26352:5;;26288:70;;;;;;;;;;;26272: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;26288:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26288:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26288:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26288:70:0;-1:-1:-1;;;;;;26377:26:0;-1:-1:-1;;;26377:26:0;;-1:-1:-1;;26056:356:0;;;;;;:::o;39548:425::-;39626:13;39652:16;39677:2;39652:28;;39691:16;39716:2;39691:28;;39730:16;39772:3;:10;39759:3;:10;:23;39749:34;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;39749:34:0;87::-1;135:17;;-1:-1;39749:34:0;-1:-1:-1;39730:53:0;-1:-1:-1;39794:6:0;;39815:55;39836:3;:10;39832:1;:14;39815:55;;;39864:3;39868:1;39864:6;;;;;;;;;;;;;;;;39853:3;39857;;;;;;39853:8;;;;;;;;;;;:17;-1:-1:-1;;;;;39853:17:0;;;;;;;;-1:-1:-1;39848:3:0;;39815:55;;;-1:-1:-1;39886:6:0;39881:55;39902:3;:10;39898:1;:14;39881:55;;;39930:3;39934:1;39930:6;;;;;;;;;;;;;;;;39919:3;39923;;;;;;39919:8;;;;;;;;;;;:17;-1:-1:-1;;;;;39919:17:0;;;;;;;;-1:-1:-1;39914:3:0;;39881:55;;;-1:-1:-1;39961:3:0;;39548:425;-1:-1:-1;;;;;;39548:425:0:o;2162:229::-;-1:-1:-1;;;;;2236:22:0;;2228:73;;;;-1:-1:-1;;;2228:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2338:6;;;2317:38;;-1:-1:-1;;;;;2317:38:0;;;;2338:6;;;2317:38;;;2366:6;:17;;-1:-1:-1;;;;;;2366:17:0;-1:-1:-1;;;;;2366:17:0;;;;;;;;;;2162:229::o;25011:459::-;25125:4;-1:-1:-1;;;;;25105:24:0;:16;25113:7;25105;:16::i;:::-;-1:-1:-1;;;;;25105:24:0;;25097:78;;;;-1:-1:-1;;;25097:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25194:16:0;;25186:65;;;;-1:-1:-1;;;25186:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25264:23;25279:7;25264:14;:23::i;:::-;-1:-1:-1;;;;;25300:23:0;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;25346:21:0;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;25392:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;25392:25:0;-1:-1:-1;;;;;25392:25:0;;;;;;;;;25435:27;;25392:20;;25435:27;;;;;;;25011:459;;;:::o;33972:1148::-;-1:-1:-1;;;;;34263:18:0;;34238:22;34263:18;;;:12;:18;;;;;:25;:32;;34293:1;34263:32;:29;:32;:::i;:::-;34306:18;34327:26;;;:17;:26;;;;;;34238:57;;-1:-1:-1;34460:28:0;;;34456:328;;-1:-1:-1;;;;;34527:18:0;;34505:19;34527:18;;;:12;:18;;;;;:34;;34546:14;;34527:34;;;;;;;;;;;;;;34505:56;;34611:11;34578:12;:18;34591:4;-1:-1:-1;;;;;34578:18:0;-1:-1:-1;;;;;34578:18:0;;;;;;;;;;;;34597:10;34578:30;;;;;;;;;;;;;;;;;;;:44;;;;34695:30;;;:17;:30;;;;;:43;;;34456:328;-1:-1:-1;;;;;34873:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;34873:27:0;;;:::i;:::-;;33972:1148;;;;:::o;32796:186::-;-1:-1:-1;;;;;32910:16:0;;;;;;;:12;:16;;;;;;;;:23;;32881:26;;;:17;:26;;;;;:52;;;32944:16;;;39:1:-1;23:18;;45:23;;32944:30:0;;;;;;;;32796:186::o;39293:247::-;39360:27;39372:5;39379:7;39360:11;:27::i;:::-;39446:19;;;;:10;:19;;;;;39440:33;;-1:-1:-1;;39440:33:0;;;;;;;;;;;:38;39436:97;;39502:19;;;;:10;:19;;;;;39495:26;;;:::i;23395:335::-;-1:-1:-1;;;;;23467:16:0;;23459:61;;;;;-1:-1:-1;;;23459:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23540:16;23548:7;23540;:16::i;:::-;23539:17;23531:58;;;;;-1:-1:-1;;;23531:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23602:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;23602:25:0;-1:-1:-1;;;;;23602:25:0;;;;;;;;23638:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;23689;;23714:7;;-1:-1:-1;;;;;23689:33:0;;;23706:1;;23689:33;;23706:1;;23689:33;23395:335;;:::o;33183:164::-;33287:10;:17;;33260:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;33315:24:0;;;;;;;33183:164::o;10814:422::-;11181:20;11220:8;;;10814:422::o;26580:175::-;26680:1;26644:24;;;:15;:24;;;;;;-1:-1:-1;;;;;26644:24:0;:38;26640:108;;26734:1;26699:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;26699:37:0;;;26580:175::o;12491:110::-;12572:14;;:21;;12591:1;12572:21;:18;:21;:::i;:::-;12555:38;;12491:110::o;12392:91::-;12456:19;;12474:1;12456:19;;;12392:91::o;7961:184::-;8019:7;8052:1;8047;:6;;8039:49;;;;;-1:-1:-1;;;8039:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8111:5:0;;;7961:184::o;31785:372::-;31852:27;31864:5;31871:7;31852:11;:27::i;:::-;31892:48;31925:5;31932:7;31892:32;:48::i;:::-;32090:1;32061:26;;;:17;:26;;;;;:30;32104:45;32079:7;32104:36;:45::i;24014:333::-;24109:5;-1:-1:-1;;;;;24089:25:0;:16;24097:7;24089;:16::i;:::-;-1:-1:-1;;;;;24089:25:0;;24081:75;;;;-1:-1:-1;;;24081:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24169:23;24184:7;24169:14;:23::i;:::-;-1:-1:-1;;;;;24205:24:0;;;;;;:17;:24;;;;;:36;;:34;:36::i;:::-;24283:1;24252:20;;;:11;:20;;;;;;:33;;-1:-1:-1;;;;;;24252:33:0;;;24303:36;24264:7;;24283:1;-1:-1:-1;;;;;24303:36:0;;;;;24283:1;;24303:36;24014:333;;:::o;35415:1082::-;35693:10;:17;35668:22;;35693:24;;35715:1;35693:24;:21;:24;:::i;:::-;35728:18;35749:24;;;:15;:24;;;;;;36122:10;:26;;35668:49;;-1:-1:-1;35749:24:0;;35668:49;;36122:26;;;;;;;;;;;;;;36100:48;;36186:11;36161:10;36172;36161:22;;;;;;;;;;;;;;;;;;;:36;;;;36266:28;;;:15;:28;;;;;;:41;;;36431:10;:19;;;;;-1:-1:-1;;36431:19:0;;;:::i;:::-;-1:-1:-1;;;36488:1:0;36461:24;;;-1:-1:-1;36461:15:0;:24;;;;;:28;35415:1082::o;40047:855::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40047:855:0;;;-1:-1:-1;40047:855:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://1c1988da541c00349aab401514301aa60f2757689f8454e016cd2c15989e2339
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.