Token House SHADOW
Overview ERC-721
Total Supply:
36 SHD
Holders:
36 addresses
Transfers:
-
Contract:
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Shadow
Compiler Version
v0.5.0+commit.1d4f565a
Optimization Enabled:
Yes with 2000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.5.0; import "./Folia.sol"; import "./IShadowController.sol"; import "./ERC2981ContractWideRoyalties.sol"; import "./MetadataUpdate.sol"; /* // .^7??????????????????????????????????????????????????????????????????7!: .~7????????????????????????????????: // :#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Y ^#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@5 // ^@@@@@@#BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB&@@@@@B [email protected]@@@@@#BBBBBBBBBBBBBBBBBBBBBBBBBBBBB#7 // [email protected]@@@@# [email protected]@@@@@ [email protected]@@@@G // .&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&G~ [email protected]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Y :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&P~ // J&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#[email protected]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B~ .Y&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B // [email protected]@@@@5 .7#@@@@@@@#?^.................... ..........................:#@@@@@J // ^5YYYJJJJJJJJJJJJJJJJJJJJJJJJJJY&@@@@@? .J&@@@@@@&[email protected]@@@@@! // [email protected]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@? :5&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7 // !GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPY~ ^JPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPJ^ // _____________________________________________________ Tomb Series ______________________________________________________ // _____________________________________________________ House SHADOW _____________________________________________________ // _____________________________________________ All artwork by David Rudnick _____________________________________________ // ________________________________________________ Deployed by Folia 2022 ________________________________________________ */ contract Shadow is Folia, ERC2981ContractWideRoyalties { address tombCouncil; constructor(address _tombCouncil, address _metadata, address royaltyRecipient) public Folia("House SHADOW", "SHD", _metadata){ tombCouncil = _tombCouncil; _setRoyalties(royaltyRecipient, 1_000); // 1,000 / 10,000 = 10% } function init() public { require(msg.sender == tombCouncil, "Only tombCouncil can init"); for (uint256 i = 1; i <= 36; i++) { _mint(tombCouncil, i); } } function transferFrom(address from, address to, uint256 tokenId) public { require(_isApprovedOrOwner(msg.sender, tokenId)); require(!IShadowController(controller).isLocked(from, to, tokenId), "SHADOW is locked"); _transferFrom(from, to, tokenId); } function tokenURI(uint _tokenId) external view returns (string memory _infoUrl) { return MetadataUpdate(metadata).tokenURI(_tokenId); } /// @notice Allows to set the royalties on the contract /// @dev This function in a real contract should be protected with a onlyOwner (or equivalent) modifier /// @param recipient the royalties recipient /// @param value royalties value (between 0 and 10000) function setRoyalties(address recipient, uint256 value) public onlyAdminOrController { _setRoyalties(recipient, value); } }
pragma solidity ^0.5.0; import "./ERC721Full.sol"; import "./IERC20.sol"; import "./Ownable.sol"; import "./Roles.sol"; import "./Metadata.sol"; /** * Folia contract is a Full ERC721 that has external metadata and controller contracts that can be updated by admin addresses or the current controller itself. * Admin addresses can be updated by the owner address. * Eth or ERC20s that have been sent to the contract can be moved out by an Admin or the controller contract. */ contract Folia is ERC721Full, Ownable { using Roles for Roles.Role; Roles.Role private _admins; uint8 admins; address public metadata; address public controller; modifier onlyAdminOrController() { require((_admins.has(msg.sender) || msg.sender == controller), "DOES_NOT_HAVE_ADMIN_OR_CONTROLLER_ROLE"); _; } constructor(string memory name, string memory symbol, address _metadata) public ERC721Full(name, symbol) { metadata = _metadata; _admins.add(msg.sender); admins += 1; } function mint(address recipient, uint256 tokenId) public onlyAdminOrController { _mint(recipient, tokenId); } function burn(uint256 tokenId) public onlyAdminOrController { _burn(ownerOf(tokenId), tokenId); } function updateMetadata(address _metadata) public onlyAdminOrController { metadata = _metadata; } function updateController(address _controller) public onlyAdminOrController { controller = _controller; } function addAdmin(address _admin) public onlyOwner { _admins.add(_admin); admins += 1; } function removeAdmin(address _admin) public onlyOwner { require(admins > 1, "CANT_REMOVE_LAST_ADMIN"); _admins.remove(_admin); admins -= 1; } function tokenURI(uint _tokenId) external view returns (string memory _infoUrl) { return Metadata(metadata).tokenURI(_tokenId); } /** * @dev Moves Eth to a certain address for use in the FoliaController * @param _to The address to receive the Eth. * @param _amount The amount of Eth to be transferred. */ function moveEth(address payable _to, uint256 _amount) public onlyAdminOrController { require(_amount <= address(this).balance); _to.transfer(_amount); } /** * @dev Moves Token to a certain address for use in the FoliaController * @param _to The address to receive the Token. * @param _amount The amount of Token to be transferred. * @param _token The address of the Token to be transferred. */ function moveToken(address _to, uint256 _amount, address _token) public onlyAdminOrController returns (bool) { require(_amount <= IERC20(_token).balanceOf(address(this))); return IERC20(_token).transfer(_to, _amount); } }
pragma solidity ^0.5.0; /** * Metadata contract is upgradeable and returns metadata about Token */ import "./strings.sol"; contract MetadataUpdate { using strings for *; string public base; address public deployer; function tokenURI(uint _tokenId) public view returns (string memory _infoUrl) { string memory id = uint2str(_tokenId); return base.toSlice().concat(id.toSlice()).toSlice().concat(".json".toSlice()); } function updateBase(string memory _base) public { require(deployer == msg.sender, "only deployer can update"); base = _base; } function uint2str(uint i) internal pure returns (string memory) { if (i == 0) return "0"; uint j = i; uint length; while (j != 0) { length++; j /= 10; } bytes memory bstr = new bytes(length); uint k = length - 1; while (i != 0) { uint _uint = 48 + i % 10; bstr[k--] = toBytes(_uint)[31]; i /= 10; } return string(bstr); } function toBytes(uint256 x) public pure returns (bytes memory b) { b = new bytes(32); assembly { mstore(add(b, 32), x) } } }
pragma solidity ^0.5.0; /** * The Controller is an upgradeable endpoint for controlling Folia.sol */ interface IShadowController { function isLocked(address from, address to, uint256 tokenId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; import './ERC165.sol'; import './ERC2981Base.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens contract ERC2981ContractWideRoyalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, 'ERC2981Royalties: Too high'); _royalties = RoyaltyInfo(recipient, uint24(value)); } function royaltyInfo(uint256, uint256 value) external view returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } }
pragma solidity ^0.5.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.5.0; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns (bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
pragma solidity ^0.5.0; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./ERC721Metadata.sol"; /** * @title Full ERC721 Token * This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it includes approve all functionality using operator terminology * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata { constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) { // solhint-disable-previous-line no-empty-blocks } }
pragma solidity ^0.5.0; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } }
pragma solidity ^0.5.0; /** * Metadata contract is upgradeable and returns metadata about Token */ import "./strings.sol"; contract Metadata { using strings for *; function tokenURI(uint _tokenId) public pure returns (string memory _infoUrl) { string memory base = "https://folia.app/v1/metadata/"; string memory id = uint2str(_tokenId); return base.toSlice().concat(id.toSlice()); } function uint2str(uint i) internal pure returns (string memory) { if (i == 0) return "0"; uint j = i; uint length; while (j != 0) { length++; j /= 10; } bytes memory bstr = new bytes(length); uint k = length - 1; while (i != 0) { uint _uint = 48 + i % 10; bstr[k--] = toBytes(_uint)[31]; i /= 10; } return string(bstr); } function toBytes(uint256 x) public pure returns (bytes memory b) { b = new bytes(32); assembly { mstore(add(b, 32), x) } } }
pragma solidity ^0.5.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./ERC165.sol"; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721 is ERC165, IERC721 { using SafeMath for uint256; using Address for address; // 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 => uint256) private _ownedTokensCount; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * 0x80ac58cd === * bytes4(keccak256('balanceOf(address)')) ^ * bytes4(keccak256('ownerOf(uint256)')) ^ * bytes4(keccak256('approve(address,uint256)')) ^ * bytes4(keccak256('getApproved(uint256)')) ^ * bytes4(keccak256('setApprovalForAll(address,bool)')) ^ * bytes4(keccak256('isApprovedForAll(address,address)')) ^ * bytes4(keccak256('transferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^ * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) */ constructor () public { // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); } /** * @dev Gets the balance of the specified address * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) public view returns (uint256) { require(owner != address(0)); return _ownedTokensCount[owner]; } /** * @dev Gets the owner of the specified token ID * @param tokenId uint256 ID of the token to query the owner of * @return owner address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view returns (address) { address owner = _tokenOwner[tokenId]; require(owner != address(0)); return owner; } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) public { address owner = ownerOf(tokenId); require(to != owner); require(msg.sender == owner || isApprovedForAll(owner, msg.sender)); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId)); return _tokenApprovals[tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf * @param to operator address to set the approval * @param approved representing the status of the approval to be set */ function setApprovalForAll(address to, bool approved) public { require(to != msg.sender); _operatorApprovals[msg.sender][to] = approved; emit ApprovalForAll(msg.sender, to, approved); } /** * @dev Tells whether an operator is approved by a given owner * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner, address operator) public view returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Transfers the ownership of a given token ID to another address * Usage of this method is discouraged, use `safeTransferFrom` whenever possible * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function transferFrom(address from, address to, uint256 tokenId) public { require(_isApprovedOrOwner(msg.sender, tokenId)); _transferFrom(from, to, tokenId); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { transferFrom(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data)); } /** * @dev Returns whether the specified token exists * @param tokenId uint256 ID of the token to query the existence of * @return whether the token exists */ function _exists(uint256 tokenId) internal view returns (bool) { address owner = _tokenOwner[tokenId]; return owner != address(0); } /** * @dev Returns whether the given spender can transfer a given token ID * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Internal function to mint a new token * Reverts if the given token ID already exists * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { require(to != address(0)); require(!_exists(tokenId)); _tokenOwner[tokenId] = to; _ownedTokensCount[to] = _ownedTokensCount[to].add(1); emit Transfer(address(0), to, tokenId); } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { require(ownerOf(tokenId) == owner); _clearApproval(tokenId); _ownedTokensCount[owner] = _ownedTokensCount[owner].sub(1); _tokenOwner[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * @param tokenId uint256 ID of the token being burned */ function _burn(uint256 tokenId) internal { _burn(ownerOf(tokenId), tokenId); } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { require(ownerOf(tokenId) == from); require(to != address(0)); _clearApproval(tokenId); _ownedTokensCount[from] = _ownedTokensCount[from].sub(1); _ownedTokensCount[to] = _ownedTokensCount[to].add(1); _tokenOwner[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Internal function to invoke `onERC721Received` on a target address * The call is not executed if the target address is not a contract * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) internal returns (bool) { if (!to.isContract()) { return true; } bytes4 retval = IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data); return (retval == _ERC721_RECEIVED); } /** * @dev Private function to clear current approval of a given token ID * @param tokenId uint256 ID of the token to be transferred */ function _clearApproval(uint256 tokenId) private { if (_tokenApprovals[tokenId] != address(0)) { _tokenApprovals[tokenId] = address(0); } } }
pragma solidity ^0.5.0; import "./IERC721Enumerable.sol"; import "./ERC721.sol"; import "./ERC165.sol"; /** * @title ERC-721 Non-Fungible Token with optional enumeration extension logic * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract ERC721Enumerable is ERC165, ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => uint256[]) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * 0x780e9d63 === * bytes4(keccak256('totalSupply()')) ^ * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^ * bytes4(keccak256('tokenByIndex(uint256)')) */ /** * @dev Constructor function */ constructor () public { // register the supported interface to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner * @param owner address owning the tokens list to be accessed * @param index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner)); return _ownedTokens[owner][index]; } /** * @dev Gets the total amount of tokens stored by the contract * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return _allTokens.length; } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens * @param index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply()); return _allTokens[index]; } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { super._transferFrom(from, to, tokenId); _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } /** * @dev Internal function to mint a new token * Reverts if the given token ID already exists * @param to address the beneficiary that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { super._mint(to, tokenId); _addTokenToOwnerEnumeration(to, tokenId); _addTokenToAllTokensEnumeration(tokenId); } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * Deprecated, use _burn(uint256) instead * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); _removeTokenFromOwnerEnumeration(owner, tokenId); // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund _ownedTokensIndex[tokenId] = 0; _removeTokenFromAllTokensEnumeration(tokenId); } /** * @dev Gets the list of token IDs of the requested owner * @param owner address owning the tokens * @return uint256[] List of token IDs owned by the requested address */ function _tokensOfOwner(address owner) internal view returns (uint256[] storage) { return _ownedTokens[owner]; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { _ownedTokensIndex[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the _ownedTokensIndex mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _ownedTokens[from].length.sub(1); uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array _ownedTokens[from].length--; // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occcupied by // lasTokenId, or just over the end of the array if the token was the last one). } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length.sub(1); uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array _allTokens.length--; _allTokensIndex[tokenId] = 0; } }
pragma solidity ^0.5.0; import "./ERC721.sol"; import "./IERC721Metadata.sol"; import "./ERC165.sol"; contract ERC721Metadata is ERC165, ERC721, IERC721Metadata { // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /** * 0x5b5e139f === * bytes4(keccak256('name()')) ^ * bytes4(keccak256('symbol()')) ^ * bytes4(keccak256('tokenURI(uint256)')) */ /** * @dev Constructor function */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721_METADATA); } /** * @dev Gets the token name * @return string representing the token name */ function name() external view returns (string memory) { return _name; } /** * @dev Gets the token symbol * @return string representing the token symbol */ function symbol() external view returns (string memory) { return _symbol; } /** * @dev Returns an URI for a given token ID * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenURI(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId)); return _tokenURIs[tokenId]; } /** * @dev Internal function to set the token URI for a given token * Reverts if the token ID does not exist * @param tokenId uint256 ID of the token to set its URI * @param uri string URI to assign */ function _setTokenURI(uint256 tokenId, string memory uri) internal { require(_exists(tokenId)); _tokenURIs[tokenId] = uri; } /** * @dev Internal function to burn a specific token * Reverts if the token does not exist * Deprecated, use _burn(uint256) instead * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
pragma solidity ^0.5.0; import "./IERC165.sol"; /** * @title ERC165 * @author Matt Condon (@shrugs) * @dev Implements ERC165 using a lookup table. */ contract ERC165 is IERC165 { bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(bytes4)')) */ /** * @dev a mapping of interface id to whether or not it's supported */ mapping(bytes4 => bool) private _supportedInterfaces; /** * @dev A contract implementing SupportsInterfaceWithLookup * implement ERC165 itself */ constructor () internal { _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev implement supportsInterface(bytes4) using a lookup table */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev internal method for registering an interface */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff); _supportedInterfaces[interfaceId] = true; } }
pragma solidity ^0.5.0; import "./IERC165.sol"; /** * @title ERC721 Non-Fungible Token Standard basic interface * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); function balanceOf(address owner) public view returns (uint256 balance); function ownerOf(uint256 tokenId) public view returns (address owner); function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function transferFrom(address from, address to, uint256 tokenId) public; function safeTransferFrom(address from, address to, uint256 tokenId) public; function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; }
pragma solidity ^0.5.0; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } }
pragma solidity ^0.5.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a `safeTransfer`. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); }
pragma solidity ^0.5.0; /** * Utility library of inline functions on addresses */ library Address { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param account address of the account to check * @return whether the target address is a contract */ function isContract(address account) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } }
pragma solidity ^0.5.0; /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is specified in ERC-165. This function * uses less than 30,000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
pragma solidity ^0.5.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ contract IERC721Enumerable is IERC721 { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId); function tokenByIndex(uint256 index) public view returns (uint256); }
pragma solidity ^0.5.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ 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 String & slice utility library for Solidity contracts. * @author Nick Johnson <[email protected]> */ pragma solidity ^0.5.0; library strings { struct slice { uint _len; uint _ptr; } function memcpy(uint dest, uint src, uint len) private pure { // Copy word-length chunks while possible for (; len >= 32; len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } // Copy remaining bytes uint mask = 256 ** (32 - len) - 1; assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } } /* * @dev Returns a slice containing the entire string. * @param self The string to make a slice from. * @return A newly allocated slice containing the entire string. */ function toSlice(string memory self) internal pure returns (slice memory) { uint ptr; assembly { ptr := add(self, 0x20) } return slice(bytes(self).length, ptr); } /* * @dev Returns a newly allocated string containing the concatenation of * `self` and `other`. * @param self The first slice to concatenate. * @param other The second slice to concatenate. * @return The concatenation of the two strings. */ function concat(slice memory self, slice memory other) internal pure returns (string memory) { string memory ret = new string(self._len + other._len); uint retptr; assembly { retptr := add(ret, 32) } memcpy(retptr, self._ptr, self._len); memcpy(retptr + self._len, other._ptr, other._len); return ret; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; import './ERC165.sol'; import './IERC2981Royalties.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; constructor() public { _registerInterface(_INTERFACE_ID_ERC2981); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.5.0; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 2000000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_token","type":"address"}],"name":"moveToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_controller","type":"address"}],"name":"updateController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_admin","type":"address"}],"name":"removeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"moveEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"name":"receiver","type":"address"},{"name":"royaltyAmount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"metadata","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_admin","type":"address"}],"name":"addAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_metadata","type":"address"}],"name":"updateMetadata","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"_infoUrl","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"init","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_tombCouncil","type":"address"},{"name":"_metadata","type":"address"},{"name":"royaltyRecipient","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":true,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405160608062002fac833981018060405260608110156200003357600080fd5b50805160208083015160409384015184518086018652600c81527f486f75736520534841444f570000000000000000000000000000000000000000818501528551808701909652600386527f5348440000000000000000000000000000000000000000000000000000000000938601939093529293909291908382828181620000e57f01ffc9a700000000000000000000000000000000000000000000000000000000640100000000620002c0810204565b620001197f80ac58cd00000000000000000000000000000000000000000000000000000000640100000000620002c0810204565b6200014d7f780e9d6300000000000000000000000000000000000000000000000000000000640100000000620002c0810204565b81516200016290600990602085019062000499565b5080516200017890600a90602084019062000499565b50620001ad7f5b5e139f00000000000000000000000000000000000000000000000000000000640100000000620002c0810204565b5050600c8054600160a060020a031916331790819055604051600160a060020a03919091169250600091507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600e805461010060a860020a031916610100600160a060020a0384160217905562000238600d336401000000006200032d810262001ee11704565b5050600e805460ff8082166001011660ff1990911617905550620002857f2a55205a00000000000000000000000000000000000000000000000000000000640100000000620002c0810204565b60118054600160a060020a031916600160a060020a038516179055620002b7816103e864010000000062000388810204565b5050506200053e565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620002f057600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b600160a060020a03811615156200034357600080fd5b62000358828264010000000062000461810204565b156200036357600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b612710811115620003fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015290519081900360640190fd5b60408051808201909152600160a060020a0390921680835262ffffff9091166020909201829052601080547401000000000000000000000000000000000000000090930260a060020a62ffffff0219600160a060020a031990941690921792909216179055565b6000600160a060020a03821615156200047957600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004dc57805160ff19168380011785556200050c565b828001600101855582156200050c579182015b828111156200050c578251825591602001919060010190620004ef565b506200051a9291506200051e565b5090565b6200053b91905b808211156200051a576000815560010162000525565b90565b612a5e806200054e6000396000f3fe6080604052600436106101a05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a781146101a5578063048e62ca1461020557806306cb5b661461025557806306fdde0314610297578063081812fc14610321578063095ea7b3146103745780631785f53c146103ba57806318160ddd146103fa5780631cc1472d1461042157806323b872dd146104675780632a55205a146104b75780632f745c5914610517578063392f37e91461055d57806340c10f191461057257806342842e0e146105b857806342966c68146106085780634f6ccce7146106325780636352211e1461065c578063704802751461068657806370a08231146106c6578063715018a6146107065780638c7ea24b1461071b5780638da5cb5b146107615780638f32d59b1461077657806395d89b411461078b578063a22cb465146107a0578063b88d4fde146107e8578063c5e2a7db146108c8578063c87b56dd14610908578063e1c7392a14610932578063e985e9c514610947578063f2fde38b1461098f578063f77c4791146109cf575b600080fd5b3480156101b157600080fd5b506101f1600480360360208110156101c857600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166109e4565b604080519115158252519081900360200190f35b34801561021157600080fd5b506101f16004803603606081101561022857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516610a1b565b34801561026157600080fd5b506102956004803603602081101561027857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c5e565b005b3480156102a357600080fd5b506102ac610d6b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e65781810151838201526020016102ce565b50505050905090810190601f1680156103135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032d57600080fd5b5061034b6004803603602081101561034457600080fd5b5035610e20565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561038057600080fd5b506102956004803603604081101561039757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610e5f565b3480156103c657600080fd5b50610295600480360360208110156103dd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610f47565b34801561040657600080fd5b5061040f611038565b60408051918252519081900360200190f35b34801561042d57600080fd5b506102956004803603604081101561044457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561103e565b34801561047357600080fd5b506102956004803603606081101561048a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561115a565b3480156104c357600080fd5b506104e7600480360360408110156104da57600080fd5b5080359060200135611294565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b34801561052357600080fd5b5061040f6004803603604081101561053a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611300565b34801561056957600080fd5b5061034b61135a565b34801561057e57600080fd5b506102956004803603604081101561059557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561137b565b3480156105c457600080fd5b50610295600480360360608110156105db57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561144f565b34801561061457600080fd5b506102956004803603602081101561062b57600080fd5b503561146b565b34801561063e57600080fd5b5061040f6004803603602081101561065557600080fd5b5035611546565b34801561066857600080fd5b5061034b6004803603602081101561067f57600080fd5b503561157b565b34801561069257600080fd5b50610295600480360360208110156106a957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166115b2565b3480156106d257600080fd5b5061040f600480360360208110156106e957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661160d565b34801561071257600080fd5b5061029561165a565b34801561072757600080fd5b506102956004803603604081101561073e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356116dc565b34801561076d57600080fd5b5061034b6117ac565b34801561078257600080fd5b506101f16117c8565b34801561079757600080fd5b506102ac6117e6565b3480156107ac57600080fd5b50610295600480360360408110156107c357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611865565b3480156107f457600080fd5b506102956004803603608081101561080b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561085357600080fd5b82018360208201111561086557600080fd5b8035906020019184600183028401116401000000008311171561088757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611921945050505050565b3480156108d457600080fd5b50610295600480360360208110156108eb57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611949565b34801561091457600080fd5b506102ac6004803603602081101561092b57600080fd5b5035611a5b565b34801561093e57600080fd5b50610295611b7e565b34801561095357600080fd5b506101f16004803603604081101561096a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611c3a565b34801561099b57600080fd5b50610295600480360360208110156109b257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611c75565b3480156109db57600080fd5b5061034b611c91565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b6000610a2e600d3363ffffffff611cad16565b80610a505750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610ae357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610b4f57600080fd5b505afa158015610b63573d6000803e3d6000fd5b505050506040513d6020811015610b7957600080fd5b5051831115610b8757600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610c2a57600080fd5b505af1158015610c3e573d6000803e3d6000fd5b505050506040513d6020811015610c5457600080fd5b5051949350505050565b610c6f600d3363ffffffff611cad16565b80610c915750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610d2457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e155780601f10610dea57610100808354040283529160200191610e15565b820191906000526020600020905b815481529060010190602001808311610df857829003601f168201915b505050505090505b90565b6000610e2b82611cfe565b1515610e3657600080fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610e6a8261157b565b905073ffffffffffffffffffffffffffffffffffffffff8381169082161415610e9257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff82161480610ebb5750610ebb8133611c3a565b1515610ec657600080fd5b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610f4f6117c8565b1515610f5a57600080fd5b600e54600160ff90911611610fd057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43414e545f52454d4f56455f4c4153545f41444d494e00000000000000000000604482015290519081900360640190fd5b610fe1600d8263ffffffff611d2816565b50600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff9182167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909116179055565b60075490565b61104f600d3363ffffffff611cad16565b806110715750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b151561110457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b303181111561111257600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015611155573d6000803e3d6000fd5b505050565b6111643382611dac565b151561116f57600080fd5b600f54604080517f2b87978200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015285811660248301526044820185905291519190921691632b879782916064808301926020929190829003018186803b1580156111f157600080fd5b505afa158015611205573d6000803e3d6000fd5b505050506040513d602081101561121b57600080fd5b50511561128957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f534841444f57206973206c6f636b656400000000000000000000000000000000604482015290519081900360640190fd5b611155838383611e3f565b60008061129f612999565b506040805180820190915260105473ffffffffffffffffffffffffffffffffffffffff81168083527401000000000000000000000000000000000000000090910462ffffff1660208301819052909350612710908502049150509250929050565b600061130b8361160d565b821061131657600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260056020526040902080548390811061134757fe5b9060005260206000200154905092915050565b600e54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b61138c600d3363ffffffff611cad16565b806113ae5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b151561144157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61144b8282611e5e565b5050565b6111558383836020604051908101604052806000815250611921565b61147c600d3363ffffffff611cad16565b8061149e5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b151561153157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61154361153d8261157b565b82611e7b565b50565b6000611550611038565b821061155b57600080fd5b600780548390811061156957fe5b90600052602060002001549050919050565b60008181526001602052604081205473ffffffffffffffffffffffffffffffffffffffff168015156115ac57600080fd5b92915050565b6115ba6117c8565b15156115c557600080fd5b6115d6600d8263ffffffff611ee116565b50600e805460ff808216600101167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116179055565b600073ffffffffffffffffffffffffffffffffffffffff8216151561163157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6116626117c8565b151561166d57600080fd5b600c5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6116ed600d3363ffffffff611cad16565b8061170f5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156117a257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61144b8282611f67565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b600c5473ffffffffffffffffffffffffffffffffffffffff16331490565b600a8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e155780601f10610dea57610100808354040283529160200191610e15565b73ffffffffffffffffffffffffffffffffffffffff821633141561188857600080fd5b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b61192c84848461115a565b6119388484848461207a565b151561194357600080fd5b50505050565b61195a600d3363ffffffff611cad16565b8061197c5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515611a0f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600e805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600e54604080517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490529051606092610100900473ffffffffffffffffffffffffffffffffffffffff169163c87b56dd916024808301926000929190829003018186803b158015611ad257600080fd5b505afa158015611ae6573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526020811015611b2d57600080fd5b810190808051640100000000811115611b4557600080fd5b82016020810184811115611b5857600080fd5b8151640100000000811182820187101715611b7257600080fd5b50909695505050505050565b60115473ffffffffffffffffffffffffffffffffffffffff163314611c0457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f6e6c7920746f6d62436f756e63696c2063616e20696e697400000000000000604482015290519081900360640190fd5b60015b6024811161154357601154611c329073ffffffffffffffffffffffffffffffffffffffff1682611e5e565b600101611c07565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b611c7d6117c8565b1515611c8857600080fd5b61154381612213565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff82161515611cd157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b73ffffffffffffffffffffffffffffffffffffffff81161515611d4a57600080fd5b611d548282611cad565b1515611d5f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b600080611db88361157b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e2757508373ffffffffffffffffffffffffffffffffffffffff16611e0f84610e20565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e375750611e378185611c3a565b949350505050565b611e4a8383836122c3565b611e548382612438565b611155828261258e565b611e6882826125d9565b611e72828261258e565b61144b816126cc565b611e858282612710565b6000818152600b602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018416150201909116041561144b576000818152600b6020526040812061144b916129b0565b73ffffffffffffffffffffffffffffffffffffffff81161515611f0357600080fd5b611f0d8282611cad565b15611f1757600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b612710811115611fd857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015290519081900360640190fd5b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff90921680835262ffffff909116602090920182905260108054740100000000000000000000000000000000000000009093027fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff000000000000000000000000000000000000000090941690921792909216179055565b600061209b8473ffffffffffffffffffffffffffffffffffffffff1661273c565b15156120a957506001611e37565b6040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015612149578181015183820152602001612131565b50505050905090810190601f1680156121765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561219857600080fd5b505af11580156121ac573d6000803e3d6000fd5b505050506040513d60208110156121c257600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b73ffffffffffffffffffffffffffffffffffffffff8116151561223557600080fd5b600c5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b8273ffffffffffffffffffffffffffffffffffffffff166122e38261157b565b73ffffffffffffffffffffffffffffffffffffffff161461230357600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561232557600080fd5b61232e81612744565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604090205461236590600163ffffffff6127a416565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526003602052604080822093909355908416815220546123a890600163ffffffff6127b916565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600360209081526040808320959095558582526001905283812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016831790559251849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604081205461246f90600163ffffffff6127a416565b6000838152600660205260409020549091508082146125335773ffffffffffffffffffffffffffffffffffffffff841660009081526005602052604081208054849081106124b957fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110151561251357fe5b600091825260208083209091019290925591825260069052604090208190555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600560205260409020805490612587907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016129f4565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff90911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b73ffffffffffffffffffffffffffffffffffffffff821615156125fb57600080fd5b61260481611cfe565b1561260e57600080fd5b600081815260016020818152604080842080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88169081179091558452600390915290912054612674916127b9565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b61271a82826127d2565b6127248282612438565b60008181526006602052604081205561144b816128dd565b6000903b1190565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161561154357600090815260026020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000828211156127b357600080fd5b50900390565b6000828201838110156127cb57600080fd5b9392505050565b8173ffffffffffffffffffffffffffffffffffffffff166127f28261157b565b73ffffffffffffffffffffffffffffffffffffffff161461281257600080fd5b61281b81612744565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604090205461285290600163ffffffff6127a416565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360209081526040808320949094558482526001905282812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6007546000906128f490600163ffffffff6127a416565b6000838152600860205260408120546007805493945090928490811061291657fe5b906000526020600020015490508060078381548110151561293357fe5b60009182526020808320909101929092558281526008909152604090208290556007805490612984907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016129f4565b50505060009182525060086020526040812055565b604080518082019091526000808252602082015290565b50805460018160011615610100020316600290046000825580601f106129d65750611543565b601f0160209004906000526020600020908101906115439190612a14565b815481835581811115611155576000838152602090206111559181019083015b610e1d91905b80821115612a2e5760008155600101612a1a565b509056fea165627a7a72305820ba3131085ee1d28191f15f58d388b07d6a0d0b185f68b0c8fd26e853b5b04ed90029000000000000000000000000cc1775ea6d7f62b4dca8faf075f864d3e15dd0f00000000000000000000000007496ef7031b76acd02c6f73a4421afb4a42fca4c0000000000000000000000004a61d76ea05a758c1db9c9b5a5ad22f445a38c46
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cc1775ea6d7f62b4dca8faf075f864d3e15dd0f00000000000000000000000007496ef7031b76acd02c6f73a4421afb4a42fca4c0000000000000000000000004a61d76ea05a758c1db9c9b5a5ad22f445a38c46
-----Decoded View---------------
Arg [0] : _tombCouncil (address): 0xcc1775ea6d7f62b4dca8faf075f864d3e15dd0f0
Arg [1] : _metadata (address): 0x7496ef7031b76acd02c6f73a4421afb4a42fca4c
Arg [2] : royaltyRecipient (address): 0x4a61d76ea05a758c1db9c9b5a5ad22f445a38c46
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000cc1775ea6d7f62b4dca8faf075f864d3e15dd0f0
Arg [1] : 0000000000000000000000007496ef7031b76acd02c6f73a4421afb4a42fca4c
Arg [2] : 0000000000000000000000004a61d76ea05a758c1db9c9b5a5ad22f445a38c46