ETH Price: $2,650.25 (+0.30%)

Token

EXODUS 2 (X2)
 

Overview

Max Total Supply

19 X2

Holders

14

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 X2
0x6266dbb2d202d4e246ee86d76bb2fbb9a71eafcd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

EXODUS 2 is a series of 19 pangram haikus composed by David Rudnick between 2010 and 2011. Each work is a haiku which, as a pangram, contains all 26 letters of the standard western alphabet.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EXODUS2

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 15 of 32: EXODUS2.sol
pragma solidity ^0.5.0;

import "./ERC721Full.sol";
import "./strings.sol";
/*

       `-+ooo/:::://+oo` .:+ooo/-       .:oo+-`    `-::://+o+:`     .-ooo+/:::///:.      .:ooo+-`        .:ooo-.   ----:/+s+:`    /ooooooooo/         
         -MM+        -m     /NM+         `y:    `/s/`       .omh/     +MM-      `-odh/`    oMM-            oM/   +y.      `oM/  `ymMNNNNNNNMMm:       
         .MM:         /      .dMy`      /o`    /No            `yMm-   :MM`          /NN/   /MM`            /M-  sM`         s-     `       hMMo       
         .MM:                  sMm.   `s:     sMy               hMN.  :MM`           -MMo  /MM`            /M-  dM+         .`             hMMo       
         .MM:                   :NN/ /o`     :MM.               .MMh  :MM`            sMM. /MM`            /M-  :NMd+.                     hMMo       
         .MM+::::::/s/           .dMd/       yMN                 mMM  :MM`            :MM+ /MM`            /M-   `+hNMmy+-       ./ssss.sssmMMo       
         .MM:`````.:s:            /dMm.      hMN                 dMM  :MM`            -MM/ :MM`            /M-       -/smMNh/   oMMNmmd/dmmdy+.       
         .MM:                   `s/ :NM+     +MM-                NMy  :MM`            oMN` .MM.            /M`           `+NMd` oMMy                  
         .MM:                  :s`   .dMy`   `mMh               /MN.  :MM`           .NM/   dM+            sy   .          .NM: oMMy                  
         .MM:          -.    `o/       sMm-   .dMs             .Nd.   :MM`          :mm:    -NN.          .d`   y-          NN` oMMy                  
         -MM/         /h    :y`         :NM+    /md:         `+h/     /MM.       .+hh/       .dN+`      `/+`    dN:       `yd-  /MMNdddddddmho`       
       `-oyyy///////+sy- -:sys:.       .:syys:.   .+o+/:---::/.     `-syys//////+/-            -oyysoo++/`      -+ss/:---/+-     `oyyyyyyyyyo`        
                                                                                                                                                      
                                                                                                                                                      
                                                                                                                                                      
       `+   :-  oyyyy/      .yyyyy. `syyyy-  oyyyy:      .yyyyy. `syyyy-      -yyyys` .yyyyy.      :yyyyo  -yyyys`      +yyyy+  /yyyyo  :yyyys`       
       :M   sh .M-..om      +m...ds /N...yh -M-..sd      od...do /N...hy      hy...N/ sd...mo      mo..-M- hs...M:      M/..+M  N+..:M. ds..-M:       
       :M   sh .M`  +m  :N  +d   hs /N   sh -M`  od  /N  oh   do /m   yy  sh  hs   N/ sh   do  hs  m+  `M- ho   M:  m/  M-  :M  N/  .M. do  `M:       
       -mdsdNh .M`  +m   +  +d   hs /N   sh -M`  od   /  oh   do /m   yy  .:  hs   N/ sh   do  :.  m+  `M- ho   M:  /   M-  :M  N/  .M. do  `M:       
            sh .M`  +m  :m  +d   hs /N   sh -M`  od  :m  oh   do /m   yy  oy  hs   N/ sh   do  yo  m+  `M- ho   M:  d:  M-  :M  N/  .M. do  `M:       
            sh .M`  +m  `.  +d   hs /N   yh -M`  od  `.  od   do /m   yy  `.  hs   N/ sh   do  .`  m+  .M- ho   M:  .`  M-  :M  N/  -M. do  `M:       
            // `ymmmd+      .dmmmd- .hmmmd: `ymmmd+      -dmmmd- .hmmmd:      :dmmmh. -dmmmd-      +dmmmy` /dmmmh`      smmmms  ommmmy  /dmmmy`       
                                                                                                                                                      


EXODUS 2, David Rudnick [2011-2021]
Published in partnership wth Folia (Billy Rennenkamp, Dan Denorch, Everett Williams)
*/

contract EXODUS2 is ERC721Full("EXODUS 2", "X2") {
    using strings for *;
    string[] public stanzas;
    constructor() public {
        for (uint256 i = 1; i < 20; i++) {
            _mint(msg.sender, i);
        }
    }

    function deploy(string memory pangram) public {
        require(stanzas.length < 19, "stanzas populated");
        stanzas.push(pangram);
    }

    function tokenURI(uint _tokenId) external view returns (string memory _infoUrl) {
        string memory base = "https://exodus-ii.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) }
    }

}

/*

        oyyyy/  oyyyy/      .yyyyy. `syyyy-  oyyyy:      .yyyyy. `syyyy-      -yyyys` .yyyyy.      :yyyyo  -yyyys`      +yyyy+  /yyyyo  :yyyys`       
       .M-..om .M-..om      +m...ds /N...yh -M-..sd      od...do /N...hy      hy...N/ sd...mo      mo..-M- hs...M:      M/..+M  N+..:M. ds..-M:       
       .M`  +m .M`  +m  :N  +d   hs /N   sh -M`  od  /N  oh   do /m   yy  sh  hs   N/ sh   do  hs  m+  `M- ho   M:  m/  M-  :M  N/  .M. do  `M:       
       .M`  +m .M`  +m   +  +d   hs /N   sh -M`  od   /  oh   do /m   yy  .:  hs   N/ sh   do  :.  m+  `M- ho   M:  /   M-  :M  N/  .M. do  `M:       
       .M`  +m .M`  +m  :m  +d   hs /N   sh -M`  od  :m  oh   do /m   yy  oy  hs   N/ sh   do  yo  m+  `M- ho   M:  d:  M-  :M  N/  .M. do  `M:       
       .M`  +m .M`  +m  `.  +d   hs /N   yh -M`  od  `.  od   do /m   yy  `.  hs   N/ sh   do  .`  m+  .M- ho   M:  .`  M-  :M  N/  -M. do  `M:       
       `ymmmd+ `ymmmd+      .dmmmd- .hmmmd: `ymmmd+      -dmmmd- .hmmmd:      :dmmmh. -dmmmd-      +dmmmy` /dmmmh`      smmmms  ommmmy  /dmmmy`       


                                                                            :d/                  
                                                                            .d/                 
                                                                    `.        .N-                
                                                                    /ymo`      dh                
                                                                    sMm`    -MN                
                                                                    mMM.   +NMy `:+yhs+/.      
                                                            -//:`    yMm  /dMMN/yNMMh/``-:      
                                                            -/+dNy:  `N+:dMMMN+hyo/-`           
                                                                :MMMs  +dNMMMN/-//++/:-.         
                                                                `mMMh +NMMMMmyydMMMNh/:+o        
                                                    `-+syhhyso/-` `/ds/MMMMMy.```:+/.    `        
                                                .odNMMMMMMMMMNmy/``-NMMMNo`.-/oyhddhyo:.        
                                                /mMMMMMMMMMMMMMMNNmhmMMMMo+hmNMMMMMMMMMMNd+.     
                                                /NMNdyshMMMMMmy/-.-:sNMMMMhs++ydNMMMMMMMMMMMNs.   
                                                mNs-`  `odho:`       -mMM+`    `-odMMMMmmmNMMMm:  
                                                M+   `.`              :Mh         `:oo:`..-:odNN. 
                                                m:  -mmd:     `-osso:. mo-ohhhyo/.      ```   :No 
                                                -h- `/hMs    .hMMMMMMNhNmNMMMMMNmNy.   .dmd:   do 
                                                .o++ohy.   `mNdhdmNNNMMMdyhmNm-.:hh   /MMd. `+m` 
                                                    `.`     .m/   `-/dMMMNs-`..    .    /hhssyy.  
                                                            `      dMMMMMMN:             `..`    
                                                                    NMNNMMm:.     `:+o+:`         
                                                                    -:.-yNMy`    +d+-.-+m/        
                                                                        -hMy   -N`  /s/Nm        
                                                                    `so+smh+..N`  /dmh:    ``  
                                                                    +h `+-./yhNd/`    `.:+hMd. 
                                                                    .hshM+    ./shdmmNMMmdyo:` 
                                                                        `
*/

File 1 of 32: 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 2 of 32: Arrays.sol
pragma solidity ^0.5.0;

import "./Math.sol";


/**
 * @title Arrays
 * @dev Utility library of inline array functions
 */
library Arrays {
    /**
     * @dev Upper bound search function which is kind of binary search algoritm. It searches sorted
     * array to find index of the element value. If element is found then returns it's index otherwise
     * it returns index of first element which is grater than searched value. If searched element is
     * bigger than any array element function then returns first index after last element (i.e. all
     * values inside the array are smaller than the target). Complexity O(log n).
     * @param array The array sorted in ascending order.
     * @param element The element's value to be find.
     * @return The calculated index value. Returns 0 for empty array.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

File 3 of 32: CapperRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";

contract CapperRole {
    using Roles for Roles.Role;

    event CapperAdded(address indexed account);
    event CapperRemoved(address indexed account);

    Roles.Role private _cappers;

    constructor () internal {
        _addCapper(msg.sender);
    }

    modifier onlyCapper() {
        require(isCapper(msg.sender));
        _;
    }

    function isCapper(address account) public view returns (bool) {
        return _cappers.has(account);
    }

    function addCapper(address account) public onlyCapper {
        _addCapper(account);
    }

    function renounceCapper() public {
        _removeCapper(msg.sender);
    }

    function _addCapper(address account) internal {
        _cappers.add(account);
        emit CapperAdded(account);
    }

    function _removeCapper(address account) internal {
        _cappers.remove(account);
        emit CapperRemoved(account);
    }
}

File 4 of 32: 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 5 of 32: ERC165Checker.sol
pragma solidity ^0.5.0;

/**
 * @title ERC165Checker
 * @dev Use `using ERC165Checker for address`; to include this library
 * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;
    /**
     * 0x01ffc9a7 ===
     *     bytes4(keccak256('supportsInterface(bytes4)'))
     */

    /**
     * @notice Query if a contract supports ERC165
     * @param account The address of the contract to query for support of ERC165
     * @return true if the contract at account implements ERC165
     */
    function _supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return _supportsERC165Interface(account, _INTERFACE_ID_ERC165) &&
            !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @notice Query if a contract implements an interface, also checks support of ERC165
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Interface identification is specified in ERC-165.
     */
    function _supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return _supportsERC165(account) &&
            _supportsERC165Interface(account, interfaceId);
    }

    /**
     * @notice Query if a contract implements interfaces, also checks support of ERC165
     * @param account The address of the contract to query for support of an interface
     * @param interfaceIds A list of interface identifiers, as specified in ERC-165
     * @return true if the contract at account indicates support all interfaces in the
     * interfaceIds list, false otherwise
     * @dev Interface identification is specified in ERC-165.
     */
    function _supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!_supportsERC165(account)) {
            return false;
        }

        // query support of each interface in _interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!_supportsERC165Interface(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with the `supportsERC165` method in this library.
     * Interface identification is specified in ERC-165.
     */
    function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {
        // success determines whether the staticcall succeeded and result determines
        // whether the contract at account indicates support of _interfaceId
        (bool success, bool result) = _callERC165SupportsInterface(account, interfaceId);

        return (success && result);
    }

    /**
     * @notice Calls the function with selector 0x01ffc9a7 (ERC165) and suppresses throw
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return success true if the STATICCALL succeeded, false otherwise
     * @return result true if the STATICCALL succeeded and the contract at account
     * indicates support of the interface with identifier interfaceId, false otherwise
     */
    function _callERC165SupportsInterface(address account, bytes4 interfaceId)
        private
        view
        returns (bool success, bool result)
    {
        bytes memory encodedParams = abi.encodeWithSelector(_INTERFACE_ID_ERC165, interfaceId);

        // solhint-disable-next-line no-inline-assembly
        assembly {
            let encodedParams_data := add(0x20, encodedParams)
            let encodedParams_size := mload(encodedParams)

            let output := mload(0x40)    // Find empty storage location using "free memory pointer"
            mstore(output, 0x0)

            success := staticcall(
                30000,                                 // 30k gas
                account,                            // To addr
                encodedParams_data,
                encodedParams_size,
                output,
                0x20                                     // Outputs are 32 bytes long
            )

            result := mload(output)    // Load the result
        }
    }
}

File 6 of 32: 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 32: ERC721Burnable.sol
pragma solidity ^0.5.0;

import "./ERC721.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
contract ERC721Burnable is ERC721 {
    /**
     * @dev Burns a specific ERC721 token.
     * @param tokenId uint256 id of the ERC721 token to be burned.
     */
    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(msg.sender, tokenId));
        _burn(tokenId);
    }
}

File 8 of 32: 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 9 of 32: 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 10 of 32: ERC721Holder.sol
pragma solidity ^0.5.0;

import "./IERC721Receiver.sol";

contract ERC721Holder is IERC721Receiver {
    function onERC721Received(address, address, uint256, bytes memory) public returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

File 11 of 32: 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 12 of 32: ERC721MetadataMintable.sol
pragma solidity ^0.5.0;

import "./ERC721Metadata.sol";
import "./MinterRole.sol";


/**
 * @title ERC721MetadataMintable
 * @dev ERC721 minting logic with metadata
 */
contract ERC721MetadataMintable is ERC721, ERC721Metadata, MinterRole {
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param tokenId The token id to mint.
     * @param tokenURI The token URI of the minted token.
     * @return A boolean that indicates if the operation was successful.
     */
    function mintWithTokenURI(address to, uint256 tokenId, string memory tokenURI) public onlyMinter returns (bool) {
        _mint(to, tokenId);
        _setTokenURI(tokenId, tokenURI);
        return true;
    }
}

File 13 of 32: ERC721Mintable.sol
pragma solidity ^0.5.0;

import "./ERC721.sol";
import "./MinterRole.sol";

/**
 * @title ERC721Mintable
 * @dev ERC721 minting logic
 */
contract ERC721Mintable is ERC721, MinterRole {
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param tokenId The token id to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address to, uint256 tokenId) public onlyMinter returns (bool) {
        _mint(to, tokenId);
        return true;
    }
}

File 14 of 32: ERC721Pausable.sol
pragma solidity ^0.5.0;

import "./ERC721.sol";
import "./Pausable.sol";

/**
 * @title ERC721 Non-Fungible Pausable token
 * @dev ERC721 modified with pausable transfers.
 **/
contract ERC721Pausable is ERC721, Pausable {
    function approve(address to, uint256 tokenId) public whenNotPaused {
        super.approve(to, tokenId);
    }

    function setApprovalForAll(address to, bool approved) public whenNotPaused {
        super.setApprovalForAll(to, approved);
    }

    function transferFrom(address from, address to, uint256 tokenId) public whenNotPaused {
        super.transferFrom(from, to, tokenId);
    }
}

File 16 of 32: 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 17 of 32: 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 18 of 32: 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 19 of 32: IERC721Full.sol
pragma solidity ^0.5.0;

import "./IERC721.sol";
import "./IERC721Enumerable.sol";
import "./IERC721Metadata.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, full implementation interface
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract IERC721Full is IERC721, IERC721Enumerable, IERC721Metadata {
    // solhint-disable-previous-line no-empty-blocks
}

File 20 of 32: 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 21 of 32: 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 22 of 32: Math.sol
pragma solidity ^0.5.0;

/**
 * @title Math
 * @dev Assorted math operations
 */
library Math {
    /**
    * @dev Returns the largest of two numbers.
    */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
    * @dev Returns the smallest of two numbers.
    */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
    * @dev Calculates the average of two numbers. Since these are integers,
    * averages of an even and odd number cannot be represented, and will be
    * rounded down.
    */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 23 of 32: MinterRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";

contract MinterRole {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(msg.sender);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender));
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

File 24 of 32: Pausable.sol
pragma solidity ^0.5.0;

import "./PauserRole.sol";

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is PauserRole {
    event Paused(address account);
    event Unpaused(address account);

    bool private _paused;

    constructor () internal {
        _paused = false;
    }

    /**
     * @return true if the contract is paused, false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused);
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused);
        _;
    }

    /**
     * @dev called by the owner to pause, triggers stopped state
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(msg.sender);
    }

    /**
     * @dev called by the owner to unpause, returns to normal state
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(msg.sender);
    }
}

File 25 of 32: PauserRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";

contract PauserRole {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    constructor () internal {
        _addPauser(msg.sender);
    }

    modifier onlyPauser() {
        require(isPauser(msg.sender));
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(msg.sender);
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }
}

File 26 of 32: 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 27 of 32: 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 28 of 32: 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 29 of 32: SignerRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";

contract SignerRole {
    using Roles for Roles.Role;

    event SignerAdded(address indexed account);
    event SignerRemoved(address indexed account);

    Roles.Role private _signers;

    constructor () internal {
        _addSigner(msg.sender);
    }

    modifier onlySigner() {
        require(isSigner(msg.sender));
        _;
    }

    function isSigner(address account) public view returns (bool) {
        return _signers.has(account);
    }

    function addSigner(address account) public onlySigner {
        _addSigner(account);
    }

    function renounceSigner() public {
        _removeSigner(msg.sender);
    }

    function _addSigner(address account) internal {
        _signers.add(account);
        emit SignerAdded(account);
    }

    function _removeSigner(address account) internal {
        _signers.remove(account);
        emit SignerRemoved(account);
    }
}

File 30 of 32: 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;
    }
}

File 31 of 32: WhitelistAdminRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";

/**
 * @title WhitelistAdminRole
 * @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts.
 */
contract WhitelistAdminRole {
    using Roles for Roles.Role;

    event WhitelistAdminAdded(address indexed account);
    event WhitelistAdminRemoved(address indexed account);

    Roles.Role private _whitelistAdmins;

    constructor () internal {
        _addWhitelistAdmin(msg.sender);
    }

    modifier onlyWhitelistAdmin() {
        require(isWhitelistAdmin(msg.sender));
        _;
    }

    function isWhitelistAdmin(address account) public view returns (bool) {
        return _whitelistAdmins.has(account);
    }

    function addWhitelistAdmin(address account) public onlyWhitelistAdmin {
        _addWhitelistAdmin(account);
    }

    function renounceWhitelistAdmin() public {
        _removeWhitelistAdmin(msg.sender);
    }

    function _addWhitelistAdmin(address account) internal {
        _whitelistAdmins.add(account);
        emit WhitelistAdminAdded(account);
    }

    function _removeWhitelistAdmin(address account) internal {
        _whitelistAdmins.remove(account);
        emit WhitelistAdminRemoved(account);
    }
}

File 32 of 32: WhitelistedRole.sol
pragma solidity ^0.5.0;

import "./Roles.sol";
import "./WhitelistAdminRole.sol";

/**
 * @title WhitelistedRole
 * @dev Whitelisted accounts have been approved by a WhitelistAdmin to perform certain actions (e.g. participate in a
 * crowdsale). This role is special in that the only accounts that can add it are WhitelistAdmins (who can also remove
 * it), and not Whitelisteds themselves.
 */
contract WhitelistedRole is WhitelistAdminRole {
    using Roles for Roles.Role;

    event WhitelistedAdded(address indexed account);
    event WhitelistedRemoved(address indexed account);

    Roles.Role private _whitelisteds;

    modifier onlyWhitelisted() {
        require(isWhitelisted(msg.sender));
        _;
    }

    function isWhitelisted(address account) public view returns (bool) {
        return _whitelisteds.has(account);
    }

    function addWhitelisted(address account) public onlyWhitelistAdmin {
        _addWhitelisted(account);
    }

    function removeWhitelisted(address account) public onlyWhitelistAdmin {
        _removeWhitelisted(account);
    }

    function renounceWhitelisted() public {
        _removeWhitelisted(msg.sender);
    }

    function _addWhitelisted(address account) internal {
        _whitelisteds.add(account);
        emit WhitelistedAdded(account);
    }

    function _removeWhitelisted(address account) internal {
        _whitelisteds.remove(account);
        emit WhitelistedRemoved(account);
    }
}

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":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"stanzas","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"toBytes","outputs":[{"name":"b","type":"bytes"}],"payable":false,"stateMutability":"pure","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":"pangram","type":"string"}],"name":"deploy","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"}]

60806040523480156200001157600080fd5b50604080518082018252600881527f45584f44555320320000000000000000000000000000000000000000000000006020808301919091528251808401909352600283527f583200000000000000000000000000000000000000000000000000000000000090830152908181620000b17f01ffc9a700000000000000000000000000000000000000000000000000000000640100000000620001b0810204565b620000e57f80ac58cd00000000000000000000000000000000000000000000000000000000640100000000620001b0810204565b620001197f780e9d6300000000000000000000000000000000000000000000000000000000640100000000620001b0810204565b81516200012e906009906020850190620003ee565b5080516200014490600a906020840190620003ee565b50620001797f5b5e139f00000000000000000000000000000000000000000000000000000000640100000000620001b0810204565b506001925050505b6014811015620001a957620001a033826401000000006200021d810204565b60010162000181565b5062000493565b7fffffffff000000000000000000000000000000000000000000000000000000008082161415620001e057600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b6200023782826401000000006200179e6200026482021704565b6200024c828264010000000062000335810204565b620002608164010000000062000373810204565b5050565b600160a060020a03821615156200027a57600080fd5b6200028e81640100000000620003b7810204565b156200029957600080fd5b60008181526001602081815260408084208054600160a060020a031916600160a060020a0388169081179091558452600390915290912054620002ea91640100000000620003d48102620016b61704565b600160a060020a0383166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600160a060020a0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b600090815260016020526040902054600160a060020a0316151590565b600082820183811015620003e757600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200043157805160ff191683800117855562000461565b8280016001018555821562000461579182015b828111156200046157825182559160200191906001019062000444565b506200046f92915062000473565b5090565b6200049091905b808211156200046f57600081556001016200047a565b90565b6118bd80620004a36000396000f3fe6080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461010b57806306fdde031461016b578063081812fc146101f5578063095ea7b31461024857806318160ddd1461029057806323b872dd146102b75780632f745c591461030757806342842e0e1461034d5780634f6ccce71461039d5780635fa6941b146103c75780636352211e146103f157806370a082311461041b578063775a8f5e1461045b57806395d89b4114610485578063a22cb4651461049a578063b88d4fde146104e2578063c7602316146105c2578063c87b56dd14610675578063e985e9c51461069f575b600080fd5b34801561011757600080fd5b506101576004803603602081101561012e57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166106e7565b604080519115158252519081900360200190f35b34801561017757600080fd5b50610180610722565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b5061021f6004803603602081101561021857600080fd5b50356107d7565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561025457600080fd5b5061028e6004803603604081101561026b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610816565b005b34801561029c57600080fd5b506102a56108fe565b60408051918252519081900360200190f35b3480156102c357600080fd5b5061028e600480360360608110156102da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610904565b34801561031357600080fd5b506102a56004803603604081101561032a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610929565b34801561035957600080fd5b5061028e6004803603606081101561037057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610983565b3480156103a957600080fd5b506102a5600480360360208110156103c057600080fd5b503561099f565b3480156103d357600080fd5b50610180600480360360208110156103ea57600080fd5b50356109d4565b3480156103fd57600080fd5b5061021f6004803603602081101561041457600080fd5b5035610a99565b34801561042757600080fd5b506102a56004803603602081101561043e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ad0565b34801561046757600080fd5b506101806004803603602081101561047e57600080fd5b5035610b1d565b34801561049157600080fd5b50610180610b47565b3480156104a657600080fd5b5061028e600480360360408110156104bd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610bc6565b3480156104ee57600080fd5b5061028e6004803603608081101561050557600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561054d57600080fd5b82018360208201111561055f57600080fd5b8035906020019184600183028401116401000000008311171561058157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c82945050505050565b3480156105ce57600080fd5b5061028e600480360360208110156105e557600080fd5b81019060208101813564010000000081111561060057600080fd5b82018360208201111561061257600080fd5b8035906020019184600183028401116401000000008311171561063457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610caa945050505050565b34801561068157600080fd5b506101806004803603602081101561069857600080fd5b5035610d5f565b3480156106ab57600080fd5b50610157600480360360408110156106c257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610df1565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b505050505090505b90565b60006107e282610e2c565b15156107ed57600080fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061082182610a99565b905073ffffffffffffffffffffffffffffffffffffffff838116908216141561084957600080fd5b3373ffffffffffffffffffffffffffffffffffffffff8216148061087257506108728133610df1565b151561087d57600080fd5b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60075490565b61090e3382610e56565b151561091957600080fd5b610924838383610ee1565b505050565b600061093483610ad0565b821061093f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260056020526040902080548390811061097057fe5b9060005260206000200154905092915050565b6109248383836020604051908101604052806000815250610c82565b60006109a96108fe565b82106109b457600080fd5b60078054839081106109c257fe5b90600052602060002001549050919050565b600c8054829081106109e257fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600187161502019094169390930492830185900485028101850190915281815293509091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b820191906000526020600020905b815481529060010190602001808311610a7457829003601f168201915b505050505081565b60008181526001602052604081205473ffffffffffffffffffffffffffffffffffffffff16801515610aca57600080fd5b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82161515610af457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60408051602080825281830190925260609160208201818038833950505060208101929092525090565b600a8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107cc5780601f106107a1576101008083540402835291602001916107cc565b73ffffffffffffffffffffffffffffffffffffffff8216331415610be957600080fd5b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610c8d848484610904565b610c9984848484610f00565b1515610ca457600080fd5b50505050565b600c54601311610d1b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f7374616e7a617320706f70756c61746564000000000000000000000000000000604482015290519081900360640190fd5b600c8054600181018083556000929092528251610924917fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7019060208501906116cf565b6040805160608181018352602882527f68747470733a2f2f65786f6475732d69692e666f6c69612e6170702f76312f6d60208301527f657461646174612f0000000000000000000000000000000000000000000000009282019290925281610dc684611099565b9050610de9610dd48261120e565b610ddd8461120e565b9063ffffffff61123316565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b600080610e6283610a99565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610ed157508373ffffffffffffffffffffffffffffffffffffffff16610eb9846107d7565b73ffffffffffffffffffffffffffffffffffffffff16145b80610de95750610de98185610df1565b610eec8383836112a7565b610ef6838261141c565b6109248282611572565b6000610f218473ffffffffffffffffffffffffffffffffffffffff166115bd565b1515610f2f57506001610de9565b6040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015610fcf578181015183820152602001610fb7565b50505050905090810190601f168015610ffc5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561101e57600080fd5b505af1158015611032573d6000803e3d6000fd5b505050506040513d602081101561104857600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b60608115156110dc575060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015261071d565b8160005b81156110f457600101600a820491506110e0565b6060816040519080825280601f01601f191660200182016040528015611121576020820181803883390190505b5090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8515611205576030600a87060161115e81610b1d565b8051601f90811061116b57fe5b016020015183517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8401937f01000000000000000000000000000000000000000000000000000000000000009283900490920291859181106111c957fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8704965050611148565b50949350505050565b61121661174d565b506040805180820190915281518152602082810190820152919050565b60608082600001518460000151016040519080825280601f01601f19166020018201604052801561126b576020820181803883390190505b509050600060208201905061128981866020015187600001516115c5565b84516020850151855161129f92840191906115c5565b509392505050565b8273ffffffffffffffffffffffffffffffffffffffff166112c782610a99565b73ffffffffffffffffffffffffffffffffffffffff16146112e757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561130957600080fd5b6113128161163f565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604090205461134990600163ffffffff6116a116565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020526040808220939093559084168152205461138c90600163ffffffff6116b616565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600360209081526040808320959095558582526001905283812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016831790559251849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604081205461145390600163ffffffff6116a116565b6000838152600660205260409020549091508082146115175773ffffffffffffffffffffffffffffffffffffffff8416600090815260056020526040812080548490811061149d57fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811015156114f757fe5b600091825260208083209091019290925591825260069052604090208190555b73ffffffffffffffffffffffffffffffffffffffff8416600090815260056020526040902080549061156b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301611764565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff90911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b6000903b1190565b5b602081106116035781518352602092830192909101907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0016115c6565b905182516020929092036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180199091169116179052565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161561169e57600081815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b50565b6000828211156116b057600080fd5b50900390565b6000828201838110156116c857600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061171057805160ff191683800117855561173d565b8280016001018555821561173d579182015b8281111561173d578251825591602001919060010190611722565b50611749929150611784565b5090565b604080518082019091526000808252602082015290565b815481835581811115610924576000838152602090206109249181019083015b6107d491905b80821115611749576000815560010161178a565b73ffffffffffffffffffffffffffffffffffffffff821615156117c057600080fd5b6117c981610e2c565b156117d357600080fd5b600081815260016020818152604080842080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88169081179091558452600390915290912054611839916116b6565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505056fea165627a7a723058204dc56cdfb144f689c22393e93357ad564cda72fe3ce195f496cd46ea489767e60029

Deployed Bytecode

0x6080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461010b57806306fdde031461016b578063081812fc146101f5578063095ea7b31461024857806318160ddd1461029057806323b872dd146102b75780632f745c591461030757806342842e0e1461034d5780634f6ccce71461039d5780635fa6941b146103c75780636352211e146103f157806370a082311461041b578063775a8f5e1461045b57806395d89b4114610485578063a22cb4651461049a578063b88d4fde146104e2578063c7602316146105c2578063c87b56dd14610675578063e985e9c51461069f575b600080fd5b34801561011757600080fd5b506101576004803603602081101561012e57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166106e7565b604080519115158252519081900360200190f35b34801561017757600080fd5b50610180610722565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b5061021f6004803603602081101561021857600080fd5b50356107d7565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561025457600080fd5b5061028e6004803603604081101561026b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610816565b005b34801561029c57600080fd5b506102a56108fe565b60408051918252519081900360200190f35b3480156102c357600080fd5b5061028e600480360360608110156102da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610904565b34801561031357600080fd5b506102a56004803603604081101561032a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610929565b34801561035957600080fd5b5061028e6004803603606081101561037057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610983565b3480156103a957600080fd5b506102a5600480360360208110156103c057600080fd5b503561099f565b3480156103d357600080fd5b50610180600480360360208110156103ea57600080fd5b50356109d4565b3480156103fd57600080fd5b5061021f6004803603602081101561041457600080fd5b5035610a99565b34801561042757600080fd5b506102a56004803603602081101561043e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ad0565b34801561046757600080fd5b506101806004803603602081101561047e57600080fd5b5035610b1d565b34801561049157600080fd5b50610180610b47565b3480156104a657600080fd5b5061028e600480360360408110156104bd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610bc6565b3480156104ee57600080fd5b5061028e6004803603608081101561050557600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561054d57600080fd5b82018360208201111561055f57600080fd5b8035906020019184600183028401116401000000008311171561058157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c82945050505050565b3480156105ce57600080fd5b5061028e600480360360208110156105e557600080fd5b81019060208101813564010000000081111561060057600080fd5b82018360208201111561061257600080fd5b8035906020019184600183028401116401000000008311171561063457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610caa945050505050565b34801561068157600080fd5b506101806004803603602081101561069857600080fd5b5035610d5f565b3480156106ab57600080fd5b50610157600480360360408110156106c257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610df1565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b505050505090505b90565b60006107e282610e2c565b15156107ed57600080fd5b5060009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061082182610a99565b905073ffffffffffffffffffffffffffffffffffffffff838116908216141561084957600080fd5b3373ffffffffffffffffffffffffffffffffffffffff8216148061087257506108728133610df1565b151561087d57600080fd5b60008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60075490565b61090e3382610e56565b151561091957600080fd5b610924838383610ee1565b505050565b600061093483610ad0565b821061093f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260056020526040902080548390811061097057fe5b9060005260206000200154905092915050565b6109248383836020604051908101604052806000815250610c82565b60006109a96108fe565b82106109b457600080fd5b60078054839081106109c257fe5b90600052602060002001549050919050565b600c8054829081106109e257fe5b600091825260209182902001805460408051601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600187161502019094169390930492830185900485028101850190915281815293509091830182828015610a915780601f10610a6657610100808354040283529160200191610a91565b820191906000526020600020905b815481529060010190602001808311610a7457829003601f168201915b505050505081565b60008181526001602052604081205473ffffffffffffffffffffffffffffffffffffffff16801515610aca57600080fd5b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82161515610af457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60408051602080825281830190925260609160208201818038833950505060208101929092525090565b600a8054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107cc5780601f106107a1576101008083540402835291602001916107cc565b73ffffffffffffffffffffffffffffffffffffffff8216331415610be957600080fd5b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610c8d848484610904565b610c9984848484610f00565b1515610ca457600080fd5b50505050565b600c54601311610d1b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f7374616e7a617320706f70756c61746564000000000000000000000000000000604482015290519081900360640190fd5b600c8054600181018083556000929092528251610924917fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7019060208501906116cf565b6040805160608181018352602882527f68747470733a2f2f65786f6475732d69692e666f6c69612e6170702f76312f6d60208301527f657461646174612f0000000000000000000000000000000000000000000000009282019290925281610dc684611099565b9050610de9610dd48261120e565b610ddd8461120e565b9063ffffffff61123316565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b600080610e6283610a99565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610ed157508373ffffffffffffffffffffffffffffffffffffffff16610eb9846107d7565b73ffffffffffffffffffffffffffffffffffffffff16145b80610de95750610de98185610df1565b610eec8383836112a7565b610ef6838261141c565b6109248282611572565b6000610f218473ffffffffffffffffffffffffffffffffffffffff166115bd565b1515610f2f57506001610de9565b6040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015610fcf578181015183820152602001610fb7565b50505050905090810190601f168015610ffc5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561101e57600080fd5b505af1158015611032573d6000803e3d6000fd5b505050506040513d602081101561104857600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b60608115156110dc575060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015261071d565b8160005b81156110f457600101600a820491506110e0565b6060816040519080825280601f01601f191660200182016040528015611121576020820181803883390190505b5090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8515611205576030600a87060161115e81610b1d565b8051601f90811061116b57fe5b016020015183517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8401937f01000000000000000000000000000000000000000000000000000000000000009283900490920291859181106111c957fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8704965050611148565b50949350505050565b61121661174d565b506040805180820190915281518152602082810190820152919050565b60608082600001518460000151016040519080825280601f01601f19166020018201604052801561126b576020820181803883390190505b509050600060208201905061128981866020015187600001516115c5565b84516020850151855161129f92840191906115c5565b509392505050565b8273ffffffffffffffffffffffffffffffffffffffff166112c782610a99565b73ffffffffffffffffffffffffffffffffffffffff16146112e757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561130957600080fd5b6113128161163f565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604090205461134990600163ffffffff6116a116565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260036020526040808220939093559084168152205461138c90600163ffffffff6116b616565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600360209081526040808320959095558582526001905283812080547fffffffffffffffffffffffff000000000000000000000000000000000000000016831790559251849391928716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604081205461145390600163ffffffff6116a116565b6000838152600660205260409020549091508082146115175773ffffffffffffffffffffffffffffffffffffffff8416600090815260056020526040812080548490811061149d57fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811015156114f757fe5b600091825260208083209091019290925591825260069052604090208190555b73ffffffffffffffffffffffffffffffffffffffff8416600090815260056020526040902080549061156b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301611764565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff90911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b6000903b1190565b5b602081106116035781518352602092830192909101907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0016115c6565b905182516020929092036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180199091169116179052565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161561169e57600081815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b50565b6000828211156116b057600080fd5b50900390565b6000828201838110156116c857600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061171057805160ff191683800117855561173d565b8280016001018555821561173d579182015b8281111561173d578251825591602001919060010190611722565b50611749929150611784565b5090565b604080518082019091526000808252602082015290565b815481835581811115610924576000838152602090206109249181019083015b6107d491905b80821115611749576000815560010161178a565b73ffffffffffffffffffffffffffffffffffffffff821615156117c057600080fd5b6117c981610e2c565b156117d357600080fd5b600081815260016020818152604080842080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88169081179091558452600390915290912054611839916116b6565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600360205260408082209390935591518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505056fea165627a7a723058204dc56cdfb144f689c22393e93357ad564cda72fe3ce195f496cd46ea489767e60029

Deployed Bytecode Sourcemap

3680:1258:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:133:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;778:133:3;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;778:133:3;;;;;;;;;;;;;;;;;;;;;;;1006:83:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1006:83:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;1987:94:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1987:94:7;;;;;;;;;;;;;;;;;;;;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:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1653:182:7;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1653:182:7;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;2418:148:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2418:148:7;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2418:148:7;;;3760:23:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3760:23:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3760:23:14;;;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;;;2119:150;;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;;;;;4793:142:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4793:142:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4793:142:14;;;1197:87:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1197:87:10;;;;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;3910:143:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3910:143:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3910:143:14;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3910:143:14;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3910:143:14;;;;;;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;3910:143:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;3910:143:14;;-1:-1:-1;3910:143:14;;-1:-1:-1;;;;;3910:143:14;4059:259;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4059:259:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4059:259:14;;;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;;;;;;;;;;;;778:133:3;871:33;;;848:4;871:33;;;;;;;;;;;;;778:133;;;;:::o;1006:83:10:-;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;1987:94:7:-;2057:10;:17;1987:94;:::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;:::-;5223:180;;;:::o;1653:182:7:-;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;6042:132:5:-;6128:39;6145:4;6151:2;6155:7;6128:39;;;;;;;;;;;;;:16;:39::i;2418:148:7:-;2476:7;2511:13;:11;:13::i;:::-;2503:21;;2495:30;;;;;;2542:10;:17;;2553:5;;2542:17;;;;;;;;;;;;;;2535:24;;2418:148;;;:::o;3760:23:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3760:23:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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;2119:150::-;2174:7;2201:19;;;;;2193:28;;;;;;-1:-1:-1;2238:24:5;;;;;;:17;:24;;;;;;;2119:150::o;4793:142:14:-;4872:13;;;4882:2;4872:13;;;;;;;;;4842:14;;4872:13;;;21:6:-1;;104:10;4872:13:14;87:34:-1;-1:-1;;;4920:2:14;4913:10;;4906:21;;;;-1:-1:-1;4913:10:14;4904:25::o;1197:87:10:-;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;3910:143:14:-;3974:7;:14;3991:2;-1:-1:-1;3966:49:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4025:7;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;4025:21:14;;;;;;;;;;;;;;;;:::i;4059:259::-;4149:63;;;4115:22;4149:63;;;;;;;;;;;;;;;;;;;;;4115:22;4241:18;4250:8;4241;:18::i;:::-;4222:37;;4276:35;4298:12;:2;:10;:12::i;:::-;4276:14;:4;:12;:14::i;:::-;:21;:35;:21;:35;:::i;:::-;4269:42;4059:259;-1:-1:-1;;;;4059:259:14:o;4645:145:5:-;4748:25;;;;4725:4;4748:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4645:145::o;7279:152::-;7336:4;7368:20;;;:11;:20;;;;;;;;7405:19;;;7279:152::o;7794:246::-;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;2940:239:7:-;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;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;4323:465:14:-;4372:13;4401:6;;4397:22;;;-1:-1:-1;4409:10:14;;;;;;;;;;;;;;;;;;;4397:22;4438:1;4429:6;4470:69;4477:6;;4470:69;;4499:8;;4526:2;4521:7;;;;4470:69;;;4548:17;4578:6;4568:17;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;4568:17:14;87:34:-1;135:17;;-1:-1;4568:17:14;-1:-1:-1;4548:37:14;-1:-1:-1;4604:10:14;;;4624:129;4631:6;;4624:129;;4666:2;4675;4671:6;;4666:11;4703:14;4666:11;4703:7;:14::i;:::-;:18;;4718:2;;4703:18;;;;;;;;;;4691:9;;4696:3;;;;4703:18;;;;;;;;;4691:4;;:9;;;;;;;;;;:30;;;;;;;;;;-1:-1:-1;4740:2:14;4735:7;;;;4624:129;;;;-1:-1:-1;4776:4:14;4323:465;-1:-1:-1;;;;4323:465:14:o;979:210:31:-;1039:12;;:::i;:::-;-1:-1:-1;1152:30:31;;;;;;;;;1158:18;;1152:30;;1121:4;1111:15;;;1152:30;;;;979:210;;;:::o;1476:375::-;1554:13;1579:17;1622:5;:10;;;1610:4;:9;;;:22;1599:34;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;1599:34:31;87::-1;135:17;;-1:-1;1599:34:31;;1579:54;;1643:11;1706:2;1701:3;1697:12;1687:22;;1728:36;1735:6;1743:4;:9;;;1754:4;:9;;;1728:6;:36::i;:::-;1790:9;;1801:10;;;;1813;;1774:50;;1781:18;;;1801:10;1774:6;:50::i;:::-;-1:-1:-1;1841:3:31;1476:375;-1:-1:-1;;;1476:375:31: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:7:-;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:7;;;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:7;;;;;;;;4888:183::o;463:616:0:-;523:4;1026:20;;1064:8;;463:616::o;230:549:31:-;350:165;364:2;357:9;;350:165;;433:10;;420:24;;479:2;471:10;;;;495:9;;;;368;;350:165;;;642:10;;697:11;;577:2;:8;;;;569:3;:17;:21;;654:9;;638:26;;;693:22;;741:21;728:35;;609:164::o;11215:171:5:-;11314:1;11278:24;;;:15;:24;;;;;;:38;:24;:38;11274:106;;11367:1;11332:24;;;:15;:24;;;;;:37;;;;;;11274:106;11215:171;:::o;1205:145:27:-;1263:7;1290:6;;;;1282:15;;;;;;-1:-1:-1;1319:5:27;;;1205:145::o;1431:::-;1489:7;1520:5;;;1543:6;;;;1535:15;;;;;;1568:1;1431:145;-1:-1:-1;;;1431:145:27:o;3680:1258:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3680:1258:14;;;-1:-1:-1;3680:1258:14;:::i;:::-;;;:::o;:::-;;;;;;;;;;-1:-1:-1;3680:1258:14;;;;;;;;:::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

Swarm Source

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