Contract 0xc170384371494b2A8f6ba20F4d085c4DDe763d96

 
 
Txn Hash
Method
Block
From
To
Value
0x6196ec377f198a9526a11b03a414098f689c3fe1dbdbd2b8c7607797f74713b9Set Approval For...152697762022-08-03 13:35:437 days 23 hrs ago0xe2cedc47153286f185939d7bdd2f5ec09f8c1f2a IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍0004968 10.‍76323586
0xe7e9330245844152b5646a883f71e04c8390099e41da4c225ebd3c21e6381d4aTransfer From152611042022-08-02 5:04:429 days 7 hrs ago0xad4618702998e39697e8ea5b6dc0103463cec212 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00115723 10.‍35099339
0xdc1c2c8082fd8bea8b261e75c5976dbef1783961c908ecff6ba27d5a53161133Set Approval For...152573202022-08-01 14:48:199 days 21 hrs ago0xda8990bb8b99ef3d6f634f25e3620ee4e2ad3307 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00052748 11.‍4278984
0xf1e8ba63bbc0ec13dfa82ffe94a5f855976a09ad4a8a53d5833df013d390f897Set Approval For...151486382022-07-15 17:26:0026 days 19 hrs ago0x50dd57f50a17d57304e7a4f262da30beb31c2e87 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00351819 76.‍22080022
0xa31c855e0e1b2fad2f0c97c50435892c3fe7dad83227225621777ea1cd32fd65Safe Transfer Fr...150905992022-07-06 18:37:4535 days 17 hrs agoNifty Gateway: Omnibus IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍0057162345.‍6
0xa2f5fb5cdd0578c8519b7780388ba30c03c7c8088f1dbf26f879bd76af491a91Set Approval For...150786162022-07-04 21:58:4937 days 14 hrs ago0x7bef8662356116cb436429f47e53322b711f4e42 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00139965 30.‍26797058
0xedbf30e8c8821cf05057190bf21cb0567ce01d8a395ae2879afcea251d0702faSet Approval For...150758212022-07-04 11:40:3138 days 55 mins agoENS Name farazyaqeen.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00129404 28.‍03508941
0xcd00d7c8de5c240bcaf4ab9167d48de68e61a270c216a2a958aace6959a98533Set Approval For...150486212022-06-30 4:39:4942 days 7 hrs ago0x30653411eb9f2560883c9ba1e2133d66a5610936 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍0011726 25.‍40411446
0x284043b2d7619c7db6f7a7075734dcc2bc40d3c6da9520599478fcc367bfacefSet Approval For...150199432022-06-24 19:47:5147 days 16 hrs ago0x7bef8662356116cb436429f47e53322b711f4e42 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00110269 41.‍9947239
0xc0f92ed380228cf84ad207fb5e10804b950bfbf620ad52b33a9d8f3cbaef8c14Set Approval For...150199432022-06-24 19:47:5147 days 16 hrs ago0x7bef8662356116cb436429f47e53322b711f4e42 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00193839 41.‍9947239
0x40b834931a33c195bed3ebb344a5ac70ea9956aa12a9405644ceafc386346e19Set Approval For...150192792022-06-24 16:51:4747 days 19 hrs ago0x22b792ca124ae45f9fcda8c90a781e76e30d75f1 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00196594 42.‍5917423
0xd64071f2bf6243694018b75d05497a428cf3b445371aa544b9c93974036905c5Set Approval For...150126622022-06-23 11:11:1249 days 1 hr ago0x2f44fb58135ae5d3793803c73d471c7cde4bb774 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00063656 13.‍76600821
0xbd60697695b7e3fb4febf706e80b5f1304cc83662bd57d6c5834441835c771a9Transfer From150029632022-06-21 15:32:3750 days 21 hrs agoENS Name shariq.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00477596 45.‍83500476
0xa5879e29883ac63c2824269da26ad5800fc404b0d5ccb1a007e8de1792720cf9Set Approval For...150026992022-06-21 14:18:1150 days 22 hrs agoENS Name shariq.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00252941 54.‍79904086
0xc397d48b87aa01895fe4f7ba75af5bbe166de2e9f09f577076091b30af447f20Safe Transfer Fr...149208502022-06-07 12:36:5164 days 23 hrs agoNifty Gateway: Omnibus IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍0045133236
0x38cf0cb8654c7da04b641ae62416cf2749fb7fc631c2e85d6210113bec756208Set Approval For...148255772022-05-22 20:59:1380 days 15 hrs ago0x716eb921f3b346d2c5749b5380dc740d359055d7 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00092896 20.‍08916752
0x2cb4f07929b352006728ac1de651a09c1cfeb217598a60a277d318dd989d16b1Transfer From148025332022-05-19 2:56:5184 days 9 hrs agoENS Name 9north.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00307416 29.‍50285969
0x75a241b19e5f948af2a01e1399a01809c6045ad259164b74b365b39e12d47579Set Approval For...147353512022-05-08 9:48:4995 days 2 hrs ago0x8a867ff9e8123b9d44f233a21d64d3f751bdc8a6 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00102242 22.‍11037561
0x9b93db76675d725c5e62d979a07743fb388e994c320655d3172d5162b42ec7abSet Approval For...147323832022-05-07 22:18:0395 days 14 hrs ago0x30653411eb9f2560883c9ba1e2133d66a5610936 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00137262 29.‍68340727
0x595f54dbc94689bffaf061af9feb61e7810abef22ce4c04463e6388ea0c2e590Transfer From147323702022-05-07 22:15:3795 days 14 hrs ago0x7af74883fdb872b39f8452b5ccd1721af294522e IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00368482 35.‍36338249
0xbe3a408742b61edf624cb3e12b4801af08b8c61b4d3db35dcbd38375c2cacec5Set Approval For...147190342022-05-05 19:28:1397 days 17 hrs agoENS Name shariq.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00351624 76.‍03998595
0x5643ef25054689660290b531da231a4529bc136648a56cb73a033ca114d85cbfSet Approval For...147006652022-05-02 21:29:03100 days 15 hrs ago0xc3559b9eafa671d617c1b98f55d29623f2180699 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00433485 93.‍74277983
0x28e52fdab949c65b2a2095964a9a5c93c0b43621a64ebafb41d97e59ec6447f3Transfer From146819242022-04-29 22:38:45103 days 13 hrs agoENS Name redi.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00515449 49.‍46781185
0x3b5d50de5c28ccfa4a10f4447079295b5cf3286dc1001dd9f3313df5e2fd12a0Transfer From146477492022-04-24 13:32:45108 days 23 hrs agoENS Name 99floor.eth IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00342774 32.‍8960938
0xf72b37950878ab88ea1ba1e8e139d774129901059a6e2a7942daaac722ae942fSet Approval For...146422982022-04-23 17:04:42109 days 19 hrs ago0xda8990bb8b99ef3d6f634f25e3620ee4e2ad3307 IN  0xc170384371494b2a8f6ba20f4d085c4dde763d960 Ether0.‍00150604 57.‍17268084
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeepleCollectionTwo100Edition

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-11
*/

pragma solidity ^0.5.0;

/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
contract Context {
   // Empty internal constructor, to prevent people from mistakenly deploying
   // an instance of this contract, which should be used via inheritance.
   constructor () internal { }
   // solhint-disable-previous-line no-empty-blocks

   function _msgSender() internal view returns (address payable) {
       return msg.sender;
   }

   function _msgData() internal view returns (bytes memory) {
       this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
       return msg.data;
   }
}

/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
   /**
    * @dev Returns true if this contract implements the interface defined by
    * `interfaceId`. See the corresponding
    * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
    * to learn more about how these ids are created.
    *
    * This function call must use less than 30 000 gas.
    */
   function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts may inherit from this and call {_registerInterface} to declare
* their support of an interface.
*/
contract ERC165 is IERC165 {
   /*
    * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
    */
   bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

   /**
    * @dev Mapping of interface ids to whether or not it's supported.
    */
   mapping(bytes4 => bool) private _supportedInterfaces;

   constructor () internal {
       // Derived contracts need only register support for their own interfaces,
       // we register support for ERC165 itself here
       _registerInterface(_INTERFACE_ID_ERC165);
   }

   /**
    * @dev See {IERC165-supportsInterface}.
    *
    * Time complexity O(1), guaranteed to always use less than 30 000 gas.
    */
   function supportsInterface(bytes4 interfaceId) external view returns (bool) {
       return _supportedInterfaces[interfaceId];
   }

   /**
    * @dev Registers the contract as an implementer of the interface defined by
    * `interfaceId`. Support of the actual ERC165 interface is automatic and
    * registering its interface id is not required.
    *
    * See {IERC165-supportsInterface}.
    *
    * Requirements:
    *
    * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
    */
   function _registerInterface(bytes4 interfaceId) internal {
       require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
       _supportedInterfaces[interfaceId] = true;
   }
}

/**
* @dev Required interface of an ERC721 compliant contract.
*/
contract IERC721 is IERC165 {
   event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
   event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
   event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

   /**
    * @dev Returns the number of NFTs in `owner`'s account.
    */
   function balanceOf(address owner) public view returns (uint256 balance);

   /**
    * @dev Returns the owner of the NFT specified by `tokenId`.
    */
   function ownerOf(uint256 tokenId) public view returns (address owner);

   /**
    * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
    * another (`to`).
    *
    *
    *
    * Requirements:
    * - `from`, `to` cannot be zero.
    * - `tokenId` must be owned by `from`.
    * - If the caller is not `from`, it must be have been allowed to move this
    * NFT by either {approve} or {setApprovalForAll}.
    */
   function safeTransferFrom(address from, address to, uint256 tokenId) public;
   /**
    * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
    * another (`to`).
    *
    * Requirements:
    * - If the caller is not `from`, it must be approved to move this NFT by
    * either {approve} or {setApprovalForAll}.
    */
   function transferFrom(address from, address to, uint256 tokenId) public;
   function approve(address to, uint256 tokenId) public;
   function getApproved(uint256 tokenId) public view returns (address operator);

   function setApprovalForAll(address operator, bool _approved) public;
   function isApprovedForAll(address owner, address operator) public view returns (bool);


   function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}

/**
* @title 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 {IERC721-safeTransferFrom}. This function MUST return the function selector,
    * otherwise the caller will revert the transaction. The selector to be
    * returned can be obtained as `this.onERC721Received.selector`. This
    * function MAY throw to revert and reject the transfer.
    * Note: the ERC721 contract address is always the message sender.
    * @param operator The address which called `safeTransferFrom` function
    * @param from The address which previously owned the token
    * @param tokenId The NFT identifier which is being transferred
    * @param data Additional data with no specified format
    * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    */
   function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
   public returns (bytes4);
}

/**
* @title ERC721 Non-Fungible Token Standard basic implementation
* @dev see https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721 is Context, ERC165, IERC721 {
   using SafeMath for uint256;
   using Address for address;
   using Counters for Counters.Counter;

   // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
   // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
   bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

   // Mapping from token ID to owner
   mapping (uint256 => address) private _tokenOwner;

   // Mapping from token ID to approved address
   mapping (uint256 => address) private _tokenApprovals;

   // Mapping from owner to number of owned token
   mapping (address => Counters.Counter) private _ownedTokensCount;

   // Mapping from owner to operator approvals
   mapping (address => mapping (address => bool)) private _operatorApprovals;

   /*
    *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
    *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
    *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
    *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
    *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
    *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
    *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
    *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
    *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
    *
    *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
    *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
    */
   bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

   constructor () public {
       // register the supported interfaces to conform to ERC721 via ERC165
       _registerInterface(_INTERFACE_ID_ERC721);
   }

   /**
    * @dev Gets the balance of the specified address.
    * @param owner address to query the balance of
    * @return uint256 representing the amount owned by the passed address
    */
   function balanceOf(address owner) public view returns (uint256) {
       require(owner != address(0), "ERC721: balance query for the zero address");

       return _ownedTokensCount[owner].current();
   }

   /**
    * @dev Gets the owner of the specified token ID.
    * @param tokenId uint256 ID of the token to query the owner of
    * @return address currently marked as the owner of the given token ID
    */
   function ownerOf(uint256 tokenId) public view returns (address) {
       address owner = _tokenOwner[tokenId];
       require(owner != address(0), "ERC721: owner query for nonexistent token");

       return owner;
   }

   /**
    * @dev Approves another address to transfer the given token ID
    * The zero address indicates there is no approved address.
    * There can only be one approved address per token at a given time.
    * Can only be called by the token owner or an approved operator.
    * @param to address to be approved for the given token ID
    * @param tokenId uint256 ID of the token to be approved
    */
   function approve(address to, uint256 tokenId) public {
       address owner = ownerOf(tokenId);
       require(to != owner, "ERC721: approval to current owner");

       require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
           "ERC721: approve caller is not owner nor approved for all"
       );

       _tokenApprovals[tokenId] = to;
       emit Approval(owner, to, tokenId);
   }

   /**
    * @dev Gets the approved address for a token ID, or zero if no address set
    * Reverts if the token ID does not exist.
    * @param tokenId uint256 ID of the token to query the approval of
    * @return address currently approved for the given token ID
    */
   function getApproved(uint256 tokenId) public view returns (address) {
       require(_exists(tokenId), "ERC721: approved query for nonexistent token");

       return _tokenApprovals[tokenId];
   }

   /**
    * @dev Sets or unsets the approval of a given operator
    * An operator is allowed to transfer all tokens of the sender on their behalf.
    * @param to operator address to set the approval
    * @param approved representing the status of the approval to be set
    */
   function setApprovalForAll(address to, bool approved) public {
       require(to != _msgSender(), "ERC721: approve to caller");

       _operatorApprovals[_msgSender()][to] = approved;
       emit ApprovalForAll(_msgSender(), to, approved);
   }

   /**
    * @dev Tells whether an operator is approved by a given owner.
    * @param owner owner address which you want to query the approval of
    * @param operator operator address which you want to query the approval of
    * @return bool whether the given operator is approved by the given owner
    */
   function isApprovedForAll(address owner, address operator) public view returns (bool) {
       return _operatorApprovals[owner][operator];
   }

   /**
    * @dev Transfers the ownership of a given token ID to another address.
    * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
    * Requires the msg.sender to be the owner, approved, or operator.
    * @param from current owner of the token
    * @param to address to receive the ownership of the given token ID
    * @param tokenId uint256 ID of the token to be transferred
    */
   function transferFrom(address from, address to, uint256 tokenId) public {
       //solhint-disable-next-line max-line-length
       require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

       _transferFrom(from, to, tokenId);
   }

   /**
    * @dev Safely transfers the ownership of a given token ID to another address
    * If the target address is a contract, it must implement {IERC721Receiver-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 {IERC721Receiver-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 _msgSender() 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 {
       require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
       _safeTransferFrom(from, to, tokenId, _data);
   }

   /**
    * @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) internal {
       _transferFrom(from, to, tokenId);
       require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
   }

   /**
    * @dev Returns whether the specified token exists.
    * @param tokenId uint256 ID of the token to query the existence of
    * @return bool whether the token exists
    */
   function _exists(uint256 tokenId) internal view returns (bool) {
       address owner = _tokenOwner[tokenId];
       return owner != address(0);
   }

   /**
    * @dev Returns whether the given spender can transfer a given token ID.
    * @param spender address of the spender to query
    * @param tokenId uint256 ID of the token to be transferred
    * @return bool whether the msg.sender is approved for the given token ID,
    * is an operator of the owner, or is the owner of the token
    */
   function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
       require(_exists(tokenId), "ERC721: operator query for nonexistent token");
       address owner = ownerOf(tokenId);
       return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
   }

   /**
    * @dev Internal function to safely mint a new token.
    * Reverts if the given token ID already exists.
    * 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.
    * @param to The address that will own the minted token
    * @param tokenId uint256 ID of the token to be minted
    */
   function _safeMint(address to, uint256 tokenId) internal {
       _safeMint(to, tokenId, "");
   }

   /**
    * @dev Internal function to safely mint a new token.
    * Reverts if the given token ID already exists.
    * 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.
    * @param to The address that will own the minted token
    * @param tokenId uint256 ID of the token to be minted
    * @param _data bytes data to send along with a safe transfer check
    */
   function _safeMint(address to, uint256 tokenId, bytes memory _data) internal {
       _mint(to, tokenId);
       require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
   }

   /**
    * @dev Internal function to mint a new token.
    * Reverts if the given token ID already exists.
    * @param to The address that will own the minted token
    * @param tokenId uint256 ID of the token to be minted
    */
   function _mint(address to, uint256 tokenId) internal {
       require(to != address(0), "ERC721: mint to the zero address");
       require(!_exists(tokenId), "ERC721: token already minted");

       _tokenOwner[tokenId] = to;
       _ownedTokensCount[to].increment();

       emit Transfer(address(0), to, tokenId);
   }

   /**
    * @dev Internal function to burn a specific token.
    * Reverts if the token does not exist.
    * Deprecated, use {_burn} instead.
    * @param owner owner of the token to burn
    * @param tokenId uint256 ID of the token being burned
    */
   function _burn(address owner, uint256 tokenId) internal {
       require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own");

       _clearApproval(tokenId);

       _ownedTokensCount[owner].decrement();
       _tokenOwner[tokenId] = address(0);

       emit Transfer(owner, address(0), tokenId);
   }

   /**
    * @dev Internal function to burn a specific token.
    * Reverts if the token does not exist.
    * @param tokenId uint256 ID of the token being burned
    */
   function _burn(uint256 tokenId) internal {
       _burn(ownerOf(tokenId), tokenId);
   }

   /**
    * @dev Internal function to transfer ownership of a given token ID to another address.
    * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
    * @param from current owner of the token
    * @param to address to receive the ownership of the given token ID
    * @param tokenId uint256 ID of the token to be transferred
    */
   function _transferFrom(address from, address to, uint256 tokenId) internal {
       require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
       require(to != address(0), "ERC721: transfer to the zero address");

       _clearApproval(tokenId);

       _ownedTokensCount[from].decrement();
       _ownedTokensCount[to].increment();

       _tokenOwner[tokenId] = to;

       emit Transfer(from, to, tokenId);
   }

   /**
    * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
    * The call is not executed if the target address is not a contract.
    *
    * This function is deprecated.
    * @param from address representing the previous owner of the given token ID
    * @param to target address that will receive the tokens
    * @param tokenId uint256 ID of the token to be transferred
    * @param _data bytes optional data to send along with the call
    * @return bool whether the call correctly returned the expected magic value
    */
   function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
       internal returns (bool)
   {
       if (!to.isContract()) {
           return true;
       }

       bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data);
       return (retval == _ERC721_RECEIVED);
   }

   /**
    * @dev Private function to clear current approval of a given token ID.
    * @param tokenId uint256 ID of the token to be transferred
    */
   function _clearApproval(uint256 tokenId) private {
       if (_tokenApprovals[tokenId] != address(0)) {
           _tokenApprovals[tokenId] = address(0);
       }
   }
}

/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
contract IERC721Enumerable is IERC721 {
   function totalSupply() public view returns (uint256);
   function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId);

   function tokenByIndex(uint256 index) public view returns (uint256);
}

/**
* @title ERC-721 Non-Fungible Token with optional enumeration extension logic
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable {
   // Mapping from owner to list of owned token IDs
   mapping(address => uint256[]) private _ownedTokens;

   // Mapping from token ID to index of the owner tokens list
   mapping(uint256 => uint256) private _ownedTokensIndex;

   // Array with all token ids, used for enumeration
   uint256[] private _allTokens;

   // Mapping from token id to position in the allTokens array
   mapping(uint256 => uint256) private _allTokensIndex;

   /*
    *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
    *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
    *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
    *
    *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
    */
   bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

   /**
    * @dev Constructor function.
    */
   constructor () public {
       // register the supported interface to conform to ERC721Enumerable via ERC165
       _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
   }

   /**
    * @dev Gets the token ID at a given index of the tokens list of the requested owner.
    * @param owner address owning the tokens list to be accessed
    * @param index uint256 representing the index to be accessed of the requested tokens list
    * @return uint256 token ID at the given index of the tokens list owned by the requested address
    */
   function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
       require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
       return _ownedTokens[owner][index];
   }

   /**
    * @dev Gets the total amount of tokens stored by the contract.
    * @return uint256 representing the total amount of tokens
    */
   function totalSupply() public view returns (uint256) {
       return _allTokens.length;
   }

   /**
    * @dev Gets the token ID at a given index of all the tokens in this contract
    * Reverts if the index is greater or equal to the total number of tokens.
    * @param index uint256 representing the index to be accessed of the tokens list
    * @return uint256 token ID at the given index of the tokens list
    */
   function tokenByIndex(uint256 index) public view returns (uint256) {
       require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
       return _allTokens[index];
   }

   /**
    * @dev Internal function to transfer ownership of a given token ID to another address.
    * As opposed to transferFrom, this imposes no restrictions on msg.sender.
    * @param from current owner of the token
    * @param to address to receive the ownership of the given token ID
    * @param tokenId uint256 ID of the token to be transferred
    */
   function _transferFrom(address from, address to, uint256 tokenId) internal {
       super._transferFrom(from, to, tokenId);

       _removeTokenFromOwnerEnumeration(from, tokenId);

       _addTokenToOwnerEnumeration(to, tokenId);
   }

   /**
    * @dev Internal function to mint a new token.
    * Reverts if the given token ID already exists.
    * @param to address the beneficiary that will own the minted token
    * @param tokenId uint256 ID of the token to be minted
    */
   function _mint(address to, uint256 tokenId) internal {
       super._mint(to, tokenId);

       _addTokenToOwnerEnumeration(to, tokenId);

       _addTokenToAllTokensEnumeration(tokenId);
   }

   /**
    * @dev Internal function to burn a specific token.
    * Reverts if the token does not exist.
    * Deprecated, use {ERC721-_burn} instead.
    * @param owner owner of the token to burn
    * @param tokenId uint256 ID of the token being burned
    */
   function _burn(address owner, uint256 tokenId) internal {
       super._burn(owner, tokenId);

       _removeTokenFromOwnerEnumeration(owner, tokenId);
       // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
       _ownedTokensIndex[tokenId] = 0;

       _removeTokenFromAllTokensEnumeration(tokenId);
   }

   /**
    * @dev Gets the list of token IDs of the requested owner.
    * @param owner address owning the tokens
    * @return uint256[] List of token IDs owned by the requested address
    */
   function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
       return _ownedTokens[owner];
   }

   /**
    * @dev Private function to add a token to this extension's ownership-tracking data structures.
    * @param to address representing the new owner of the given token ID
    * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
    */
   function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
       _ownedTokensIndex[tokenId] = _ownedTokens[to].length;
       _ownedTokens[to].push(tokenId);
   }

   /**
    * @dev Private function to add a token to this extension's token tracking data structures.
    * @param tokenId uint256 ID of the token to be added to the tokens list
    */
   function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
       _allTokensIndex[tokenId] = _allTokens.length;
       _allTokens.push(tokenId);
   }

   /**
    * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
    * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
    * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
    * This has O(1) time complexity, but alters the order of the _ownedTokens array.
    * @param from address representing the previous owner of the given token ID
    * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
    */
   function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
       // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
       // then delete the last slot (swap and pop).

       uint256 lastTokenIndex = _ownedTokens[from].length.sub(1);
       uint256 tokenIndex = _ownedTokensIndex[tokenId];

       // When the token to delete is the last token, the swap operation is unnecessary
       if (tokenIndex != lastTokenIndex) {
           uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

           _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
           _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
       }

       // This also deletes the contents at the last position of the array
       _ownedTokens[from].length--;

       // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
       // lastTokenId, or just over the end of the array if the token was the last one).
   }

   /**
    * @dev Private function to remove a token from this extension's token tracking data structures.
    * This has O(1) time complexity, but alters the order of the _allTokens array.
    * @param tokenId uint256 ID of the token to be removed from the tokens list
    */
   function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
       // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
       // then delete the last slot (swap and pop).

       uint256 lastTokenIndex = _allTokens.length.sub(1);
       uint256 tokenIndex = _allTokensIndex[tokenId];

       // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
       // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
       // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
       uint256 lastTokenId = _allTokens[lastTokenIndex];

       _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
       _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

       // This also deletes the contents at the last position of the array
       _allTokens.length--;
       _allTokensIndex[tokenId] = 0;
   }
}

/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
contract IERC721Metadata is IERC721 {
   function name() external view returns (string memory);
   function symbol() external view returns (string memory);
   function tokenURI(uint256 tokenId) external view returns (string memory);
}

contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata {
   // Token name
   string private _name;

   // Token symbol
   string private _symbol;

   // Optional mapping for token URIs
   mapping(uint256 => string) private _tokenURIs;
  
   
   //Optional mapping for IPFS link to canonical image file
   mapping(uint256 => string) private _tokenIPFSHashes;
   
   mapping(uint256 => string) private _niftyTypeName;
   
    //Optional mapping for IPFS link to canonical image file by  Nifty type 
   mapping(uint256 => string) private _niftyTypeIPFSHashes;
   
   //Token name 
   mapping(uint256 => string) private _tokenName;

   /*
    *     bytes4(keccak256('name()')) == 0x06fdde03
    *     bytes4(keccak256('symbol()')) == 0x95d89b41
    *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
    *
    *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
    */
   bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

   /**
    * @dev Constructor function
    */
   constructor (string memory name, string memory symbol) public {
       _name = name;
       _symbol = symbol;

       // register the supported interfaces to conform to ERC721 via ERC165
       _registerInterface(_INTERFACE_ID_ERC721_METADATA);
   }

   /**
    * @dev Gets the token name.
    * @return string representing the token name
    */
   function name() external view returns (string memory) {
       return _name;
   }

   /**
    * @dev Gets the token symbol.
    * @return string representing the token symbol
    */
   function symbol() external view returns (string memory) {
       return _symbol;
   }
   
      //master builder - ONLY DOES STATIC CALLS
   address public masterBuilderContract = 0x6EFB06cF568253a53C7511BD3c31AB28BecB0192;

   /**
    * @dev Returns an URI for a given token ID.
    * Throws if the token ID does not exist. May return an empty string.
    * @param tokenId uint256 ID of the token to query
    */
   function tokenURI(uint256 tokenId) external view returns (string memory) {
       require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
       return _tokenURIs[tokenId];
   }
   
   
     /**
    * @dev Returns an IPFS Hash 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 tokenIPFSHash(uint256 tokenId) external view returns (string memory) {
       require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        //master for static calls
       BuilderMaster bm = BuilderMaster(masterBuilderContract);
       uint nifty_type = bm.getNiftyTypeId(tokenId);
       return _niftyTypeIPFSHashes[nifty_type];
   }
   
        /**
    * @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 tokenName(uint256 tokenId) external view returns (string memory) {
       require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        //master for static calls
       BuilderMaster bm = BuilderMaster(masterBuilderContract);
       uint nifty_type = bm.getNiftyTypeId(tokenId);
       return _niftyTypeName[nifty_type];
   }

   /**
    * @dev Internal function to set the token URI for a given token.
    * Reverts if the token ID does not exist.
    * @param tokenId uint256 ID of the token to set its URI
    * @param uri string URI to assign
    */
   function _setTokenURI(uint256 tokenId, string memory uri) internal {
       require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
       _tokenURIs[tokenId] = uri;
   }
   
      /**
    * @dev Internal function to set the token IPFS hash for a given token.
    * Reverts if the token ID does not exist.
    * @param tokenId uint256 ID of the token to set its URI
    * @param ipfs_hash string IPFS link to assign
    */
   function _setTokenIPFSHash(uint256 tokenId, string memory ipfs_hash) internal {
       require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
       _tokenIPFSHashes[tokenId] = ipfs_hash;
   }
   
            /**
    * @dev Internal function to set the token IPFS hash for a given token.
    * Reverts if the token ID does not exist.
    * @param niftyType uint256 ID of the token to set its URI
    * @param ipfs_hash string IPFS link to assign
    */
   function _setTokenIPFSHashNiftyType(uint256 niftyType, string memory ipfs_hash) internal {
    //   require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
       _niftyTypeIPFSHashes[niftyType] = ipfs_hash;
   }
   
         /**
    * @dev Internal function to set the token IPFS hash for a given token.
    * Reverts if the token ID does not exist.
    * @param nifty_type uint256 of nifty type name to be set
    * @param nifty_type_name name of nifty type
    */
   function _setNiftyTypeName(uint256 nifty_type, string memory nifty_type_name) internal {
       _niftyTypeName[nifty_type] = nifty_type_name;
   }
   
   

   /**
    * @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];
       }
   }
}


/**
* @title Full ERC721 Token
* @dev This implementation includes all the required and some optional functionality of the ERC721 standard
* Moreover, it includes approve all functionality using operator terminology.
*
* See https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata {
   constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) {
       // solhint-disable-previous-line no-empty-blocks
   }
}


contract BeepleCollectionTwo100Edition is ERC721Full {

   //MODIFIERS
   
   modifier onlyOwner() {
       require(msg.sender == contractOwner);
       _;
   }

   //CONSTANTS

   // how many nifties this contract is selling
   // used for metadat retrieval
   uint public numNiftiesCurrentlyInContract;

   //id of this contract for metadata server
   uint public contractId;

   //baseURI for metadata server
   string public baseURI;
   
   // name of creator
   string public nameOfCreator;
   
   address public contractOwner;

   //master builder - ONLY DOES STATIC CALLS
   address public masterBuilderContract = 0x6EFB06cF568253a53C7511BD3c31AB28BecB0192;

   using Counters for Counters.Counter;

   //MAPPINGS

   //mappings for token Ids
   mapping (uint => Counters.Counter) public _numNiftyMinted;
   mapping (uint => uint) public _numNiftyPermitted;
   mapping (uint => uint) public _niftyPrice;
   mapping (uint => string) public _niftyIPFSHashes;
//   mapping (uint => bool) public _IPFSHashHasBeenSet;

   //EVENTS

   //purchase + creation events
   event NiftyPurchased(address _buyer, uint256 _amount, uint _tokenId);
   event NiftyCreated(address new_owner, uint _niftyType, uint _tokenId);

   //CONSTRUCTOR FUNCTION

   constructor(
       string memory base_uri) ERC721Full("Beeple Round 2", "BEEPLE2") public {
           
       //set contract owner to deployer wallet
       contractOwner = msg.sender;

       //set local variables based on inputs
       contractId = 1;
       numNiftiesCurrentlyInContract = 1;
       baseURI = base_uri;
       nameOfCreator = "Beeple";
       
       //edition of 100
       _numNiftyPermitted[1] = 100;
       
       //set names
       _setNiftyTypeName(1, "BEEPLE EVERYDAYS - RAW");

   }
   
   function setNiftyName (uint niftyType, string memory niftyName) onlyOwner public {
       //allow owner to change nifty name
        _setNiftyTypeName(niftyType, niftyName);
   }
   
   function setBaseURI(string memory newBaseURI) onlyOwner public {
       //allow owner to change base URI
        baseURI = newBaseURI;
   }

   function isNiftySoldOut(uint niftyType) public view returns (bool) {
       if (niftyType > numNiftiesCurrentlyInContract) {
           return true;
       }
       if (_numNiftyMinted[niftyType].current() > _numNiftyPermitted[niftyType]) {
           return (true);
       } else {
           return (false);
       }
   }

   function giftNifty(address collector_address, 
                      uint niftyType) onlyOwner public {
       //master for static calls
       BuilderMaster bm = BuilderMaster(masterBuilderContract);
       _numNiftyMinted[niftyType].increment();
       //check if this nifty is sold out
       if (isNiftySoldOut(niftyType)==true) {
           revert("Nifty sold out!");
       }
       //mint a nifty
       uint specificTokenId = _numNiftyMinted[niftyType].current();
       uint tokenId = bm.encodeTokenId(contractId, niftyType, specificTokenId);
       string memory tokenIdStr = bm.uint2str(tokenId);
       string memory tokenURI = bm.strConcat(baseURI, tokenIdStr);
       string memory ipfsHash = _niftyIPFSHashes[niftyType];
       //mint token
       _mint(collector_address, tokenId);
       _setTokenURI(tokenId, tokenURI);
       _setTokenIPFSHash(tokenId, ipfsHash);
       //do events
       emit NiftyCreated(collector_address, niftyType, tokenId);
   }
   
    function massMintTypeNFTs(address collector_address, uint numToMint) onlyOwner public {
        //loop through array and create nifties
        for (uint i=0; i < numToMint; i++) {
            giftNifty(collector_address,1);
        }
       
   }

}

contract NiftyRegistry {
   function isValidNiftySender(address sending_key) public view returns (bool);
   function isOwner(address owner_key) public view returns (bool);
}

contract BuilderMaster {
   function getContractId(uint tokenId) public view returns (uint);
   function getNiftyTypeId(uint tokenId) public view returns (uint);
   function getSpecificNiftyNum(uint tokenId) public view returns (uint);
   function encodeTokenId(uint contractId, uint niftyType, uint specificNiftyNum) public view returns (uint);
   function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) public view returns (string memory);
   function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) public view returns (string memory);
   function strConcat(string memory _a, string memory _b, string memory _c) public view returns (string memory);
   function strConcat(string memory _a, string memory _b) public view returns (string memory);
   function uint2str(uint _i) public view returns (string memory _uintAsString);
}

/**
* Contracts and libraries below are from OpenZeppelin, except nifty builder instance
**/


/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
   /**
    * @dev Returns the addition of two unsigned integers, reverting on
    * overflow.
    *
    * Counterpart to Solidity's `+` operator.
    *
    * Requirements:
    * - Addition cannot overflow.
    */
   function add(uint256 a, uint256 b) internal pure returns (uint256) {
       uint256 c = a + b;
       require(c >= a, "SafeMath: addition overflow");

       return c;
   }

   /**
    * @dev Returns the subtraction of two unsigned integers, reverting on
    * overflow (when the result is negative).
    *
    * Counterpart to Solidity's `-` operator.
    *
    * Requirements:
    * - Subtraction cannot overflow.
    */
   function sub(uint256 a, uint256 b) internal pure returns (uint256) {
       return sub(a, b, "SafeMath: subtraction overflow");
   }

   /**
    * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
    * overflow (when the result is negative).
    *
    * Counterpart to Solidity's `-` operator.
    *
    * Requirements:
    * - Subtraction cannot overflow.
    *
    * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
    * @dev Get it via `npm install @openzeppelin/[email protected]`.
    */
   function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
       require(b <= a, errorMessage);
       uint256 c = a - b;

       return c;
   }

   /**
    * @dev Returns the multiplication of two unsigned integers, reverting on
    * overflow.
    *
    * Counterpart to Solidity's `*` operator.
    *
    * Requirements:
    * - Multiplication cannot overflow.
    */
   function mul(uint256 a, uint256 b) internal pure returns (uint256) {
       // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
       // benefit is lost if 'b' is also tested.
       // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
       if (a == 0) {
           return 0;
       }

       uint256 c = a * b;
       require(c / a == b, "SafeMath: multiplication overflow");

       return c;
   }

   /**
    * @dev Returns the integer division of two unsigned integers. Reverts on
    * division by zero. The result is rounded towards zero.
    *
    * Counterpart to Solidity's `/` operator. Note: this function uses a
    * `revert` opcode (which leaves remaining gas untouched) while Solidity
    * uses an invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    */
   function div(uint256 a, uint256 b) internal pure returns (uint256) {
       return div(a, b, "SafeMath: division by zero");
   }

   /**
    * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
    * division by zero. The result is rounded towards zero.
    *
    * Counterpart to Solidity's `/` operator. Note: this function uses a
    * `revert` opcode (which leaves remaining gas untouched) while Solidity
    * uses an invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
    * @dev Get it via `npm install @openzeppelin/[email protected]`.
    */
   function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
       // Solidity only automatically asserts when dividing by 0
       require(b > 0, errorMessage);
       uint256 c = a / b;
       // assert(a == b * c + a % b); // There is no case in which this doesn't hold

       return c;
   }

   /**
    * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
    * Reverts when dividing by zero.
    *
    * Counterpart to Solidity's `%` operator. This function uses a `revert`
    * opcode (which leaves remaining gas untouched) while Solidity uses an
    * invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    */
   function mod(uint256 a, uint256 b) internal pure returns (uint256) {
       return mod(a, b, "SafeMath: modulo by zero");
   }

   /**
    * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
    * Reverts with custom message when dividing by zero.
    *
    * Counterpart to Solidity's `%` operator. This function uses a `revert`
    * opcode (which leaves remaining gas untouched) while Solidity uses an
    * invalid opcode to revert (consuming all remaining gas).
    *
    * Requirements:
    * - The divisor cannot be zero.
    *
    * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
    * @dev Get it via `npm install @openzeppelin/[email protected]`.
    */
   function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
       require(b != 0, errorMessage);
       return a % b;
   }
}

/**
* @dev Collection of functions related to the address type
*/
library Address {
   /**
    * @dev Returns true if `account` is a contract.
    *
    * This test is non-exhaustive, and there may be false-negatives: during the
    * execution of a contract's constructor, its address will be reported as
    * not containing a contract.
    *
    * IMPORTANT: It is unsafe to assume that an address for which this
    * function returns false is an externally-owned account (EOA) and not a
    * contract.
    */
   function isContract(address account) internal view returns (bool) {
       // This method relies in extcodesize, which returns 0 for contracts in
       // construction, since the code is only stored at the end of the
       // constructor execution.

       // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
       // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
       // for accounts without code, i.e. `keccak256('')`
       bytes32 codehash;
       bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
       // solhint-disable-next-line no-inline-assembly
       assembly { codehash := extcodehash(account) }
       return (codehash != 0x0 && codehash != accountHash);
   }

   /**
    * @dev Converts an `address` into `address payable`. Note that this is
    * simply a type cast: the actual underlying value is not changed.
    *
    * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
    * @dev Get it via `npm install @openzeppelin/[email protected]`.
    */
   function toPayable(address account) internal pure returns (address payable) {
       return address(uint160(account));
   }

   /**
    * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
    * `recipient`, forwarding all available gas and reverting on errors.
    *
    * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
    * of certain opcodes, possibly making contracts go over the 2300 gas limit
    * imposed by `transfer`, making them unable to receive funds via
    * `transfer`. {sendValue} removes this limitation.
    *
    * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
    *
    * IMPORTANT: because control is transferred to `recipient`, care must be
    * taken to not create reentrancy vulnerabilities. Consider using
    * {ReentrancyGuard} or the
    * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
    */
   function sendValue(address payable recipient, uint256 amount) internal {
       require(address(this).balance >= amount, "Address: insufficient balance");

       // solhint-disable-next-line avoid-call-value
       (bool success, ) = recipient.call.value(amount)("");
       require(success, "Address: unable to send value, recipient may have reverted");
   }
}

/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
* Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
* overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
* directly accessed.
*/
library Counters {
   using SafeMath for uint256;

   struct Counter {
       // This variable should never be directly accessed by users of the library: interactions must be restricted to
       // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
       // this feature: see https://github.com/ethereum/solidity/issues/4637
       uint256 _value; // default: 0
   }

   function current(Counter storage counter) internal view returns (uint256) {
       return counter._value;
   }

   function increment(Counter storage counter) internal {
       // The {SafeMath} overflow check can be skipped here, see the comment at the top
       counter._value += 1;
   }

   function decrement(Counter storage counter) internal {
       counter._value = counter._value.sub(1);
   }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"base_uri","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"new_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_niftyType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"NiftyCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"NiftyPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_niftyIPFSHashes","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_niftyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_numNiftyMinted","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_numNiftyPermitted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contractId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"collector_address","type":"address"},{"internalType":"uint256","name":"niftyType","type":"uint256"}],"name":"giftNifty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"niftyType","type":"uint256"}],"name":"isNiftySoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"collector_address","type":"address"},{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"massMintTypeNFTs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"masterBuilderContract","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nameOfCreator","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"numNiftiesCurrentlyInContract","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"niftyType","type":"uint256"},{"internalType":"string","name":"niftyName","type":"string"}],"name":"setNiftyName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenIPFSHash","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052736efb06cf568253a53c7511bd3c31ab28becb0192601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550736efb06cf568253a53c7511bd3c31ab28becb0192601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000bb57600080fd5b50604051620042143803806200421483398181016040526020811015620000e157600080fd5b81019080805160405193929190846401000000008211156200010257600080fd5b838201915060208201858111156200011957600080fd5b82518660018202830111640100000000821117156200013757600080fd5b8083526020830192505050908051906020019080838360005b838110156200016d57808201518184015260208101905062000150565b50505050905090810190601f1680156200019b5780820380516001836020036101000a031916815260200191505b506040525050506040518060400160405280600e81526020017f426565706c6520526f756e6420320000000000000000000000000000000000008152506040518060400160405280600781526020017f424545504c4532000000000000000000000000000000000000000000000000008152508181620002286301ffc9a760e01b620003c760201b60201c565b620002406380ac58cd60e01b620003c760201b60201c565b6200025863780e9d6360e01b620003c760201b60201c565b816009908051906020019062000270929190620004fe565b5080600a908051906020019062000289929190620004fe565b50620002a2635b5e139f60e01b620003c760201b60201c565b5050505033601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601281905550600160118190555080601390805190602001906200030f929190620004fe565b506040518060400160405280600681526020017f426565706c650000000000000000000000000000000000000000000000000000815250601490805190602001906200035d929190620004fe565b506064601860006001815260200190815260200160002081905550620003c060016040518060400160405280601681526020017f424545504c4520455645525944415953202d2052415700000000000000000000815250620004d060201b60201c565b50620005ad565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b80600d60008481526020019081526020016000209080519060200190620004f9929190620004fe565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200054157805160ff191683800117855562000572565b8280016001018555821562000572579182015b828111156200057157825182559160200191906001019062000554565b5b50905062000581919062000585565b5090565b620005aa91905b80821115620005a65760008160009055506001016200058c565b5090565b90565b613c5780620005bd6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806372ba8c091161011a578063c87b56dd116100ad578063e10162841161007c578063e101628414610dcc578063e725f87714610e73578063e943753714610f1a578063e985e9c514610f5c578063faeaa15314610fd8576101fb565b8063c87b56dd14610b6f578063ce606ee014610c16578063d371663014610c60578063d7a853be14610d07576101fb565b80639b18f574116100e95780639b18f57414610986578063a22cb465146109cc578063a2f1784f14610a1c578063b88d4fde14610a6a576101fb565b806372ba8c09146108205780638291286c1461086257806395d89b4114610880578063983472c314610903576101fb565b806342842e0e116101925780636352211e116101615780636352211e1461068d57806363b7e173146106fb5780636c0360eb1461074557806370a08231146107c8576101fb565b806342842e0e146104d45780634f1d4832146105425780634f6ccce71461059057806355f804b3146105d2576101fb565b806316e978c5116101ce57806316e978c5146103a457806318160ddd146103e657806323b872dd146104045780632f745c5914610472576101fb565b806301ffc9a71461020057806306fdde0314610265578063081812fc146102e8578063095ea7b314610356575b600080fd5b61024b6004803603602081101561021657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610ff6565b604051808215151515815260200191505060405180910390f35b61026d61105d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102ad578082015181840152602081019050610292565b50505050905090810190601f1680156102da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610314600480360360208110156102fe57600080fd5b81019080803590602001909291905050506110ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a26004803603604081101561036c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061119a565b005b6103d0600480360360208110156103ba57600080fd5b8101908080359060200190929190505050611381565b6040518082815260200191505060405180910390f35b6103ee611399565b6040518082815260200191505060405180910390f35b6104706004803603606081101561041a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113a6565b005b6104be6004803603604081101561048857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061141c565b6040518082815260200191505060405180910390f35b610540600480360360608110156104ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114db565b005b61058e6004803603604081101561055857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114fb565b005b6105bc600480360360208110156105a657600080fd5b8101908080359060200190929190505050611bb2565b6040518082815260200191505060405180910390f35b61068b600480360360208110156105e857600080fd5b810190808035906020019064010000000081111561060557600080fd5b82018360208201111561061757600080fd5b8035906020019184600183028401116401000000008311171561063957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611c32565b005b6106b9600480360360208110156106a357600080fd5b8101908080359060200190929190505050611ca6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610703611d6e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61074d611d94565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561078d578082015181840152602081019050610772565b50505050905090810190601f1680156107ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61080a600480360360208110156107de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e32565b6040518082815260200191505060405180910390f35b61084c6004803603602081101561083657600080fd5b8101908080359060200190929190505050611f07565b6040518082815260200191505060405180910390f35b61086a611f1f565b6040518082815260200191505060405180910390f35b610888611f25565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108c85780820151818401526020810190506108ad565b50505050905090810190601f1680156108f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61090b611fc7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561094b578082015181840152602081019050610930565b50505050905090810190601f1680156109785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109b26004803603602081101561099c57600080fd5b8101908080359060200190929190505050612065565b604051808215151515815260200191505060405180910390f35b610a1a600480360360408110156109e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506120c2565b005b610a6860048036036040811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061227a565b005b610b6d60048036036080811015610a8057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610ae757600080fd5b820183602082011115610af957600080fd5b80359060200191846001830284011164010000000083111715610b1b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506122ff565b005b610b9b60048036036020811015610b8557600080fd5b8101908080359060200190929190505050612377565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bdb578082015181840152602081019050610bc0565b50505050905090810190601f168015610c085780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c1e61248a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c8c60048036036020811015610c7657600080fd5b81019080803590602001909291905050506124b0565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ccc578082015181840152602081019050610cb1565b50505050905090810190601f168015610cf95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610dca60048036036040811015610d1d57600080fd5b810190808035906020019092919080359060200190640100000000811115610d4457600080fd5b820183602082011115610d5657600080fd5b80359060200191846001830284011164010000000083111715610d7857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061267c565b005b610df860048036036020811015610de257600080fd5b81019080803590602001909291905050506126e4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e38578082015181840152602081019050610e1d565b50505050905090810190601f168015610e655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610e9f60048036036020811015610e8957600080fd5b8101908080359060200190929190505050612794565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610edf578082015181840152602081019050610ec4565b50505050905090810190601f168015610f0c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610f4660048036036020811015610f3057600080fd5b8101908080359060200190929190505050612960565b6040518082815260200191505060405180910390f35b610fbe60048036036040811015610f7257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061297e565b604051808215151515815260200191505060405180910390f35b610fe0612a12565b6040518082815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f55780601f106110ca576101008083540402835291602001916110f5565b820191906000526020600020905b8154815290600101906020018083116110d857829003601f168201915b5050505050905090565b600061110a82612a18565b61115f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613af5602c913960400191505060405180910390fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006111a582611ca6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561122c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ba56021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661124b612a8a565b73ffffffffffffffffffffffffffffffffffffffff16148061127a575061127981611274612a8a565b61297e565b5b6112cf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613a6a6038913960400191505060405180910390fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60196020528060005260406000206000915090505481565b6000600780549050905090565b6113b76113b1612a8a565b82612a92565b61140c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bc66031913960400191505060405180910390fd5b611417838383612b86565b505050565b600061142783611e32565b821061147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806139bd602b913960400191505060405180910390fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106114c857fe5b9060005260206000200154905092915050565b6114f6838383604051806020016040528060008152506122ff565b505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461155557600080fd5b6000601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061159760176000848152602001908152602001600020612baa565b600115156115a483612065565b1515141561161a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6966747920736f6c64206f757421000000000000000000000000000000000081525060200191505060405180910390fd5b600061163760176000858152602001908152602001600020612bc0565b905060008273ffffffffffffffffffffffffffffffffffffffff1663959c45b760125486856040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b15801561169e57600080fd5b505afa1580156116b2573d6000803e3d6000fd5b505050506040513d60208110156116c857600080fd5b8101908080519060200190929190505050905060608373ffffffffffffffffffffffffffffffffffffffff1663f76f950e836040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b15801561172e57600080fd5b505afa158015611742573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561176c57600080fd5b810190808051604051939291908464010000000082111561178c57600080fd5b838201915060208201858111156117a257600080fd5b82518660018202830111640100000000821117156117bf57600080fd5b8083526020830192505050908051906020019080838360005b838110156117f35780820151818401526020810190506117d8565b50505050905090810190601f1680156118205780820380516001836020036101000a031916815260200191505b50604052505050905060608473ffffffffffffffffffffffffffffffffffffffff1663ff74927b6013846040518363ffffffff1660e01b81526004018080602001806020018381038352858181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156118e65780601f106118bb576101008083540402835291602001916118e6565b820191906000526020600020905b8154815290600101906020018083116118c957829003601f168201915b5050838103825284818151815260200191508051906020019080838360005b83811015611920578082015181840152602081019050611905565b50505050905090810190601f16801561194d5780820380516001836020036101000a031916815260200191505b5094505050505060006040518083038186803b15801561196c57600080fd5b505afa158015611980573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156119aa57600080fd5b81019080805160405193929190846401000000008211156119ca57600080fd5b838201915060208201858111156119e057600080fd5b82518660018202830111640100000000821117156119fd57600080fd5b8083526020830192505050908051906020019080838360005b83811015611a31578082015181840152602081019050611a16565b50505050905090810190601f168015611a5e5780820380516001836020036101000a031916815260200191505b5060405250505090506060601a60008881526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611b105780601f10611ae557610100808354040283529160200191611b10565b820191906000526020600020905b815481529060010190602001808311611af357829003601f168201915b50505050509050611b218885612bce565b611b2b8483612bef565b611b358482612c79565b7fce98476f2a1c16f3466ad65b59759356e098b8f100a498ebb025280fcc6759f6888886604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a15050505050505050565b6000611bbc611399565b8210611c13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613bf7602c913960400191505060405180910390fd5b60078281548110611c2057fe5b90600052602060002001549050919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c8c57600080fd5b8060139080519060200190611ca29291906138eb565b5050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613acc6029913960400191505060405180910390fd5b80915050919050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60138054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e2a5780601f10611dff57610100808354040283529160200191611e2a565b820191906000526020600020905b815481529060010190602001808311611e0d57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eb9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613aa2602a913960400191505060405180910390fd5b611f00600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612bc0565b9050919050565b60186020528060005260406000206000915090505481565b60125481565b6060600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611fbd5780601f10611f9257610100808354040283529160200191611fbd565b820191906000526020600020905b815481529060010190602001808311611fa057829003601f168201915b5050505050905090565b60148054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561205d5780601f106120325761010080835404028352916020019161205d565b820191906000526020600020905b81548152906001019060200180831161204057829003601f168201915b505050505081565b600060115482111561207a57600190506120bd565b60186000838152602001908152602001600020546120a960176000858152602001908152602001600020612bc0565b11156120b857600190506120bd565b600090505b919050565b6120ca612a8a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561216b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060046000612178612a8a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612225612a8a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122d457600080fd5b60008090505b818110156122fa576122ed8360016114fb565b80806001019150506122da565b505050565b61231061230a612a8a565b83612a92565b612365576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bc66031913960400191505060405180910390fd5b61237184848484612d03565b50505050565b606061238282612a18565b6123d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613b76602f913960400191505060405180910390fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247e5780601f106124535761010080835404028352916020019161247e565b820191906000526020600020905b81548152906001019060200180831161246157829003601f168201915b50505050509050919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606124bb82612a18565b612510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613b76602f913960400191505060405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561258a57600080fd5b505afa15801561259e573d6000803e3d6000fd5b505050506040513d60208110156125b457600080fd5b81019080805190602001909291905050509050600e60008281526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561266e5780601f106126435761010080835404028352916020019161266e565b820191906000526020600020905b81548152906001019060200180831161265157829003601f168201915b505050505092505050919050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146126d657600080fd5b6126e08282612d75565b5050565b601a6020528060005260406000206000915090508054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561278c5780601f106127615761010080835404028352916020019161278c565b820191906000526020600020905b81548152906001019060200180831161276f57829003601f168201915b505050505081565b606061279f82612a18565b6127f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613b76602f913960400191505060405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561286e57600080fd5b505afa158015612882573d6000803e3d6000fd5b505050506040513d602081101561289857600080fd5b81019080805190602001909291905050509050600d60008281526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156129525780601f1061292757610100808354040283529160200191612952565b820191906000526020600020905b81548152906001019060200180831161293557829003601f168201915b505050505092505050919050565b60176020528060005260406000206000915090508060000154905081565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b600033905090565b6000612a9d82612a18565b612af2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613a3e602c913960400191505060405180910390fd5b6000612afd83611ca6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6c57508373ffffffffffffffffffffffffffffffffffffffff16612b54846110ff565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b7d5750612b7c818561297e565b5b91505092915050565b612b91838383612da1565b612b9b8382612ffc565b612ba5828261319a565b505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612bd88282613261565b612be2828261319a565b612beb81613479565b5050565b612bf882612a18565b612c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613b21602c913960400191505060405180910390fd5b80600b60008481526020019081526020016000209080519060200190612c749291906138eb565b505050565b612c8282612a18565b612cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613b21602c913960400191505060405180910390fd5b80600c60008481526020019081526020016000209080519060200190612cfe9291906138eb565b505050565b612d0e848484612b86565b612d1a848484846134c5565b612d6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806139e86032913960400191505060405180910390fd5b50505050565b80600d60008481526020019081526020016000209080519060200190612d9c9291906138eb565b505050565b8273ffffffffffffffffffffffffffffffffffffffff16612dc182611ca6565b73ffffffffffffffffffffffffffffffffffffffff1614612e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613b4d6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613a1a6024913960400191505060405180910390fd5b612ebc816136b5565b612f03600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613773565b612f4a600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612baa565b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006130546001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061379690919063ffffffff16565b9050600060066000848152602001908152602001600020549050818114613141576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002083815481106130c157fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061311957fe5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003613193919061396b565b5050505050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61330d81612a18565b15613380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550613419600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612baa565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6007805490506008600083815260200190815260200160002081905550600781908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b60006134e68473ffffffffffffffffffffffffffffffffffffffff166137e0565b6134f357600190506136ad565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a02613519612a8a565b8887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156135d55780820151818401526020810190506135ba565b50505050905090810190601f1680156136025780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561362457600080fd5b505af1158015613638573d6000803e3d6000fd5b505050506040513d602081101561364e57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146137705760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b61378b6001826000015461379690919063ffffffff16565b816000018190555050565b60006137d883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061382b565b905092915050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156138225750808214155b92505050919050565b60008383111582906138d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561389d578082015181840152602081019050613882565b50505050905090810190601f1680156138ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061392c57805160ff191683800117855561395a565b8280016001018555821561395a579182015b8281111561395957825182559160200191906001019061393e565b5b5090506139679190613997565b5090565b815481835581811115613992578183600052602060002091820191016139919190613997565b5b505050565b6139b991905b808211156139b557600081600090555060010161399d565b5090565b9056fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a723158201b0b31c7f895846982b536d1a642fe782ee23698dc2394cb45ad3a6e2979afc964736f6c634300051100320000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6e69667479676174657761792e636f6d2f626565706c6574776f65646974696f6e2f000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6e69667479676174657761792e636f6d2f626565706c6574776f65646974696f6e2f000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : base_uri (string): https://api.niftygateway.com/beepletwoedition/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [2] : 68747470733a2f2f6170692e6e69667479676174657761792e636f6d2f626565
Arg [3] : 706c6574776f65646974696f6e2f000000000000000000000000000000000000


Deployed ByteCode Sourcemap

37067:3773:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37067:3773:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2726:133;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2726:133:0;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;32186:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;32186:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10582:201;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10582:201:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;9879:417;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9879:417:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37971:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37971:41:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23775:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12233:288;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12233:288:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23392:229;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23392:229:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13171:132;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13171:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39579:992;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39579:992:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24208:196;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24208:196:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39091:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39091:142:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;39091:142:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39091:142:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;39091:142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;39091:142:0;;;;;;;;;;;;;;;:::i;:::-;;9233:224;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9233:224:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;37676:81;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;37501:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;37501:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8805:208;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8805:208:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37917:48;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37917:48:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37437:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32379:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;32379:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37556:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;37556:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39240:332;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39240:332:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11077:250;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11077:250:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;40582:253;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40582:253:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14027:269;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;14027:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;14027:269:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;14027:269:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;14027:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;14027:269:0;;;;;;;;;;;;;;;:::i;:::-;;32808:202;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32808:202:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;32808:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37594:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33227:374;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33227:374:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;33227:374:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38900:181;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38900:181:0;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;38900:181:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38900:181:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;38900:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;38900:181:0;;;;;;;;;;;;;;;:::i;:::-;;38018:48;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38018:48:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;38018:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33810:364;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33810:364:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;33810:364:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37854:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37854:57:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11650:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11650:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;37342:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2726:133;2796:4;2819:20;:33;2840:11;2819:33;;;;;;;;;;;;;;;;;;;;;;;;;;;2812:40;;2726:133;;;:::o;32186:83::-;32225:13;32257:5;32250:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32186:83;:::o;10582:201::-;10641:7;10668:16;10676:7;10668;:16::i;:::-;10660:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10752:15;:24;10768:7;10752:24;;;;;;;;;;;;;;;;;;;;;10745:31;;10582:201;;;:::o;9879:417::-;9942:13;9958:16;9966:7;9958;:16::i;:::-;9942:32;;9998:5;9992:11;;:2;:11;;;;9984:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10077:5;10061:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;10086:37;10103:5;10110:12;:10;:12::i;:::-;10086:16;:37::i;:::-;10061:62;10053:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10244:2;10217:15;:24;10233:7;10217:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;10281:7;10277:2;10261:28;;10270:5;10261:28;;;;;;;;;;;;9879:417;;;:::o;37971:41::-;;;;;;;;;;;;;;;;;:::o;23775:94::-;23819:7;23845:10;:17;;;;23838:24;;23775:94;:::o;12233:288::-;12375:41;12394:12;:10;:12::i;:::-;12408:7;12375:18;:41::i;:::-;12367:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12482:32;12496:4;12502:2;12506:7;12482:13;:32::i;:::-;12233:288;;;:::o;23392:229::-;23472:7;23507:16;23517:5;23507:9;:16::i;:::-;23499:5;:24;23491:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23588:12;:19;23601:5;23588:19;;;;;;;;;;;;;;;23608:5;23588:26;;;;;;;;;;;;;;;;23581:33;;23392:229;;;;:::o;13171:132::-;13257:39;13274:4;13280:2;13284:7;13257:39;;;;;;;;;;;;:16;:39::i;:::-;13171:132;;;:::o;39579:992::-;37202:13;;;;;;;;;;;37188:27;;:10;:27;;;37180:36;;;;;;39726:16;39759:21;;;;;;;;;;;39726:55;;39791:38;:15;:26;39807:9;39791:26;;;;;;;;;;;:36;:38::i;:::-;39912:4;39885:31;;:25;39900:9;39885:14;:25::i;:::-;:31;;;39881:87;;;39932:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39881:87;40000:20;40023:36;:15;:26;40039:9;40023:26;;;;;;;;;;;:34;:36::i;:::-;40000:59;;40069:12;40084:2;:16;;;40101:10;;40113:9;40124:15;40084:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40084:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40084:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40084:56:0;;;;;;;;;;;;;;;;40069:71;;40150:24;40177:2;:11;;;40189:7;40177:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40177:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40177:20:0;;;;;;39:16:-1;36:1;17:17;2:54;40177:20:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40177:20:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;40177:20:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40177:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40150:47;;40207:22;40232:2;:12;;;40245:7;40254:10;40232:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40232:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40232:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40232:33:0;;;;;;39:16:-1;36:1;17:17;2:54;40232:33:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;13:2;8:3;5:11;2:2;;;29:1;26;19:12;2:2;40232:33:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;40232:33:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;40232:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40207:58;;40275:22;40300:16;:27;40317:9;40300:27;;;;;;;;;;;40275:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40358:33;40364:17;40383:7;40358:5;:33::i;:::-;40401:31;40414:7;40423:8;40401:12;:31::i;:::-;40442:36;40460:7;40469:8;40442:17;:36::i;:::-;40513:51;40526:17;40545:9;40556:7;40513:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37226:1;;;;;;39579:992;;:::o;24208:196::-;24266:7;24301:13;:11;:13::i;:::-;24293:5;:21;24285:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24380:10;24391:5;24380:17;;;;;;;;;;;;;;;;24373:24;;24208:196;;;:::o;39091:142::-;37202:13;;;;;;;;;;;37188:27;;:10;:27;;;37180:36;;;;;;39216:10;39206:7;:20;;;;;;;;;;;;:::i;:::-;;39091:142;:::o;9233:224::-;9288:7;9307:13;9323:11;:20;9335:7;9323:20;;;;;;;;;;;;;;;;;;;;;9307:36;;9378:1;9361:19;;:5;:19;;;;9353:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9445:5;9438:12;;;9233:224;;;:::o;37676:81::-;;;;;;;;;;;;;:::o;37501:21::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8805:208::-;8860:7;8904:1;8887:19;;:5;:19;;;;8879:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8972:34;:17;:24;8990:5;8972:24;;;;;;;;;;;;;;;:32;:34::i;:::-;8965:41;;8805:208;;;:::o;37917:48::-;;;;;;;;;;;;;;;;;:::o;37437:22::-;;;;:::o;32379:87::-;32420:13;32452:7;32445:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32379:87;:::o;37556:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39240:332::-;39301:4;39333:29;;39321:9;:41;39317:83;;;39385:4;39378:11;;;;39317:83;39452:18;:29;39471:9;39452:29;;;;;;;;;;;;39413:36;:15;:26;39429:9;39413:26;;;;;;;;;;;:34;:36::i;:::-;:68;39409:157;;;39505:4;39497:13;;;;39409:157;39549:5;39541:14;;39240:332;;;;:::o;11077:250::-;11162:12;:10;:12::i;:::-;11156:18;;:2;:18;;;;11148:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11255:8;11216:18;:32;11235:12;:10;:12::i;:::-;11216:32;;;;;;;;;;;;;;;:36;11249:2;11216:36;;;;;;;;;;;;;;;;:47;;;;;;;;;;;;;;;;;;11307:2;11278:42;;11293:12;:10;:12::i;:::-;11278:42;;;11311:8;11278:42;;;;;;;;;;;;;;;;;;;;;;11077:250;;:::o;40582:253::-;37202:13;;;;;;;;;;;37188:27;;:10;:27;;;37180:36;;;;;;40733:6;40740:1;40733:8;;40728:92;40747:9;40743:1;:13;40728:92;;;40778:30;40788:17;40806:1;40778:9;:30::i;:::-;40758:3;;;;;;;40728:92;;;;40582:253;;:::o;14027:269::-;14141:41;14160:12;:10;:12::i;:::-;14174:7;14141:18;:41::i;:::-;14133:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14246:43;14264:4;14270:2;14274:7;14283:5;14246:17;:43::i;:::-;14027:269;;;;:::o;32808:202::-;32866:13;32899:16;32907:7;32899;:16::i;:::-;32891:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32984:10;:19;32995:7;32984:19;;;;;;;;;;;32977:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32808:202;;;:::o;37594:28::-;;;;;;;;;;;;;:::o;33227:374::-;33290:13;33323:16;33331:7;33323;:16::i;:::-;33315:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33436:16;33469:21;;;;;;;;;;;33436:55;;33501:15;33519:2;:17;;;33537:7;33519:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33519:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33519:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33519:26:0;;;;;;;;;;;;;;;;33501:44;;33562:20;:32;33583:10;33562:32;;;;;;;;;;;33555:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33227:374;;;:::o;38900:181::-;37202:13;;;;;;;;;;;37188:27;;:10;:27;;;37180:36;;;;;;39035:39;39053:9;39064;39035:17;:39::i;:::-;38900:181;;:::o;38018:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33810:364::-;33869:13;33902:16;33910:7;33902;:16::i;:::-;33894:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34015:16;34048:21;;;;;;;;;;;34015:55;;34080:15;34098:2;:17;;;34116:7;34098:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34098:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34098:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34098:26:0;;;;;;;;;;;;;;;;34080:44;;34141:14;:26;34156:10;34141:26;;;;;;;;;;;34134:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33810:364;;;:::o;37854:57::-;;;;;;;;;;;;;;;;;;;;;;:::o;11650:145::-;11730:4;11753:18;:25;11772:5;11753:25;;;;;;;;;;;;;;;:35;11779:8;11753:35;;;;;;;;;;;;;;;;;;;;;;;;;11746:42;;11650:145;;;;:::o;37342:41::-;;;;:::o;15467:152::-;15524:4;15540:13;15556:11;:20;15568:7;15556:20;;;;;;;;;;;;;;;;;;;;;15540:36;;15610:1;15593:19;;:5;:19;;;;15586:26;;;15467:152;;;:::o;792:96::-;837:15;871:10;864:17;;792:96;:::o;15981:329::-;16066:4;16090:16;16098:7;16090;:16::i;:::-;16082:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16165:13;16181:16;16189:7;16181;:16::i;:::-;16165:32;;16226:5;16215:16;;:7;:16;;;:51;;;;16259:7;16235:31;;:20;16247:7;16235:11;:20::i;:::-;:31;;;16215:51;:87;;;;16270:32;16287:5;16294:7;16270:16;:32::i;:::-;16215:87;16207:96;;;15981:329;;;;:::o;24780:241::-;24865:38;24885:4;24891:2;24895:7;24865:19;:38::i;:::-;24915:47;24948:4;24954:7;24915:32;:47::i;:::-;24974:40;25002:2;25006:7;24974:27;:40::i;:::-;24780:241;;;:::o;51872:178::-;52042:1;52024:7;:14;;;:19;;;;;;;;;;;51872:178;:::o;51753:112::-;51818:7;51844;:14;;;51837:21;;51753:112;;;:::o;25279:198::-;25342:24;25354:2;25358:7;25342:11;:24::i;:::-;25378:40;25406:2;25410:7;25378:27;:40::i;:::-;25430;25462:7;25430:31;:40::i;:::-;25279:198;;:::o;34414:192::-;34499:16;34507:7;34499;:16::i;:::-;34491:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34596:3;34574:10;:19;34585:7;34574:19;;;;;;;;;;;:25;;;;;;;;;;;;:::i;:::-;;34414:192;;:::o;34870:215::-;34966:16;34974:7;34966;:16::i;:::-;34958:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35069:9;35041:16;:25;35058:7;35041:25;;;;;;;;;;;:37;;;;;;;;;;;;:::i;:::-;;34870:215;;:::o;15002:269::-;15111:32;15125:4;15131:2;15135:7;15111:13;:32::i;:::-;15161:48;15184:4;15190:2;15194:7;15203:5;15161:22;:48::i;:::-;15153:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15002:269;;;;:::o;35857:148::-;35983:15;35954:14;:26;35969:10;35954:26;;;;;;;;;;;:44;;;;;;;;;;;;:::i;:::-;;35857:148;;:::o;19602:451::-;19715:4;19695:24;;:16;19703:7;19695;:16::i;:::-;:24;;;19687:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19797:1;19783:16;;:2;:16;;;;19775:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19852:23;19867:7;19852:14;:23::i;:::-;19887:35;:17;:23;19905:4;19887:23;;;;;;;;;;;;;;;:33;:35::i;:::-;19932:33;:17;:21;19950:2;19932:21;;;;;;;;;;;;;;;:31;:33::i;:::-;20000:2;19977:11;:20;19989:7;19977:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;20038:7;20034:2;20019:27;;20028:4;20019:27;;;;;;;;;;;;19602:451;;;:::o;27902:1133::-;28165:22;28190:32;28220:1;28190:12;:18;28203:4;28190:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;28165:57;;28232:18;28253:17;:26;28271:7;28253:26;;;;;;;;;;;;28232:47;;28398:14;28384:10;:28;28380:324;;28428:19;28450:12;:18;28463:4;28450:18;;;;;;;;;;;;;;;28469:14;28450:34;;;;;;;;;;;;;;;;28428:56;;28533:11;28500:12;:18;28513:4;28500:18;;;;;;;;;;;;;;;28519:10;28500:30;;;;;;;;;;;;;;;:44;;;;28649:10;28616:17;:30;28634:11;28616:30;;;;;;;;;;;:43;;;;28380:324;;28791:12;:18;28804:4;28791:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;27902:1133;;;;:::o;26744:183::-;26857:12;:16;26870:2;26857:16;;;;;;;;;;;;;;;:23;;;;26828:17;:26;26846:7;26828:26;;;;;;;;;;;:52;;;;26890:12;:16;26903:2;26890:16;;;;;;;;;;;;;;;26912:7;26890:30;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;26890:30:0;;;;;;;;;;;;;;;;;;;;;;26744:183;;:::o;18027:329::-;18112:1;18098:16;;:2;:16;;;;18090:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18170:16;18178:7;18170;:16::i;:::-;18169:17;18161:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18254:2;18231:11;:20;18243:7;18231:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;18266:33;:17;:21;18284:2;18266:21;;;;;;;;;;;;;;;:31;:33::i;:::-;18341:7;18337:2;18316:33;;18333:1;18316:33;;;;;;;;;;;;18027:329;;:::o;27123:161::-;27226:10;:17;;;;27199:15;:24;27215:7;27199:24;;;;;;;;;;;:44;;;;27253:10;27269:7;27253:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;27253:24:0;;;;;;;;;;;;;;;;;;;;;;27123:161;:::o;20643:350::-;20764:4;20789:15;:2;:13;;;:15::i;:::-;20784:58;;20827:4;20820:11;;;;20784:58;20853:13;20885:2;20869:36;;;20906:12;:10;:12::i;:::-;20920:4;20926:7;20935:5;20869:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20869:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20869:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20869:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20869:72:0;;;;;;;;;;;;;;;;20853:88;;7039:10;20969:16;;20959:26;;;:6;:26;;;;20951:35;;;20643:350;;;;;;;:::o;21156:171::-;21255:1;21219:38;;:15;:24;21235:7;21219:24;;;;;;;;;;;;;;;;;;;;;:38;;;21215:106;;21308:1;21273:15;:24;21289:7;21273:24;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;21215:106;21156:171;:::o;52057:108::-;52137:21;52156:1;52137:7;:14;;;:18;;:21;;;;:::i;:::-;52120:7;:14;;:38;;;;52057:108;:::o;43306:134::-;43364:7;43390:43;43394:1;43397;43390:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;43383:50;;43306:134;;;;:::o;48206:798::-;48266:4;48712:16;48738:19;48760:66;48738:88;;;;48927:7;48915:20;48903:32;;48966:3;48954:15;;:8;:15;;:42;;;;;48985:11;48973:8;:23;;48954:42;48946:51;;;;48206:798;;;:::o;43877:188::-;43963:7;43995:1;43990;:6;;43998:12;43982:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;43982:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44021:9;44037:1;44033;:5;44021:17;;44057:1;44050:8;;;43877:188;;;;;:::o;37067:3773::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://1b0b31c7f895846982b536d1a642fe782ee23698dc2394cb45ad3a6e2979afc9
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.