ETH Price: $3,633.15 (+1.35%)

Token

ERC-20: Decomposer (DCMP)
 

Overview

Max Total Supply

232 DCMP

Holders

150

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
paulisson.eth
Balance
1 DCMP
0x6F2c254674e6439fA8b85aBE29D8fD13BF5D6D7B
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Decomposer

Compiler Version
v0.5.0+commit.1d4f565a

Optimization Enabled:
Yes with 2000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 2 of 22: Decomposer.sol
pragma solidity ^0.5.0;
import "./Folia.sol";

/*
     _                                                    
    | |                                                   
  __| | ___  ___ ___  _ __ ___  _ __   ___  ___  ___ _ __ 
 / _` |/ _ \/ __/ _ \| '_ ` _ \| '_ \ / _ \/ __|/ _ \ '__|
| (_| |  __/ (_| (_) | | | | | | |_) | (_) \__ \  __/ |   
 \__,_|\___|\___\___/|_| |_| |_| .__/ \___/|___/\___|_|   
                               | |                        
                               |_|                        
By Oliver Laric
Produced by Folia.app
*/

contract Decomposer is Folia {
    constructor(address _metadata) public Folia("Decomposer", "DCMP", _metadata){}
}

File 1 of 22: Address.sol
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;
    }
}

File 3 of 22: DecomposerController.sol
pragma solidity ^0.5.0;
/**
 * The FoliaControllerV2 is an upgradeable endpoint for controlling Folia.sol
 */

import "./Decomposer.sol";
import "./SafeMath.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./IERC721.sol";
import "./IERC165.sol";

interface Punk {
      function punkIndexToAddress(uint256 tokenId) external view returns (address owner);
     // mapping (uint => address) public punkIndexToAddress;
}

contract DecomposerController is Ownable, ReentrancyGuard {

    using SafeMath for uint256;

    event newContract(address contractAddress, uint256 maxEditions, cT contractType);
    event deletedContract(address contractAddress);
    event editionBought(address contractAddress, uint256 tokenId, uint256 newTokenId);
    uint256 public price = 8 * (10**16); // 0.08 Eth
    uint256 public totalMax = 888;
    mapping(address => uint256) public editionsLeft;

    Decomposer public decomposer;

    uint256 public adminSplit = 20;
    address payable public adminWallet;
    address payable public artistWallet;
    bool public paused;

    modifier notPaused() {
        require(!paused, "Must not be paused");
        _;
    }

    constructor(
        Decomposer _decomposer,
        address payable _adminWallet
    ) public {
        decomposer = _decomposer;
        adminWallet = _adminWallet;
        uint256 _maxEditions = 88;

        addContract(0xB77F0b25aF126FCE0ea41e5696F1E5e9102E1D77, _maxEditions, uint8(cT.ERC721)); // 3Words
        addContract(0x123b30E25973FeCd8354dd5f41Cc45A3065eF88C, _maxEditions, uint8(cT.ERC721)); // Alien Frens
        addContract(0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270, _maxEditions, uint8(cT.ERC721)); // Apparitions by Aaron Penne
        addContract(0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270, _maxEditions, uint8(cT.ERC721)); // Archetype by Kjetil Golid
        addContract(0x842D8B7B08C154ADc36A4f1186A0f401a10518EA, _maxEditions, uint8(cT.ERC721)); // Autobreeder (lite) by Harm van den Dorpel 
        addContract(0xDFAcD840f462C27b0127FC76b63e7925bEd0F9D5, _maxEditions, uint8(cT.ERC721)); // Avid Lines
        addContract(0xED5AF388653567Af2F388E6224dC7C4b3241C544, _maxEditions, uint8(cT.ERC721)); // Azuki
        addContract(0x8d04a8c79cEB0889Bdd12acdF3Fa9D207eD3Ff63, _maxEditions, uint8(cT.ERC721)); // Blitmap
        addContract(0xba30E5F9Bb24caa003E9f2f0497Ad287FDF95623, _maxEditions, uint8(cT.ERC721)); // Bored Ape Kennel Club
        addContract(0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D, _maxEditions, uint8(cT.ERC721)); // Bored Ape Yacht Club
        addContract(0xfcB1315C4273954F74Cb16D5b663DBF479EEC62e, _maxEditions, uint8(cT.ERC721)); // Capsule House
        addContract(0x059EDD72Cd353dF5106D2B9cC5ab83a52287aC3a, _maxEditions, uint8(cT.ERC721)); // Chromie Squiggle by Snowfro
        addContract(0x91Fba69Ce5071Cf9e828999a0F6006A7F7E2a959, _maxEditions, uint8(cT.ERC721)); // CLASSIFIED | Holly Herndon
        addContract(0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B, _maxEditions, uint8(cT.ERC721)); // CLONE X - X TAKASHI MURAKAMI
        addContract(0x1A92f7381B9F03921564a437210bB9396471050C, _maxEditions, uint8(cT.ERC721)); // Cool Cats NFT
        addContract(0xc92cedDfb8dd984A89fb494c376f9A48b999aAFc, _maxEditions, uint8(cT.ERC721)); // Creature World
        addContract(0x1CB1A5e65610AEFF2551A50f76a87a7d3fB649C6, _maxEditions, uint8(cT.ERC721)); // CrypToadz by GREMPLIN
        addContract(0xBACe7E22f06554339911A03B8e0aE28203Da9598, _maxEditions, uint8(cT.ERC721exception)); // CryptoArte
        addContract(0xF7a6E15dfD5cdD9ef12711Bd757a9b6021ABf643, _maxEditions, uint8(cT.ERC721exception)); // CryptoBots
        addContract(0x1981CC36b59cffdd24B01CC5d698daa75e367e04, _maxEditions, uint8(cT.ERC721)); // Crypto.Chicks
        addContract(0x5180db8F5c931aaE63c74266b211F580155ecac8, _maxEditions, uint8(cT.ERC721)); // Crypto Coven
        addContract(0x06012c8cf97BEaD5deAe237070F9587f8E7A266d, _maxEditions, uint8(cT.ERC721exception)); // CryptoKitties
        addContract(0x57a204AA1042f6E66DD7730813f4024114d74f37, _maxEditions, uint8(cT.ERC721)); // CyberKongz
        addContract(0xc1Caf0C19A8AC28c41Fe59bA6c754e4b9bd54dE9, _maxEditions, uint8(cT.ERC721)); // CryptoSkulls
        addContract(0xF87E31492Faf9A91B02Ee0dEAAd50d51d56D5d4d, _maxEditions, uint8(cT.ERC721)); // Decentraland
        addContract(0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e, _maxEditions, uint8(cT.ERC721)); // Doodles
        addContract(0x6CA044FB1cD505c1dB4eF7332e73a236aD6cb71C, _maxEditions, uint8(cT.ERC721)); // DotCom Seance
        addContract(0x4721D66937B16274faC603509E9D61C5372Ff220, _maxEditions, uint8(cT.ERC721)); // Fast Food Frens Collection
        addContract(0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270, _maxEditions, uint8(cT.ERC721)); // Fidenza by Tyler Hobbs
        addContract(0x90cfCE78f5ED32f9490fd265D16c77a8b5320Bd4, _maxEditions, uint8(cT.ERC721)); // FOMO Dog Club
        addContract(0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270, _maxEditions, uint8(cT.ERC721)); // Fragments of an Infinite Field by Monica Rizzolli
        addContract(0xC2C747E0F7004F9E8817Db2ca4997657a7746928, _maxEditions, uint8(cT.ERC721)); // Hashmasks
        addContract(0x0c2E57EFddbA8c768147D1fdF9176a0A6EBd5d83, _maxEditions, uint8(cT.ERC721)); // Kaiju Kingz
        addContract(0x9d413B9434c20C73f509505F7fbC6FC591bbf04A, _maxEditions, uint8(cT.ERC721)); // Kudzu
        addContract(0x8943C7bAC1914C9A7ABa750Bf2B6B09Fd21037E0, _maxEditions, uint8(cT.ERC721)); // Lazy Lions
        addContract(0x026224A2940bFE258D0dbE947919B62fE321F042, _maxEditions, uint8(cT.ERC721)); // lobsterdao
        addContract(0x4b3406a41399c7FD2BA65cbC93697Ad9E7eA61e5, _maxEditions, uint8(cT.ERC721)); // LOSTPOETS
        addContract(0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7, _maxEditions, uint8(cT.ERC721)); // Meebits
        addContract(0xF7143Ba42d40EAeB49b88DaC0067e54Af042E963, _maxEditions, uint8(cT.ERC721)); // Metasaurs by Dr. DMT
        addContract(0xc3f733ca98E0daD0386979Eb96fb1722A1A05E69, _maxEditions, uint8(cT.ERC721)); // MoonCats
        addContract(0x60E4d786628Fea6478F785A6d7e704777c86a7c6, _maxEditions, uint8(cT.ERC721)); // Mutant Ape Yacht Club
        addContract(0x9C8fF314C9Bc7F6e59A9d9225Fb22946427eDC03, _maxEditions, uint8(cT.ERC721)); // Nouns
        addContract(0x4f89Cd0CAE1e54D98db6a80150a824a533502EEa, _maxEditions, uint8(cT.ERC721)); // PEACEFUL GROUPIES
        addContract(0x67D9417C9C3c250f61A83C7e8658daC487B56B09, _maxEditions, uint8(cT.ERC721)); // PhantaBear
        addContract(0x050dc61dFB867E0fE3Cf2948362b6c0F3fAF790b, _maxEditions, uint8(cT.ERC721)); // PixelMap
        addContract(0xBd3531dA5CF5857e7CfAA92426877b022e612cf8, _maxEditions, uint8(cT.ERC721)); // Pudgy Penguins
        addContract(0x51Ae5e2533854495f6c587865Af64119db8F59b4, _maxEditions, uint8(cT.ERC721)); // PunkScapes
        addContract(0x29b7315fc83172CFcb45c2Fb415E91A265fb73f2, _maxEditions, uint8(cT.ERC721)); // Realiti
        addContract(0x8CD3cEA52a45f30Ed7c93a63FB2b5C13B453d5A1, _maxEditions, uint8(cT.ERC721)); // Rebel Society
        addContract(0x3Fe1a4c1481c8351E91B64D5c398b159dE07cbc5, _maxEditions, uint8(cT.ERC721)); // SupDucks
        addContract(0xF4ee95274741437636e748DdAc70818B4ED7d043, _maxEditions, uint8(cT.ERC721)); // The Doge Pound
        addContract(0x5CC5B05a8A13E3fBDB0BB9FcCd98D38e50F90c38, _maxEditions, uint8(cT.ERC721)); // The Sandbox
        addContract(0x11450058d796B02EB53e65374be59cFf65d3FE7f, _maxEditions, uint8(cT.ERC721)); // THE SHIBOSHIS
        addContract(0x7f7685b4CC34BD19E2B712D8a89f34D219E76c35, _maxEditions, uint8(cT.ERC721)); // WomenRise
        addContract(0xe785E82358879F061BC3dcAC6f0444462D4b5330, _maxEditions, uint8(cT.ERC721)); // World of Women
        addContract(0xB67812ce508b9fC190740871032237C24b6896A0, _maxEditions, uint8(cT.ERC721)); // WoW Pixies Official
        addContract(0xd0e7Bc3F1EFc5f098534Bce73589835b8273b9a0, _maxEditions, uint8(cT.ERC721)); // Wrapped CryptoCats Official
        addContract(0x6f9d53BA6c16fcBE66695E860e72a92581b58Aed, _maxEditions, uint8(cT.ERC721)); // Wrapped Pixereum
        
        // // rinkeby
        // addContract(0xF80B749e0d03C005b8EfB7451BC6552555556149, _maxEditions, uint8(cT.ERC721)); // Kudzu

        // folia
        addContract(0xDCe09254dD3592381b6A5b7a848B29890b656e01, _maxEditions, uint8(cT.Folia)); // Emoji Script by Travess Smalley (work 2)
        // rinkeby
        // addContract(0x95793c65c398D0a5EEb92d6b475f4E6a2044Bee1, _maxEditions, uint8(cT.ERC721)); // Emoji Script by Travess Smalley (work 2)

        // non-standard
        addContract(0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB, _maxEditions, uint8(cT.Punk)); // CryptoPunks
        // //rinkeby
        // addContract(0x999426cb37bb8Ea786d3E24F6094004fad686f70, _maxEditions, uint8(cT.Punk)); // rinkeby CryptoPunks
    }

    enum cT {ERC721, Punk, Folia, ERC721exception}
    struct ContractInfo {
      cT _cT;
      uint256 editionsLeft;
    }
    mapping(address => ContractInfo) public aC;

    // can be re-used as an "updateContractEditionSize"
    function addContract(address contractAddress, uint256 maxEditions, uint8 _cT ) public onlyOwner {
      
      if (_cT == uint8(cT.ERC721)) {
        require(IERC165(contractAddress).supportsInterface(0x80ac58cd), "Not an ERC721");
      } else {
        require(_cT == uint8(cT.Punk) || _cT == uint8(cT.Folia) || _cT == uint8(cT.ERC721exception), "Unknown contractType");
      }

      aC[contractAddress]._cT = cT(_cT);
      aC[contractAddress].editionsLeft = maxEditions;
      emit newContract(contractAddress, maxEditions, cT(_cT));
    }
    
    function removeContract(address contractAddress) public onlyOwner {
      delete aC[contractAddress];
      emit deletedContract(contractAddress);
    }

    function updateArtworkPrice(uint256 _price) public onlyOwner {
      price = _price;
    }

    function updateArtistWallet(address payable _artistWallet) public onlyOwner {
      artistWallet = _artistWallet;
    }

    function updateTotalMax(uint256 _totalMax) public onlyOwner {
      totalMax = _totalMax;
    }

    function buy(address recipient, address contractAddress, uint256 tokenId) public payable notPaused nonReentrant returns(bool) {
        require(aC[contractAddress].editionsLeft != 0, "Wrong Contract or No Editions Left");
        aC[contractAddress].editionsLeft -= 1;

        require(msg.value == price, "Wrong price paid");

        if (aC[contractAddress]._cT == cT.Punk) {
          require(Punk(contractAddress).punkIndexToAddress(tokenId) == msg.sender, "Can't mint a token you don't own");
        } else if (aC[contractAddress]._cT == cT.ERC721 || aC[contractAddress]._cT == cT.ERC721exception) {
          require(IERC721(contractAddress).ownerOf(tokenId) == msg.sender, "Can't mint a token you don't own");
        } else if (aC[contractAddress]._cT == cT.Folia) {
          //mainnet
          require(tokenId >= 2000000 && tokenId <= 2000500, "Can't mint this Folia token");

          // rinkeby
          // require(tokenId >= 13000000 && tokenId <= 2000058, "Can't mint this Folia token");
          require(IERC721(contractAddress).ownerOf(tokenId) == msg.sender, "Can't mint a token you don't own");
        }

        uint256 newTokenId = uint256(keccak256(abi.encodePacked(contractAddress, tokenId)));
        decomposer.mint(recipient, newTokenId);

        uint256 adminReceives = msg.value.mul(adminSplit).div(100);
        uint256 artistReceives = msg.value.sub(adminReceives);

        (bool success, ) = adminWallet.call.value(adminReceives)("");
        require(success, "admin failed to receive");

        (success, ) = artistWallet.call.value(artistReceives)("");
        require(success, "artist failed to receive");

        emit editionBought(contractAddress, tokenId, newTokenId);
    }

    function updateAdminSplit(uint256 _adminSplit) public onlyOwner {
        require(_adminSplit <= 100, "SPLIT_MUST_BE_LTE_100");
        adminSplit = _adminSplit;
    }

    function updateAdminWallet(address payable _adminWallet) public onlyOwner {
        adminWallet = _adminWallet;
    }

    function updatePaused(bool _paused) public onlyOwner {
        paused = _paused;
    }
}

File 4 of 22: DecomposerMetadata.sol
pragma solidity ^0.5.0;
/**
* Metadata contract is upgradeable and returns metadata about Token
*/

import "./Metadata.sol";

contract DecomposerMetadata is Metadata {
    function tokenURI(uint _tokenId) public pure returns (string memory _infoUrl) {
        string memory base = "https://decomposer.folia.app/v1/metadata/";
        string memory id = uint2str(_tokenId);
        return base.toSlice().concat(id.toSlice());
    }
}

File 5 of 22: ERC165.sol
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;
    }
}

File 6 of 22: ERC721.sol
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);
        }
    }
}

File 7 of 22: ERC721Enumerable.sol
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;
    }
}

File 8 of 22: ERC721Full.sol
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
    }
}

File 9 of 22: ERC721Metadata.sol
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];
        }
    }
}

File 10 of 22: Folia.sol
pragma solidity ^0.5.0;
import "./ERC721Full.sol";
import "./IERC20.sol";
import "./Ownable.sol";
import "./Roles.sol";
import "./Metadata.sol";



/**
 * The Token contract does this and that...
 */
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 recepient, uint256 tokenId) public onlyAdminOrController {
        _mint(recepient, 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);
    }

}

File 11 of 22: IERC165.sol
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);
}

File 12 of 22: IERC20.sol
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);
}

File 13 of 22: IERC721.sol
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;
}

File 14 of 22: IERC721Enumerable.sol
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);
}

File 15 of 22: IERC721Metadata.sol
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);
}

File 16 of 22: IERC721Receiver.sol
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);
}

File 17 of 22: Metadata.sol
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) }
    }
}

File 18 of 22: Ownable.sol
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;
    }
}

File 19 of 22: ReentrancyGuard.sol
pragma solidity ^0.5.0;

/**
 * @title Helps contracts guard against reentrancy attacks.
 * @author Remco Bloemen <remco@2π.com>, Eenae <[email protected]>
 * @dev If you mark a function `nonReentrant`, you should also
 * mark it `external`.
 */
contract ReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter);
    }
}

File 20 of 22: Roles.sol
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];
    }
}

File 21 of 22: SafeMath.sol
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;
    }
}

File 22 of 22: strings.sol
/*
 * @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;
    }
}

Contract Security Audit

Contract ABI

[{"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":"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":"recepient","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":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":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":"_metadata","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"}]

60806040523480156200001157600080fd5b5060405160208062002946833981018060405260208110156200003357600080fd5b5051604080518082018252600a81527f4465636f6d706f736572000000000000000000000000000000000000000000006020828101919091528251808401909352600483527f44434d500000000000000000000000000000000000000000000000000000000090830152908282828181620000d77f01ffc9a7000000000000000000000000000000000000000000000000000000006401000000006200024b810204565b6200010b7f80ac58cd000000000000000000000000000000000000000000000000000000006401000000006200024b810204565b6200013f7f780e9d63000000000000000000000000000000000000000000000000000000006401000000006200024b810204565b8151620001549060099060208501906200034b565b5080516200016a90600a9060208401906200034b565b506200019f7f5b5e139f000000000000000000000000000000000000000000000000000000006401000000006200024b810204565b5050600c8054600160a060020a031916331790819055604051600160a060020a03919091169250600091507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600e805461010060a860020a031916610100600160a060020a038416021790556200022a600d33640100000000620002b8810262001af31704565b5050600e805460ff8082166001011660ff1990911617905550620003f09050565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200027b57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b600160a060020a0381161515620002ce57600080fd5b620002e3828264010000000062000313810204565b15620002ee57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a03821615156200032b57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200038e57805160ff1916838001178555620003be565b82800160010185558215620003be579182015b82811115620003be578251825591602001919060010190620003a1565b50620003cc929150620003d0565b5090565b620003ed91905b80821115620003cc5760008155600101620003d7565b90565b61254680620004006000396000f3fe60806040526004361061017f5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a78114610184578063048e62ca146101e457806306cb5b661461023457806306fdde0314610276578063081812fc14610300578063095ea7b3146103535780631785f53c1461039957806318160ddd146103d95780631cc1472d1461040057806323b872dd146104465780632f745c5914610496578063392f37e9146104dc57806340c10f19146104f157806342842e0e1461053757806342966c68146105875780634f6ccce7146105b15780636352211e146105db578063704802751461060557806370a0823114610645578063715018a6146106855780638da5cb5b1461069a5780638f32d59b146106af57806395d89b41146106c4578063a22cb465146106d9578063b88d4fde14610721578063c5e2a7db14610801578063c87b56dd14610841578063e985e9c51461086b578063f2fde38b146108b3578063f77c4791146108f3575b600080fd5b34801561019057600080fd5b506101d0600480360360208110156101a757600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610908565b604080519115158252519081900360200190f35b3480156101f057600080fd5b506101d06004803603606081101561020757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040909101351661093f565b34801561024057600080fd5b506102746004803603602081101561025757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b82565b005b34801561028257600080fd5b5061028b610c8f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c55781810151838201526020016102ad565b50505050905090810190601f1680156102f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030c57600080fd5b5061032a6004803603602081101561032357600080fd5b5035610d44565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561035f57600080fd5b506102746004803603604081101561037657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610d83565b3480156103a557600080fd5b50610274600480360360208110156103bc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e6b565b3480156103e557600080fd5b506103ee610f5c565b60408051918252519081900360200190f35b34801561040c57600080fd5b506102746004803603604081101561042357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f62565b34801561045257600080fd5b506102746004803603606081101561046957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561107e565b3480156104a257600080fd5b506103ee600480360360408110156104b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561109e565b3480156104e857600080fd5b5061032a6110f8565b3480156104fd57600080fd5b506102746004803603604081101561051457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611119565b34801561054357600080fd5b506102746004803603606081101561055a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356111ed565b34801561059357600080fd5b50610274600480360360208110156105aa57600080fd5b5035611209565b3480156105bd57600080fd5b506103ee600480360360208110156105d457600080fd5b50356112e4565b3480156105e757600080fd5b5061032a600480360360208110156105fe57600080fd5b5035611319565b34801561061157600080fd5b506102746004803603602081101561062857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611350565b34801561065157600080fd5b506103ee6004803603602081101561066857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113ab565b34801561069157600080fd5b506102746113f8565b3480156106a657600080fd5b5061032a61147a565b3480156106bb57600080fd5b506101d0611496565b3480156106d057600080fd5b5061028b6114b4565b3480156106e557600080fd5b50610274600480360360408110156106fc57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611533565b34801561072d57600080fd5b506102746004803603608081101561074457600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561078c57600080fd5b82018360208201111561079e57600080fd5b803590602001918460018302840111640100000000831117156107c057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115ef945050505050565b34801561080d57600080fd5b506102746004803603602081101561082457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611617565b34801561084d57600080fd5b5061028b6004803603602081101561086457600080fd5b5035611729565b34801561087757600080fd5b506101d06004803603604081101561088e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661184c565b3480156108bf57600080fd5b50610274600480360360208110156108d657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611887565b3480156108ff57600080fd5b5061032a6118a3565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b6000610952600d3363ffffffff6118bf16565b806109745750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610a0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a7357600080fd5b505afa158015610a87573d6000803e3d6000fd5b505050506040513d6020811015610a9d57600080fd5b5051831115610aab57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b505050506040513d6020811015610b7857600080fd5b5051949350505050565b610b93600d3363ffffffff6118bf16565b80610bb55750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610c4857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d395780601f10610d0e57610100808354040283529160200191610d39565b820191906000526020600020905b815481529060010190602001808311610d1c57829003601f168201915b505050505090505b90565b6000610d4f82611910565b1515610d5a57600080fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610d8e82611319565b905073ffffffffffffffffffffffffffffffffffffffff8381169082161415610db657600080fd5b3373ffffffffffffffffffffffffffffffffffffffff82161480610ddf5750610ddf813361184c565b1515610dea57600080fd5b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610e73611496565b1515610e7e57600080fd5b600e54600160ff90911611610ef457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43414e545f52454d4f56455f4c4153545f41444d494e00000000000000000000604482015290519081900360640190fd5b610f05600d8263ffffffff61193a16565b50600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff9182167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909116179055565b60075490565b610f73600d3363ffffffff6118bf16565b80610f955750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b151561102857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b303181111561103657600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015611079573d6000803e3d6000fd5b505050565b61108833826119be565b151561109357600080fd5b611079838383611a51565b60006110a9836113ab565b82106110b457600080fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602052604090208054839081106110e557fe5b9060005260206000200154905092915050565b600e54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b61112a600d3363ffffffff6118bf16565b8061114c5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156111df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6111e98282611a70565b5050565b61107983838360206040519081016040528060008152506115ef565b61121a600d3363ffffffff6118bf16565b8061123c5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156112cf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6112e16112db82611319565b82611a8d565b50565b60006112ee610f5c565b82106112f957600080fd5b600780548390811061130757fe5b90600052602060002001549050919050565b60008181526001602052604081205473ffffffffffffffffffffffffffffffffffffffff1680151561134a57600080fd5b92915050565b611358611496565b151561136357600080fd5b611374600d8263ffffffff611af316565b50600e805460ff808216600101167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116179055565b600073ffffffffffffffffffffffffffffffffffffffff821615156113cf57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b611400611496565b151561140b57600080fd5b600c5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b600c5473ffffffffffffffffffffffffffffffffffffffff16331490565b600a8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d395780601f10610d0e57610100808354040283529160200191610d39565b73ffffffffffffffffffffffffffffffffffffffff821633141561155657600080fd5b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6115fa84848461107e565b61160684848484611b79565b151561161157600080fd5b50505050565b611628600d3363ffffffff6118bf16565b8061164a5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156116dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600e805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600e54604080517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490529051606092610100900473ffffffffffffffffffffffffffffffffffffffff169163c87b56dd916024808301926000929190829003018186803b1580156117a057600080fd5b505afa1580156117b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156117fb57600080fd5b81019080805164010000000081111561181357600080fd5b8201602081018481111561182657600080fd5b815164010000000081118282018710171561184057600080fd5b50909695505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b61188f611496565b151561189a57600080fd5b6112e181611d12565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff821615156118e357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b73ffffffffffffffffffffffffffffffffffffffff8116151561195c57600080fd5b61196682826118bf565b151561197157600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6000806119ca83611319565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a3957508373ffffffffffffffffffffffffffffffffffffffff16611a2184610d44565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a495750611a49818561184c565b949350505050565b611a5c838383611dc2565b611a668382611f37565b611079828261208d565b611a7a82826120d8565b611a84828261208d565b6111e9816121cb565b611a97828261220f565b6000818152600b602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001841615020190911604156111e9576000818152600b602052604081206111e991612498565b73ffffffffffffffffffffffffffffffffffffffff81161515611b1557600080fd5b611b1f82826118bf565b15611b2957600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000611b9a8473ffffffffffffffffffffffffffffffffffffffff1661223b565b1515611ba857506001611a49565b6040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015611c48578181015183820152602001611c30565b50505050905090810190601f168015611c755780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611c9757600080fd5b505af1158015611cab573d6000803e3d6000fd5b505050506040513d6020811015611cc157600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b73ffffffffffffffffffffffffffffffffffffffff81161515611d3457600080fd5b600c5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b8273ffffffffffffffffffffffffffffffffffffffff16611de282611319565b73ffffffffffffffffffffffffffffffffffffffff1614611e0257600080fd5b73ffffffffffffffffffffffffffffffffffffffff82161515611e2457600080fd5b611e2d81612243565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040902054611e6490600163ffffffff6122a316565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600360205260408082209390935590841681522054611ea790600163ffffffff6122b816565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600360209081526040808320959095558582526001905283812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016831790559251849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260056020526040812054611f6e90600163ffffffff6122a316565b6000838152600660205260409020549091508082146120325773ffffffffffffffffffffffffffffffffffffffff84166000908152600560205260408120805484908110611fb857fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110151561201257fe5b600091825260208083209091019290925591825260069052604090208190555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600560205260409020805490612086907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016124dc565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff90911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b73ffffffffffffffffffffffffffffffffffffffff821615156120fa57600080fd5b61210381611910565b1561210d57600080fd5b600081815260016020818152604080842080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88169081179091558452600390915290912054612173916122b8565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b61221982826122d1565b6122238282611f37565b6000818152600660205260408120556111e9816123dc565b6000903b1190565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156112e157600090815260026020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000828211156122b257600080fd5b50900390565b6000828201838110156122ca57600080fd5b9392505050565b8173ffffffffffffffffffffffffffffffffffffffff166122f182611319565b73ffffffffffffffffffffffffffffffffffffffff161461231157600080fd5b61231a81612243565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604090205461235190600163ffffffff6122a316565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360209081526040808320949094558482526001905282812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6007546000906123f390600163ffffffff6122a316565b6000838152600860205260408120546007805493945090928490811061241557fe5b906000526020600020015490508060078381548110151561243257fe5b60009182526020808320909101929092558281526008909152604090208290556007805490612483907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016124dc565b50505060009182525060086020526040812055565b50805460018160011615610100020316600290046000825580601f106124be57506112e1565b601f0160209004906000526020600020908101906112e191906124fc565b815481835581811115611079576000838152602090206110799181019083015b610d4191905b808211156125165760008155600101612502565b509056fea165627a7a723058204d4778adcb34343ab65baa4a100fcedf8eab767a5e2c0f95a671d5b55a965e30002900000000000000000000000017c5e70866f7a12c5524b08766d01580988c1534

Deployed Bytecode

0x60806040526004361061017f5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a78114610184578063048e62ca146101e457806306cb5b661461023457806306fdde0314610276578063081812fc14610300578063095ea7b3146103535780631785f53c1461039957806318160ddd146103d95780631cc1472d1461040057806323b872dd146104465780632f745c5914610496578063392f37e9146104dc57806340c10f19146104f157806342842e0e1461053757806342966c68146105875780634f6ccce7146105b15780636352211e146105db578063704802751461060557806370a0823114610645578063715018a6146106855780638da5cb5b1461069a5780638f32d59b146106af57806395d89b41146106c4578063a22cb465146106d9578063b88d4fde14610721578063c5e2a7db14610801578063c87b56dd14610841578063e985e9c51461086b578063f2fde38b146108b3578063f77c4791146108f3575b600080fd5b34801561019057600080fd5b506101d0600480360360208110156101a757600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610908565b604080519115158252519081900360200190f35b3480156101f057600080fd5b506101d06004803603606081101561020757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135916040909101351661093f565b34801561024057600080fd5b506102746004803603602081101561025757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b82565b005b34801561028257600080fd5b5061028b610c8f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c55781810151838201526020016102ad565b50505050905090810190601f1680156102f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030c57600080fd5b5061032a6004803603602081101561032357600080fd5b5035610d44565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561035f57600080fd5b506102746004803603604081101561037657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610d83565b3480156103a557600080fd5b50610274600480360360208110156103bc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e6b565b3480156103e557600080fd5b506103ee610f5c565b60408051918252519081900360200190f35b34801561040c57600080fd5b506102746004803603604081101561042357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f62565b34801561045257600080fd5b506102746004803603606081101561046957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561107e565b3480156104a257600080fd5b506103ee600480360360408110156104b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561109e565b3480156104e857600080fd5b5061032a6110f8565b3480156104fd57600080fd5b506102746004803603604081101561051457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611119565b34801561054357600080fd5b506102746004803603606081101561055a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356111ed565b34801561059357600080fd5b50610274600480360360208110156105aa57600080fd5b5035611209565b3480156105bd57600080fd5b506103ee600480360360208110156105d457600080fd5b50356112e4565b3480156105e757600080fd5b5061032a600480360360208110156105fe57600080fd5b5035611319565b34801561061157600080fd5b506102746004803603602081101561062857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611350565b34801561065157600080fd5b506103ee6004803603602081101561066857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113ab565b34801561069157600080fd5b506102746113f8565b3480156106a657600080fd5b5061032a61147a565b3480156106bb57600080fd5b506101d0611496565b3480156106d057600080fd5b5061028b6114b4565b3480156106e557600080fd5b50610274600480360360408110156106fc57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611533565b34801561072d57600080fd5b506102746004803603608081101561074457600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561078c57600080fd5b82018360208201111561079e57600080fd5b803590602001918460018302840111640100000000831117156107c057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115ef945050505050565b34801561080d57600080fd5b506102746004803603602081101561082457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611617565b34801561084d57600080fd5b5061028b6004803603602081101561086457600080fd5b5035611729565b34801561087757600080fd5b506101d06004803603604081101561088e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661184c565b3480156108bf57600080fd5b50610274600480360360208110156108d657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611887565b3480156108ff57600080fd5b5061032a6118a3565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b6000610952600d3363ffffffff6118bf16565b806109745750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610a0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b158015610a7357600080fd5b505afa158015610a87573d6000803e3d6000fd5b505050506040513d6020811015610a9d57600080fd5b5051831115610aab57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b505050506040513d6020811015610b7857600080fd5b5051949350505050565b610b93600d3363ffffffff6118bf16565b80610bb55750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b1515610c4857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d395780601f10610d0e57610100808354040283529160200191610d39565b820191906000526020600020905b815481529060010190602001808311610d1c57829003601f168201915b505050505090505b90565b6000610d4f82611910565b1515610d5a57600080fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610d8e82611319565b905073ffffffffffffffffffffffffffffffffffffffff8381169082161415610db657600080fd5b3373ffffffffffffffffffffffffffffffffffffffff82161480610ddf5750610ddf813361184c565b1515610dea57600080fd5b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610e73611496565b1515610e7e57600080fd5b600e54600160ff90911611610ef457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43414e545f52454d4f56455f4c4153545f41444d494e00000000000000000000604482015290519081900360640190fd5b610f05600d8263ffffffff61193a16565b50600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff9182167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909116179055565b60075490565b610f73600d3363ffffffff6118bf16565b80610f955750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b151561102857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b303181111561103657600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015611079573d6000803e3d6000fd5b505050565b61108833826119be565b151561109357600080fd5b611079838383611a51565b60006110a9836113ab565b82106110b457600080fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602052604090208054839081106110e557fe5b9060005260206000200154905092915050565b600e54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b61112a600d3363ffffffff6118bf16565b8061114c5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156111df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6111e98282611a70565b5050565b61107983838360206040519081016040528060008152506115ef565b61121a600d3363ffffffff6118bf16565b8061123c5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156112cf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6112e16112db82611319565b82611a8d565b50565b60006112ee610f5c565b82106112f957600080fd5b600780548390811061130757fe5b90600052602060002001549050919050565b60008181526001602052604081205473ffffffffffffffffffffffffffffffffffffffff1680151561134a57600080fd5b92915050565b611358611496565b151561136357600080fd5b611374600d8263ffffffff611af316565b50600e805460ff808216600101167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116179055565b600073ffffffffffffffffffffffffffffffffffffffff821615156113cf57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b611400611496565b151561140b57600080fd5b600c5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b600c5473ffffffffffffffffffffffffffffffffffffffff16331490565b600a8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d395780601f10610d0e57610100808354040283529160200191610d39565b73ffffffffffffffffffffffffffffffffffffffff821633141561155657600080fd5b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6115fa84848461107e565b61160684848484611b79565b151561161157600080fd5b50505050565b611628600d3363ffffffff6118bf16565b8061164a5750600f5473ffffffffffffffffffffffffffffffffffffffff1633145b15156116dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f444f45535f4e4f545f484156455f41444d494e5f4f525f434f4e54524f4c4c4560448201527f525f524f4c450000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600e805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600e54604080517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490529051606092610100900473ffffffffffffffffffffffffffffffffffffffff169163c87b56dd916024808301926000929190829003018186803b1580156117a057600080fd5b505afa1580156117b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156117fb57600080fd5b81019080805164010000000081111561181357600080fd5b8201602081018481111561182657600080fd5b815164010000000081118282018710171561184057600080fd5b50909695505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b61188f611496565b151561189a57600080fd5b6112e181611d12565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff821615156118e357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b73ffffffffffffffffffffffffffffffffffffffff8116151561195c57600080fd5b61196682826118bf565b151561197157600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6000806119ca83611319565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a3957508373ffffffffffffffffffffffffffffffffffffffff16611a2184610d44565b73ffffffffffffffffffffffffffffffffffffffff16145b80611a495750611a49818561184c565b949350505050565b611a5c838383611dc2565b611a668382611f37565b611079828261208d565b611a7a82826120d8565b611a84828261208d565b6111e9816121cb565b611a97828261220f565b6000818152600b602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001841615020190911604156111e9576000818152600b602052604081206111e991612498565b73ffffffffffffffffffffffffffffffffffffffff81161515611b1557600080fd5b611b1f82826118bf565b15611b2957600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000611b9a8473ffffffffffffffffffffffffffffffffffffffff1661223b565b1515611ba857506001611a49565b6040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015611c48578181015183820152602001611c30565b50505050905090810190601f168015611c755780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611c9757600080fd5b505af1158015611cab573d6000803e3d6000fd5b505050506040513d6020811015611cc157600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b73ffffffffffffffffffffffffffffffffffffffff81161515611d3457600080fd5b600c5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b8273ffffffffffffffffffffffffffffffffffffffff16611de282611319565b73ffffffffffffffffffffffffffffffffffffffff1614611e0257600080fd5b73ffffffffffffffffffffffffffffffffffffffff82161515611e2457600080fd5b611e2d81612243565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040902054611e6490600163ffffffff6122a316565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600360205260408082209390935590841681522054611ea790600163ffffffff6122b816565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600360209081526040808320959095558582526001905283812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016831790559251849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260056020526040812054611f6e90600163ffffffff6122a316565b6000838152600660205260409020549091508082146120325773ffffffffffffffffffffffffffffffffffffffff84166000908152600560205260408120805484908110611fb857fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110151561201257fe5b600091825260208083209091019290925591825260069052604090208190555b73ffffffffffffffffffffffffffffffffffffffff84166000908152600560205260409020805490612086907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016124dc565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff90911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b73ffffffffffffffffffffffffffffffffffffffff821615156120fa57600080fd5b61210381611910565b1561210d57600080fd5b600081815260016020818152604080842080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88169081179091558452600390915290912054612173916122b8565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b61221982826122d1565b6122238282611f37565b6000818152600660205260408120556111e9816123dc565b6000903b1190565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156112e157600090815260026020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000828211156122b257600080fd5b50900390565b6000828201838110156122ca57600080fd5b9392505050565b8173ffffffffffffffffffffffffffffffffffffffff166122f182611319565b73ffffffffffffffffffffffffffffffffffffffff161461231157600080fd5b61231a81612243565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604090205461235190600163ffffffff6122a316565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360209081526040808320949094558482526001905282812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559151839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6007546000906123f390600163ffffffff6122a316565b6000838152600860205260408120546007805493945090928490811061241557fe5b906000526020600020015490508060078381548110151561243257fe5b60009182526020808320909101929092558281526008909152604090208290556007805490612483907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016124dc565b50505060009182525060086020526040812055565b50805460018160011615610100020316600290046000825580601f106124be57506112e1565b601f0160209004906000526020600020908101906112e191906124fc565b815481835581811115611079576000838152602090206110799181019083015b610d4191905b808211156125165760008155600101612502565b509056fea165627a7a723058204d4778adcb34343ab65baa4a100fcedf8eab767a5e2c0f95a671d5b55a965e300029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000017c5e70866f7a12c5524b08766d01580988c1534

-----Decoded View---------------
Arg [0] : _metadata (address): 0x17c5e70866f7A12C5524B08766d01580988c1534

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000017c5e70866f7a12c5524b08766d01580988c1534


Deployed Bytecode Sourcemap

564:115:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:133:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;778:133:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;778:133:4;;;;;;;;;;;;;;;;;;;;;;;2311:239:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2311:239:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2311:239:9;;;;;;;;;;;;;;;;;;;1115:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1115:117:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1115:117:9;;;;;;;1006:83:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1006:83:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1006:83:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3668:151:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3668:151:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3668:151:5;;;;;;;;;;;;;;;;;;;;;;3091:292;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3091:292:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3091:292:5;;;;;;;;;;1351:169:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1351:169:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1351:169:9;;;;;1987:94:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1987:94:6;;;;;;;;;;;;;;;;;;;;1868:173:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1868:173:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1868:173:9;;;;;;;;;;5223:180:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5223:180:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5223:180:5;;;;;;;;;;;;;;;;;;;1653:182:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1653:182:6;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1653:182:6;;;;;;;;;;327:23:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;327:23:9;;;;761:121;;8:9:-1;5:2;;;30:1;27;20:12;5:2;761:121:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;761:121:9;;;;;;;;;;6042:132:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6042:132:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6042:132:5;;;;;;;;;;;;;;;;;;;887:109:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;887:109:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;887:109:9;;;2418:148:6;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2418:148:6;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2418:148:6;;;2493:177:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2493:177:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2493:177:5;;;1238:108:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1238:108:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1238:108:9;;;;;2119:150:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2119:150:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2119:150:5;;;;;1347:137:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1347:137:17;;;;659:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;659:77:17;;;;979:90;;8:9:-1;5:2;;;30:1;27;20:12;5:2;979:90:17;;;;1197:87:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1197:87:8;;;;4111:213:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4111:213:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4111:213:5;;;;;;;;;;;;6879:211;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6879:211:5;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;6879:211:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6879:211:5;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6879:211:5;;;;;;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;6879:211:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6879:211:5;;-1:-1:-1;6879:211:5;;-1:-1:-1;;;;;6879:211:5;1001:109:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1001:109:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1001:109:9;;;;;1526:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1526:141:9;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1526:141:9;;;4645:145:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4645:145:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4645:145:5;;;;;;;;;;;;1655:107:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1655:107:17;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1655:107:17;;;;;356:25:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;356:25:9;;;;778:133:4;871:33;;848:4;871:33;;;;;;;;;;;;;;778:133::o;2311:239:9:-;2414:4;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2449:39;;;;;;2482:4;2449:39;;;;;;:24;;;;;;:39;;;;;;;;;;;;;;:24;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;2449:39:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2449:39:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2449:39:9;2438:50;;;2430:59;;;;;;2513:6;2506:23;;;2530:3;2535:7;2506:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2506:37:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2506:37:9;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2506:37:9;;2311:239;-1:-1:-1;;;;2311:239:9:o;1115:117::-;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1201:10;:24;;;;;;;;;;;;;;;1115:117::o;1006:83:8:-;1077:5;1070:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1045:13;;1070:12;;1077:5;;1070:12;;1077:5;1070:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1006:83;;:::o;3668:151:5:-;3727:7;3754:16;3762:7;3754;:16::i;:::-;3746:25;;;;;;;;-1:-1:-1;3788:24:5;;;;:15;:24;;;;;;;;;3668:151::o;3091:292::-;3154:13;3170:16;3178:7;3170;:16::i;:::-;3154:32;-1:-1:-1;3204:11:5;;;;;;;;;3196:20;;;;;;3234:10;:19;;;;;:58;;;3257:35;3274:5;3281:10;3257:16;:35::i;:::-;3226:67;;;;;;;;3304:24;;;;:15;:24;;;;;;:29;;;;;;;;;;;;;;3348:28;;3304:24;;3348:28;;;;;;;3091:292;;;:::o;1351:169:9:-;863:9:17;:7;:9::i;:::-;855:18;;;;;;;;1423:6:9;;1432:1;1423:6;;;;:10;1415:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1470:22;:7;1485:6;1470:22;:14;:22;:::i;:::-;-1:-1:-1;1502:6:9;:11;;;;;;;;;;;;;;;;;1351:169::o;1987:94:6:-;2057:10;:17;1987:94;:::o;1868:173:9:-;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1989:4;1981:21;1970:32;;;1962:41;;;;;;2013:21;;:12;;;;:21;;;;;2026:7;;2013:21;;;;2026:7;2013:12;:21;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2013:21:9;1868:173;;:::o;5223:180:5:-;5313:39;5332:10;5344:7;5313:18;:39::i;:::-;5305:48;;;;;;;;5364:32;5378:4;5384:2;5388:7;5364:13;:32::i;1653:182:6:-;1733:7;1768:16;1778:5;1768:9;:16::i;:::-;1760:24;;1752:33;;;;;;1802:19;;;;;;;:12;:19;;;;;:26;;1822:5;;1802:26;;;;;;;;;;;;;;1795:33;;1653:182;;;;:::o;327:23:9:-;;;;;;;;;:::o;761:121::-;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;850:25;856:9;867:7;850:5;:25::i;:::-;761:121;;:::o;6042:132:5:-;6128:39;6145:4;6151:2;6155:7;6128:39;;;;;;;;;;;;;:16;:39::i;887:109:9:-;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;957:32;963:16;971:7;963;:16::i;:::-;981:7;957:5;:32::i;:::-;887:109;:::o;2418:148:6:-;2476:7;2511:13;:11;:13::i;:::-;2503:21;;2495:30;;;;;;2542:10;:17;;2553:5;;2542:17;;;;;;;;;;;;;;2535:24;;2418:148;;;:::o;2493:177:5:-;2548:7;2583:20;;;:11;:20;;;;;;;;2621:19;;;2613:28;;;;;;2658:5;2493:177;-1:-1:-1;;2493:177:5:o;1238:108:9:-;863:9:17;:7;:9::i;:::-;855:18;;;;;;;;1299:19:9;:7;1311:6;1299:19;:11;:19;:::i;:::-;-1:-1:-1;1328:6:9;:11;;;;;;1338:1;1328:11;;;;;;;;;1238:108::o;2119:150:5:-;2174:7;2201:19;;;;;2193:28;;;;;;-1:-1:-1;2238:24:5;;;;;;:17;:24;;;;;;;2119:150::o;1347:137:17:-;863:9;:7;:9::i;:::-;855:18;;;;;;;;1429:6;;1408:40;;1445:1;;1408:40;1429:6;;1408:40;;1445:1;;1408:40;1458:6;:19;;;;;;1347:137::o;659:77::-;723:6;;;;659:77;:::o;979:90::-;1056:6;;;;1042:10;:20;;979:90::o;1197:87:8:-;1270:7;1263:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1238:13;;1263:14;;1270:7;;1263:14;;1270:7;1263:14;;;;;;;;;;;;;;;;;;;;;;;;4111:213:5;4190:16;;;4196:10;4190:16;;4182:25;;;;;;4236:10;4217:30;;;;:18;:30;;;;;;;;;:34;;;;;;;;;;;;:45;;;;;;;;;;;;;4277:40;;;;;;;4217:34;;4236:10;4277:40;;;;;;;;;;;4111:213;;:::o;6879:211::-;6985:31;6998:4;7004:2;7008:7;6985:12;:31::i;:::-;7034:48;7057:4;7063:2;7067:7;7076:5;7034:22;:48::i;:::-;7026:57;;;;;;;;6879:211;;;;:::o;1001:109:9:-;440:23;:7;452:10;440:23;:11;:23;:::i;:::-;:51;;;-1:-1:-1;481:10:9;;;;467;:24;440:51;431:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:8;:20;;;;;;;;;;;;;;;;;;1001:109::o;1526:141::-;1632:8;;1623:37;;;;;;;;;;;;;;1582:22;;1632:8;;;;;;1623:27;;:37;;;;;-1:-1:-1;;1623:37:9;;;;;;;1632:8;1623:37;;;5:2:-1;;;;30:1;27;20:12;5:2;1623:37:9;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1623:37:9;;;;;;39:16:-1;36:1;17:17;2:54;101:4;1623:37:9;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;1623:37:9;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;1623:37:9;;1526:141;-1:-1:-1;;;;;;1526:141:9:o;4645:145:5:-;4748:25;;;;4725:4;4748:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4645:145::o;1655:107:17:-;863:9;:7;:9::i;:::-;855:18;;;;;;;;1727:28;1746:8;1727:18;:28::i;356:25:9:-;;;;;;:::o;786:162:19:-;858:4;882:21;;;;;874:30;;;;;;-1:-1:-1;921:20:19;;:11;:20;;;;;;;;;;;;;;;786:162::o;7279:152:5:-;7336:4;7368:20;;;:11;:20;;;;;;;;7405:19;;;7279:152::o;514:184:19:-;593:21;;;;;585:30;;;;;;633:18;637:4;643:7;633:3;:18::i;:::-;625:27;;;;;;;;663:20;;686:5;663:20;;;;;;;;;;;:28;;;;;;514:184::o;7794:246:5:-;7879:4;7895:13;7911:16;7919:7;7911;:16::i;:::-;7895:32;;7956:5;7945:16;;:7;:16;;;:51;;;;7989:7;7965:31;;:20;7977:7;7965:11;:20::i;:::-;:31;;;7945:51;:87;;;;8000:32;8017:5;8024:7;8000:16;:32::i;:::-;7937:96;7794:246;-1:-1:-1;;;;7794:246:5:o;2940:239:6:-;3025:38;3045:4;3051:2;3055:7;3025:19;:38::i;:::-;3074:47;3107:4;3113:7;3074:32;:47::i;:::-;3132:40;3160:2;3164:7;3132:27;:40::i;3434:196::-;3497:24;3509:2;3513:7;3497:11;:24::i;:::-;3532:40;3560:2;3564:7;3532:27;:40::i;:::-;3583;3615:7;3583:31;:40::i;2305:240:8:-;2371:27;2383:5;2390:7;2371:11;:27::i;:::-;2454:19;;;;:10;:19;;;;;2448:33;;;;;;;;;;;;;;:38;2444:95;;2509:19;;;;:10;:19;;;;;2502:26;;;:::i;259:181:19:-;335:21;;;;;327:30;;;;;;376:18;380:4;386:7;376:3;:18::i;:::-;375:19;367:28;;;;;;406:20;;:11;:20;;;;;;;;;;;:27;;;;429:4;406:27;;;259:181::o;10707:347:5:-;10828:4;10853:15;:2;:13;;;:15::i;:::-;10852:16;10848:58;;;-1:-1:-1;10891:4:5;10884:11;;10848:58;10932:70;;;;;10969:10;10932:70;;;;;;:36;:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;10916:13;;10932:36;;;;;;10969:10;;10981:4;;10987:7;;10996:5;;10932:70;;;;;;;;;;;10916: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;10932:70:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10932:70:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10932:70:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10932:70:5;11020:26;;11030:16;11020:26;;-1:-1:-1;;10707:347:5;;;;;;:::o;1906:183:17:-;1979:22;;;;;1971:31;;;;;;2038:6;;2017:38;;;;;;;2038:6;;2017:38;;2038:6;;2017:38;2065:6;:17;;;;;;;;;;;;;;;1906:183::o;9782:402:5:-;9895:4;9875:24;;:16;9883:7;9875;:16::i;:::-;:24;;;9867:33;;;;;;9918:16;;;;;9910:25;;;;;;9946:23;9961:7;9946:14;:23::i;:::-;10006;;;;;;;:17;:23;;;;;;:30;;10034:1;10006:30;:27;:30;:::i;:::-;9980:23;;;;;;;;:17;:23;;;;;;:56;;;;10070:21;;;;;;;:28;;10096:1;10070:28;:25;:28;:::i;:::-;10046:21;;;;;;;;:17;:21;;;;;;;;:52;;;;10109:20;;;:11;:20;;;;;:25;;;;;;;;10150:27;;10121:7;;10046:21;;10150:27;;;;;;9782:402;;;:::o;6042:1128:6:-;6329:18;;;6304:22;6329:18;;;:12;:18;;;;;:25;:32;;6359:1;6329:32;:29;:32;:::i;:::-;6371:18;6392:26;;;:17;:26;;;;;;6304:57;;-1:-1:-1;6522:28:6;;;6518:323;;6588:18;;;6566:19;6588:18;;;:12;:18;;;;;:34;;6607:14;;6588:34;;;;;;;;;;;;;;6566:56;;6670:11;6637:12;:18;6650:4;6637:18;;;;;;;;;;;;;;;6656:10;6637:30;;;;;;;;;;;;;;;;;;;;;:44;;;;6753:30;;;:17;:30;;;;;:43;;;6518:323;6927:18;;;;;;;:12;:18;;;;;:27;;;;;;;;;:::i;:::-;;6042:1128;;;;:::o;4888:183::-;5001:16;;;;;;;;:12;:16;;;;;;;;:23;;4972:26;;;:17;:26;;;;;:52;;;5034:16;;;39:1:-1;23:18;;45:23;;5034:30:6;;;;;;;;4888:183::o;8283:278:5:-;8354:16;;;;;8346:25;;;;;;8390:16;8398:7;8390;:16::i;:::-;8389:17;8381:26;;;;;;8418:20;;;;:11;:20;;;;;;;;:25;;;;;;;;;;;;;8477:21;;:17;:21;;;;;;;:28;;:25;:28::i;:::-;8453:21;;;;;;;:17;:21;;;;;;:52;;;;8521:33;;8546:7;;8453:21;8521:33;;8453:21;;8521:33;8283:278;;:::o;5266:161:6:-;5369:10;:17;;5342:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;5396:24:6;;;;;;;5266:161::o;3902:364::-;3968:27;3980:5;3987:7;3968:11;:27::i;:::-;4006:48;4039:5;4046:7;4006:32;:48::i;:::-;4202:1;4173:26;;;:17;:26;;;;;:30;4214:45;4191:7;4214:36;:45::i;463:616:0:-;523:4;1026:20;;1064:8;;463:616::o;11215:171:5:-;11314:1;11278:24;;;:15;:24;;;;;;:38;:24;:38;11274:106;;11367:1;11332:24;;;:15;:24;;;;;:37;;;;;;11215:171::o;1205:145:20:-;1263:7;1290:6;;;;1282:15;;;;;;-1:-1:-1;1319:5:20;;;1205:145::o;1431:::-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;;;1568:1;1431:145;-1:-1:-1;;;1431:145:20:o;8834:305:5:-;8928:5;8908:25;;:16;8916:7;8908;:16::i;:::-;:25;;;8900:34;;;;;;8945:23;8960:7;8945:14;:23::i;:::-;9006:24;;;;;;;:17;:24;;;;;;:31;;9035:1;9006:31;:28;:31;:::i;:::-;8979:24;;;;;;;:17;:24;;;;;;;;:58;;;;9047:20;;;:11;:20;;;;;:33;;;;;;9096:36;;9059:7;;8979:24;;9096:36;;8979:24;;9096:36;8834:305;;:::o;7458:1064:6:-;7732:10;:17;7707:22;;7732:24;;7754:1;7732:24;:21;:24;:::i;:::-;7766:18;7787:24;;;:15;:24;;;;;;8155:10;:26;;7707:49;;-1:-1:-1;7787:24:6;;7707:49;;8155:26;;;;;;;;;;;;;;8133:48;;8217:11;8192:10;8203;8192:22;;;;;;;;;;;;;;;;;;;;;:36;;;;8296:28;;;:15;:28;;;;;;:41;;;8458:10;:19;;;;;;;;;:::i;:::-;-1:-1:-1;;;8514:1:6;8487:24;;;-1:-1:-1;8487:15:6;:24;;;;;:28;7458:1064::o;564:115:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://4d4778adcb34343ab65baa4a100fcedf8eab767a5e2c0f95a671d5b55a965e30
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.