Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13949426 | 1036 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x8b6F43a9...Bf62B5dCe The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC721Printable
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./ERC721Batch.sol"; /** * @title ERC721 Printable Token * @dev ERC721 Token that can be be printed before being sold and not incur high gas fees */ contract ERC721Printable is ERC721 { uint256 public totalSeries; address payable public MintableAddress; mapping(uint256 => PreMint) public PreMintData; mapping(uint256 => bool) public PrintSeries; struct PreMint { uint256 amount_of_tokens_left; uint256 price; address payable creator; uint256 royaltyAmount; string url; } event SeriesMade(address indexed creator, uint256 indexed price, uint256 indexed amount_made); event SeriesPurchased(address indexed buyer, uint256 indexed token_id, uint256 indexed price); constructor( string memory name, string memory symbol, string memory baseURI, address _royaltyReceiver, uint256 batch_amount ) public ERC721(name, symbol, baseURI, _royaltyReceiver, batch_amount) { MintableAddress = msg.sender; } function _createPrintSeries(uint256 _totalAmount, uint256 _price, string memory _url, uint256 _royaltyAmount) internal returns (bool){ totalSeries = totalSeries.add(1); PrintSeries[totalSeries] = true; PreMintData[totalSeries] = PreMint({ amount_of_tokens_left: _totalAmount, price: _price, url: _url, royaltyAmount: _royaltyAmount, creator: msg.sender }); emit SeriesMade(msg.sender, _price, _totalAmount); return true; } function createPrintSeries(uint256 _amount, uint256 _price, string memory _url, uint256 _royaltyAmount) public onlyOwner returns (bool){ return _createPrintSeries(_amount, _price, _url, _royaltyAmount); } function mintSeries(uint256 _seriesID, address _to) public payable returns (bool){ require(PrintSeries[_seriesID], "Not a valid series"); require(PreMintData[_seriesID].amount_of_tokens_left >= 1, "Series is SOLD OUT!"); require(msg.value >= PreMintData[_seriesID].price, "Invalid amount sent to purchase this NFT"); PreMintData[_seriesID].amount_of_tokens_left = PreMintData[_seriesID].amount_of_tokens_left.sub(1); if(PreMintData[_seriesID].amount_of_tokens_left == 0){ PrintSeries[_seriesID] = false; } emit SeriesPurchased( msg.sender, super.totalSupply().add(1), msg.value); super._mintWithURI(_to, PreMintData[_seriesID].url, PreMintData[_seriesID].royaltyAmount); uint256 fee = (msg.value.mul(10)).div(100); PreMintData[_seriesID].creator.transfer(msg.value.sub(fee)); require(address(this).balance >= fee, "Not enough balance to send fee"); MintableAddress.transfer(fee); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is 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. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // 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 != accountHash && codehash != 0x0); } /** * @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-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { return _get(map, key, "EnumerableMap: nonexistent key"); } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint256(value))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key)))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key), errorMessage))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./IERC165.sol"; /** * @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) public view override 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 virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } }
pragma solidity ^0.6.0; import "./Context.sol"; import "./IERC721.sol"; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./IERC721Receiver.sol"; import "./ERC165.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./EnumerableSet.sol"; import "./EnumerableMap.sol"; import "./Strings.sol"; import "./Ownable.sol"; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, Ownable, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // 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 holder address to their (enumerable) set of owned tokens mapping(address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Mapping showing the addresses batch numbers in a set mapping(address => EnumerableSet.UintSet) private _ownersBatches; mapping(address => uint256) public BalancesMap; mapping(uint256 => EnumerableSet.UintSet) private _batchMax; mapping(uint256 => owners) public _batchMintOwnersMap; mapping(uint256 => uint256) public royaltyAmounts; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; // Token name string private _name; // Base URI string private _baseURI; // Token symbol string private _symbol; uint8 MIN_MINT = 2; uint256 public MAX_MINT; uint256 public _totalSupply = 0; uint256 public _totalBatches; address private _royaltyOwner; struct owners { uint256 start; uint256 end; uint256 royalty; address owner; } /* * 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; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /* * 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; /* * 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 Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor( string memory name, string memory symbol, string memory baseURI, address _royaltyReceiver, uint256 batch_amount ) public { _name = name; _symbol = symbol; _setBaseURI(baseURI); _royaltyOwner = _royaltyReceiver; MAX_MINT = batch_amount; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); _registerInterface(_INTERFACE_ID_ERC2981); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public override view returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return BalancesMap[owner]; //return _holderTokens[owner].length(); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external override view returns (address, uint256){ uint256 royalty = _BatchRoyaltyAmount(_tokenId); return (_royaltyOwner, royalty.mul(_salePrice).div(10_000)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public override view returns (address) { if (_tokenOwners.contains(tokenId)) { return _tokenOwners.get(tokenId); } else { uint256 min = tokenId.div(MAX_MINT); uint256 max = (tokenId.div(MIN_MINT)).add(1); if (max > _totalBatches) { max = _totalBatches; } address temp = address(0x0); for (uint256 i = min; i < max; i++) { if (_batchMax[i].length() >= 1) { if (_batchMax[i].at(1) >= tokenId) { if ( _batchMintOwnersMap[i].start <= tokenId && _batchMintOwnersMap[i].end >= tokenId ) { temp = _batchMintOwnersMap[i].owner; return temp; } } } } return temp; } //return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public override view returns (string memory) { return _name; } function tokenOwners(address owner, uint256 index) public view returns (uint256){ (uint256 id) = _holderTokens[owner].at(index); return (id); } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public override view returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = _tokenURIs[tokenId]; // If there is no base URI, return the token URI. if (bytes(_baseURI).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return _tokenURI; } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(_baseURI, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public override view returns (uint256) { if(index <= _holderTokens[owner].length()){ return _holderTokens[owner].at(index); } } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public override view returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _totalSupply; } /** * @dev See {IERC721Enumerable-tokenByIndex}. * @return tokenId at index */ function tokenByIndex(uint256 index) public override view returns (uint256) { if(_exists(index)) { return index; } else { revert("No token found at index"); } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { 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" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public override view returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForExchange(address owner, address exchange, bool approved) public onlyOwner { require(exchange != owner, "ERC721: approve to caller"); _operatorApprovals[owner][exchange] = approved; emit ApprovalForAll(owner, exchange, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public override view returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mecanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } function _BatchRoyaltyAmount(uint256 _tokenId) internal view returns (uint256){ if(royaltyAmounts[_tokenId] > 0){ return royaltyAmounts[_tokenId]; }else{ uint256 min = _tokenId.div(MAX_MINT); uint256 max = (_tokenId.div(MIN_MINT)).add(1); if (max > _totalBatches) { max = _totalBatches; } for (uint256 i = min; i < max; i++) { if (_batchMax[i].length() >= 1) { if (_batchMax[i].at(1) >= _tokenId) { if ( _batchMintOwnersMap[i].start <= _tokenId && _batchMintOwnersMap[i].end >= _tokenId ) { return _batchMintOwnersMap[i].royalty; } } } } return 0; } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) public view returns (bool) { if (_tokenOwners.contains(tokenId)) { return _tokenOwners.contains(tokenId); } else if(tokenId <= totalSupply()){ uint256 min = tokenId.div(MAX_MINT); uint256 max = (tokenId.div(MIN_MINT)).add(1); if (max > _totalBatches) { max = _totalBatches; } for (uint256 i = min; i < max; i++) { if (_batchMax[i].length() >= 1) { if (_batchMax[i].at(1) >= tokenId) { if ( _batchMintOwnersMap[i].start <= tokenId && _batchMintOwnersMap[i].end >= tokenId ) { return true; } } } } return false; } } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ 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 Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 _royalty) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); _totalSupply = _totalSupply.add(1); _holderTokens[to].add(_totalSupply); _tokenOwners.set(_totalSupply, to); royaltyAmounts[_totalSupply] = _royalty; BalancesMap[to] = BalancesMap[to].add(1); emit Transfer(address(0), to, _totalSupply); } function mint(address to, uint256 _royalty) public onlyOwner returns (bool) { _mint(to, _royalty); return true; } function mintWithURI(address to, string memory url, uint256 _royalty) public onlyOwner returns (bool) { _mint(to, _royalty); _setTokenURI(_totalSupply, url); return true; } function _mintWithURI(address to, string memory url, uint256 _royaltyAmount) internal returns (bool) { _mint(to, _royaltyAmount); _setTokenURI(_totalSupply, url); return true; } function _batchMint(address to, uint256 count, uint256 _royaltyAmount) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); for (uint16 i = 0; i < count; i++) { emit Transfer(address(0), to, _totalSupply.add(i+1)); } _batchMintOwnersMap[_totalBatches] = owners({ start: _totalSupply, end: _totalSupply.add(count), owner: msg.sender, royalty: _royaltyAmount }); _batchMax[_totalBatches].add(_totalSupply); _batchMax[_totalBatches].add(count.add(_totalSupply)); _ownersBatches[msg.sender].add(count); _totalBatches = _totalBatches.add(1); BalancesMap[msg.sender] = BalancesMap[msg.sender].add(count); _totalSupply = _totalSupply.add(count); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); //_beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); BalancesMap[from] = BalancesMap[from].sub(1); BalancesMap[to] = BalancesMap[to].add(1); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require( _exists(tokenId), "ERC721Metadata: URI set of nonexistent token" ); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall( abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer" ); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function batchMint(address to, uint256 count, uint256 _royaltyAmount) onlyOwner public returns (bool) { require( count >= MIN_MINT && count <= MAX_MINT, "Can only mint between 2 and 2000 tokens" ); _batchMint(to, count, _royaltyAmount); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @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 IERC2981 { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _salePrice - the sale price of the NFT asset specified by _tokenId /// @return receiver - address of who should be sent the royalty payment /// @return royaltyAmount - the royalty payment amount for _salePrice function royaltyInfo( uint256 _tokenId, uint256 _salePrice ) external view returns ( address receiver, uint256 royaltyAmount ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./IERC165.sol"; import "./IERC2981.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165, IERC2981 { /** * @dev Emitted when `tokenId` token is transfered from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @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. */ 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. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint256","name":"batch_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount_made","type":"uint256"}],"name":"SeriesMade","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"SeriesPurchased","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BalancesMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintableAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PreMintData","outputs":[{"internalType":"uint256","name":"amount_of_tokens_left","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address payable","name":"creator","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"},{"internalType":"string","name":"url","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PrintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_batchMintOwnersMap","outputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"royalty","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"_exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalBatches","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"_royaltyAmount","type":"uint256"}],"name":"batchMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"string","name":"_url","type":"string"},{"internalType":"uint256","name":"_royaltyAmount","type":"uint256"}],"name":"createPrintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_royalty","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seriesID","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"url","type":"string"},{"internalType":"uint256","name":"_royalty","type":"uint256"}],"name":"mintWithURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"exchange","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOwners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSeries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636352211e1161012e578063ad72f3f5116100ab578063c87b56dd1161006f578063c87b56dd14610b4d578063e985e9c514610b77578063f0292a0314610bb2578063f2fde38b14610bc7578063f8e76cc014610bfa57610230565b8063ad72f3f5146108b5578063b2e669db146108ca578063b328d6361461098b578063b88d4fde146109b5578063be0cb38d14610a8857610230565b80638b5e51d2116100f25780638b5e51d2146107d25780638da5cb5b1461080b57806395d89b41146108205780639e1c3ee314610835578063a22cb4651461087a57610230565b80636352211e14610684578063662f1229146106ae5780636c0360eb1461077557806370a082311461078a578063715018a6146107bd57610230565b80632a55205a116101bc57806340c10f191161018057806340c10f191461055b57806342842e0e146105945780634e881e20146105d75780634f6ccce714610601578063610d107e1461062b57610230565b80632a55205a146104485780632a959b891461049b5780632f745c59146104da57806338232cfe146105135780633eaaf86b1461054657610230565b8063095ea7b311610203578063095ea7b3146103795780630c6a595a146103b4578063146862cc146103db57806318160ddd146103f057806323b872dd1461040557610230565b806301ffc9a71461023557806303c3ff251461027d57806306fdde03146102a9578063081812fc14610333575b600080fd5b34801561024157600080fd5b506102696004803603602081101561025857600080fd5b50356001600160e01b031916610c24565b604080519115158252519081900360200190f35b6102696004803603604081101561029357600080fd5b50803590602001356001600160a01b0316610c47565b3480156102b557600080fd5b506102be610f91565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f85781810151838201526020016102e0565b50505050905090810190601f1680156103255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033f57600080fd5b5061035d6004803603602081101561035657600080fd5b5035611027565b604080516001600160a01b039092168252519081900360200190f35b34801561038557600080fd5b506103b26004803603604081101561039c57600080fd5b506001600160a01b038135169060200135611089565b005b3480156103c057600080fd5b506103c9611164565b60408051918252519081900360200190f35b3480156103e757600080fd5b506103c961116a565b3480156103fc57600080fd5b506103c9611170565b34801561041157600080fd5b506103b26004803603606081101561042857600080fd5b506001600160a01b03813581169160208101359091169060400135611176565b34801561045457600080fd5b506104786004803603604081101561046b57600080fd5b50803590602001356111cd565b604080516001600160a01b03909316835260208301919091528051918290030190f35b3480156104a757600080fd5b50610269600480360360608110156104be57600080fd5b506001600160a01b038135169060208101359060400135611206565b3480156104e657600080fd5b506103c9600480360360408110156104fd57600080fd5b506001600160a01b0381351690602001356112c8565b34801561051f57600080fd5b506103c96004803603602081101561053657600080fd5b50356001600160a01b0316611318565b34801561055257600080fd5b506103c961132a565b34801561056757600080fd5b506102696004803603604081101561057e57600080fd5b506001600160a01b038135169060200135611330565b3480156105a057600080fd5b506103b2600480360360608110156105b757600080fd5b506001600160a01b0381358116916020810135909116906040013561139d565b3480156105e357600080fd5b50610269600480360360208110156105fa57600080fd5b50356113b8565b34801561060d57600080fd5b506103c96004803603602081101561062457600080fd5b50356113cd565b34801561063757600080fd5b506106556004803603602081101561064e57600080fd5b5035611431565b604080519485526020850193909352838301919091526001600160a01b03166060830152519081900360800190f35b34801561069057600080fd5b5061035d600480360360208110156106a757600080fd5b5035611461565b3480156106ba57600080fd5b506106d8600480360360208110156106d157600080fd5b5035611583565b60405180868152602001858152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561073657818101518382015260200161071e565b50505050905090810190601f1680156107635780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b34801561078157600080fd5b506102be611645565b34801561079657600080fd5b506103c9600480360360208110156107ad57600080fd5b50356001600160a01b03166116a6565b3480156107c957600080fd5b506103b2611709565b3480156107de57600080fd5b506103c9600480360360408110156107f557600080fd5b506001600160a01b0381351690602001356117ab565b34801561081757600080fd5b5061035d6117d7565b34801561082c57600080fd5b506102be6117e6565b34801561084157600080fd5b506103b26004803603606081101561085857600080fd5b506001600160a01b038135811691602081013590911690604001351515611847565b34801561088657600080fd5b506103b26004803603604081101561089d57600080fd5b506001600160a01b0381351690602001351515611970565b3480156108c157600080fd5b5061035d611a71565b3480156108d657600080fd5b50610269600480360360808110156108ed57600080fd5b81359160208101359181019060608101604082013564010000000081111561091457600080fd5b82018360208201111561092657600080fd5b8035906020019184600183028401116401000000008311171561094857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611a80915050565b34801561099757600080fd5b506103c9600480360360208110156109ae57600080fd5b5035611aef565b3480156109c157600080fd5b506103b2600480360360808110156109d857600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610a1357600080fd5b820183602082011115610a2557600080fd5b80359060200191846001830284011164010000000083111715610a4757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b01945050505050565b348015610a9457600080fd5b5061026960048036036060811015610aab57600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610ad657600080fd5b820183602082011115610ae857600080fd5b80359060200191846001830284011164010000000083111715610b0a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611b5f915050565b348015610b5957600080fd5b506102be60048036036020811015610b7057600080fd5b5035611bcf565b348015610b8357600080fd5b5061026960048036036040811015610b9a57600080fd5b506001600160a01b0381358116916020013516611db3565b348015610bbe57600080fd5b506103c9611de1565b348015610bd357600080fd5b506103b260048036036020811015610bea57600080fd5b50356001600160a01b0316611de7565b348015610c0657600080fd5b5061026960048036036020811015610c1d57600080fd5b5035611edf565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60008281526018602052604081205460ff16610c9f576040805162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642073657269657360701b604482015290519081900360640190fd5b60008381526017602052604090205460011115610cf9576040805162461bcd60e51b815260206004820152601360248201527253657269657320697320534f4c44204f55542160681b604482015290519081900360640190fd5b600083815260176020526040902060010154341015610d495760405162461bcd60e51b81526004018080602001828103825260288152602001806135206028913960400191505060405180910390fd5b600083815260176020526040902054610d63906001611fed565b6000848152601760205260409020819055610d8f576000838152601860205260409020805460ff191690555b34610da36001610d9d611170565b9061202f565b60405133907fb0442210ef7e89767af2eeb7f3e41f8a7efeaf443711463e8d0d54106b082a0690600090a46000838152601760209081526040918290206004018054835160026001831615610100026000190190921691909104601f8101849004840282018401909452838152610e88938693919291830182828015610e6a5780601f10610e3f57610100808354040283529160200191610e6a565b820191906000526020600020905b815481529060010190602001808311610e4d57829003601f168201915b50505060008881526017602052604090206003015491506120899050565b506000610ea16064610e9b34600a612095565b906120ee565b6000858152601760205260409020600201549091506001600160a01b03166108fc610ecc3484611fed565b6040518115909202916000818181858888f19350505050158015610ef4573d6000803e3d6000fd5b5080471015610f4a576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682062616c616e636520746f2073656e64206665650000604482015290519081900360640190fd5b6016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f84573d6000803e3d6000fd5b5060019150505b92915050565b600d8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101d5780601f10610ff25761010080835404028352916020019161101d565b820191906000526020600020905b81548152906001019060200180831161100057829003601f168201915b5050505050905090565b600061103282611edf565b61106d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806133fe602c913960400191505060405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061109482611461565b9050806001600160a01b0316836001600160a01b031614156110e75760405162461bcd60e51b81526004018080602001828103825260218152602001806134ce6021913960400191505060405180910390fd5b806001600160a01b03166110f9612130565b6001600160a01b0316148061111a575061111a81611115612130565b611db3565b6111555760405162461bcd60e51b81526004018080602001828103825260388152602001806133546038913960400191505060405180910390fd5b61115f8383612134565b505050565b60155481565b60135481565b60125490565b611187611181612130565b826121a2565b6111c25760405162461bcd60e51b81526004018080602001828103825260318152602001806134ef6031913960400191505060405180910390fd5b61115f83838361223e565b60008060006111db856123e6565b6014549091506001600160a01b03166111fa612710610e9b8488612095565b92509250509250929050565b6000611210612130565b6000546001600160a01b03908116911614611260576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b60105460ff16831080159061127757506011548311155b6112b25760405162461bcd60e51b81526004018080602001828103825260278152602001806133b66027913960400191505060405180910390fd5b6112bd8484846124f6565b5060015b9392505050565b6001600160a01b03821660009081526002602052604081206112e9906126ed565b8211610f8b576001600160a01b038316600090815260026020526040902061131190836126f8565b9050610f8b565b60086020526000908152604090205481565b60125481565b600061133a612130565b6000546001600160a01b0390811691161461138a576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b6113948383612704565b50600192915050565b61115f83838360405180602001604052806000815250611b01565b60186020526000908152604090205460ff1681565b60006113d882611edf565b156113e4575080610c42565b6040805162461bcd60e51b815260206004820152601760248201527f4e6f20746f6b656e20666f756e6420617420696e646578000000000000000000604482015290519081900360640190fd5b600a602052600090815260409020805460018201546002830154600390930154919290916001600160a01b031684565b600061146e600383612826565b156114855761147e600383612832565b9050610c42565b600061149c601154846120ee90919063ffffffff16565b6010549091506000906114ba90600190610d9d90879060ff166120ee565b90506013548111156114cb57506013545b6000825b828110156115785760008181526009602052604090206001906114f1906126ed565b1061157057600081815260096020526040902086906115119060016126f8565b10611570576000818152600a6020526040902054861080159061154557506000818152600a60205260409020600101548611155b15611570576000908152600a60205260409020600301546001600160a01b03169350610c4292505050565b6001016114cf565b509250610c42915050565b601760209081526000918252604091829020805460018083015460028085015460038601546004870180548a516101009782161597909702600019011693909304601f8101899004890286018901909952888552949792966001600160a01b039091169593929083018282801561163b5780601f106116105761010080835404028352916020019161163b565b820191906000526020600020905b81548152906001019060200180831161161e57829003601f168201915b5050505050905085565b600e8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101d5780601f10610ff25761010080835404028352916020019161101d565b60006001600160a01b0382166116ed5760405162461bcd60e51b815260040180806020018281038252602a81526020018061338c602a913960400191505060405180910390fd5b506001600160a01b031660009081526008602052604090205490565b611711612130565b6000546001600160a01b03908116911614611761576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b038216600090815260026020526040812081906117cf90846126f8565b949350505050565b6000546001600160a01b031690565b600f8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561101d5780601f10610ff25761010080835404028352916020019161101d565b61184f612130565b6000546001600160a01b0390811691161461189f576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b826001600160a01b0316826001600160a01b03161415611902576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff1916861515908117909155825190815291517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319281900390910190a3505050565b611978612130565b6001600160a01b0316826001600160a01b031614156119da576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b80600660006119e7612130565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611a2b612130565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6016546001600160a01b031681565b6000611a8a612130565b6000546001600160a01b03908116911614611ada576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b611ae68585858561283e565b95945050505050565b600b6020526000908152604090205481565b611b12611b0c612130565b836121a2565b611b4d5760405162461bcd60e51b81526004018080602001828103825260318152602001806134ef6031913960400191505060405180910390fd5b611b598484848461292e565b50505050565b6000611b69612130565b6000546001600160a01b03908116911614611bb9576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b611bc38483612704565b6112bd60125484612980565b6060611bda82611edf565b611c155760405162461bcd60e51b815260040180806020018281038252602f81526020018061349f602f913960400191505060405180910390fd5b6000828152600c602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611caa5780601f10611c7f57610100808354040283529160200191611caa565b820191906000526020600020905b815481529060010190602001808311611c8d57829003601f168201915b5050600e5493945050505060026000196101006001841615020190911604611cd3579050610c42565b805115611ce1579050610c42565b600e611cec846129e3565b6040516020018083805460018160011615610100020316600290048015611d4a5780601f10611d28576101008083540402835291820191611d4a565b820191906000526020600020905b815481529060010190602001808311611d36575b5050825160208401908083835b60208310611d765780518252601f199092019160209182019101611d57565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b60115481565b611def612130565b6000546001600160a01b03908116911614611e3f576040805162461bcd60e51b81526020600482018190526024820152600080516020613456833981519152604482015290519081900360640190fd5b6001600160a01b038116611e845760405162461bcd60e51b81526004018080602001828103825260268152602001806132de6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000611eec600383612826565b15611efc5761147e600383612826565b611f04611170565b8211610c42576000611f21601154846120ee90919063ffffffff16565b601054909150600090611f3f90600190610d9d90879060ff166120ee565b9050601354811115611f5057506013545b815b81811015611fe1576000818152600960205260409020600190611f74906126ed565b10611fd95760008181526009602052604090208590611f949060016126f8565b10611fd9576000818152600a60205260409020548510801590611fc857506000818152600a60205260409020600101548511155b15611fd95760019350505050610c42565b600101611f52565b50600092505050610c42565b60006112c183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612abe565b6000828201838110156112c1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000611bc38483612704565b6000826120a457506000610f8b565b828202828482816120b157fe5b04146112c15760405162461bcd60e51b81526004018080602001828103825260218152602001806133dd6021913960400191505060405180910390fd5b60006112c183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b55565b3390565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061216982611461565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121ad82611edf565b6121e85760405162461bcd60e51b815260040180806020018281038252602c815260200180613328602c913960400191505060405180910390fd5b60006121f383611461565b9050806001600160a01b0316846001600160a01b0316148061222e5750836001600160a01b031661222384611027565b6001600160a01b0316145b806117cf57506117cf8185611db3565b826001600160a01b031661225182611461565b6001600160a01b0316146122965760405162461bcd60e51b81526004018080602001828103825260298152602001806134766029913960400191505060405180910390fd5b6001600160a01b0382166122db5760405162461bcd60e51b81526004018080602001828103825260248152602001806133046024913960400191505060405180910390fd5b6122e6600082612134565b6001600160a01b03831660009081526008602052604090205461230a906001611fed565b6001600160a01b03808516600090815260086020526040808220939093559084168152205461233a90600161202f565b6001600160a01b03808416600090815260086020908152604080832094909455918616815260029091522061236f9082612bba565b506001600160a01b03821660009081526002602052604090206123929082612bc6565b5061239f60038284612bd2565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818152600b60205260408120541561240f57506000818152600b6020526040902054610c42565b6000612426601154846120ee90919063ffffffff16565b60105490915060009061244490600190610d9d90879060ff166120ee565b905060135481111561245557506013545b815b81811015611fe1576000818152600960205260409020600190612479906126ed565b106124ee57600081815260096020526040902085906124999060016126f8565b106124ee576000818152600a602052604090205485108015906124cd57506000818152600a60205260409020600101548511155b156124ee576000908152600a60205260409020600201549250610c42915050565b600101612457565b6001600160a01b038316612551576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60005b828161ffff1610156125b2576012546125749061ffff600184011661202f565b6040516001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4600101612554565b50604051806080016040528060125481526020016125db8460125461202f90919063ffffffff16565b8152602080820184905233604092830152601380546000908152600a835283812085518155858401516001820155858501516002820155606090950151600390950180546001600160a01b0319166001600160a01b0390961695909517909455601254905484526009909152912061265291612bc6565b5061268261266b6012548461202f90919063ffffffff16565b601354600090815260096020526040902090612bc6565b5033600090815260076020526040902061269c9083612bc6565b506013546126ab90600161202f565b601355336000908152600860205260409020546126c8908361202f565b336000908152600860205260409020556012546126e5908361202f565b601255505050565b6000610f8b82612be8565b60006112c18383612bec565b6001600160a01b03821661275f576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60125461276d90600161202f565b60128190556001600160a01b038316600090815260026020526040902061279391612bc6565b506012546127a49060039084612bd2565b506012546000908152600b602090815260408083208490556001600160a01b038516835260089091529020546127db90600161202f565b6001600160a01b0383166000818152600860205260408082209390935560125492517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006112c18383612c50565b60006112c18383612c68565b60155460009061284f90600161202f565b601581815560009182526018602090815260408084208054600160ff199091168117909155815160a0810183528a81528084018a815233828501908152606083018a8152608084018c81529754895260178752949097208251815590519281019290925594516002820180546001600160a01b0319166001600160a01b0390921691909117905590516003820155915180516128f192600485019201906131f6565b5050604051869150859033907f335cf3124d4c238e9c1bbae5ae98a445bab5de090df6b8b94e94caab3ffb45f690600090a4506001949350505050565b61293984848461223e565b61294584848484612caa565b611b595760405162461bcd60e51b81526004018080602001828103825260328152602001806132ac6032913960400191505060405180910390fd5b61298982611edf565b6129c45760405162461bcd60e51b815260040180806020018281038252602c81526020018061342a602c913960400191505060405180910390fd5b6000828152600c60209081526040909120825161115f928401906131f6565b606081612a0857506040805180820190915260018152600360fc1b6020820152610c42565b8160005b8115612a2057600101600a82049150612a0c565b60608167ffffffffffffffff81118015612a3957600080fd5b506040519080825280601f01601f191660200182016040528015612a64576020820181803683370190505b50859350905060001982015b8315612ab557600a840660300160f81b82828060019003935081518110612a9357fe5b60200101906001600160f81b031916908160001a905350600a84049350612a70565b50949350505050565b60008184841115612b4d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b12578181015183820152602001612afa565b50505050905090810190601f168015612b3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183612ba45760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612b12578181015183820152602001612afa565b506000838581612bb057fe5b0495945050505050565b60006112c18383612e12565b60006112c18383612ed8565b60006117cf84846001600160a01b038516612f22565b5490565b81546000908210612c2e5760405162461bcd60e51b815260040180806020018281038252602281526020018061328a6022913960400191505060405180910390fd5b826000018281548110612c3d57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b60006112c183836040518060400160405280601e81526020017f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000815250612fb9565b6000612cbe846001600160a01b0316613046565b612cca575060016117cf565b6060612dd8630a85bd0160e11b612cdf612130565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612d46578181015183820152602001612d2e565b50505050905090810190601f168015612d735780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016132ac603291396001600160a01b038816919061307f565b90506000818060200190516020811015612df157600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015612ece5783546000198083019190810190600090879083908110612e4557fe5b9060005260206000200154905080876000018481548110612e6257fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612e9257fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610f8b565b6000915050610f8b565b6000612ee48383612c50565b612f1a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f8b565b506000610f8b565b600082815260018401602052604081205480612f875750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556112c1565b82856000016001830381548110612f9a57fe5b90600052602060002090600202016001018190555060009150506112c1565b600082815260018401602052604081205482816130175760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612b12578181015183820152602001612afa565b5084600001600182038154811061302a57fe5b9060005260206000209060020201600101549150509392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906117cf575050151592915050565b60606117cf8484600085606061309485613046565b6130e5576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106131245780518252601f199092019160209182019101613105565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613186576040519150601f19603f3d011682016040523d82523d6000602084013e61318b565b606091505b5091509150811561319f5791506117cf9050565b8051156131af5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612b12578181015183820152602001612afa565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061323757805160ff1916838001178555613264565b82800160010185558215613264579182015b82811115613264578251825591602001919060010190613249565b50613270929150613274565b5090565b5b80821115613270576000815560010161327556fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f206164647265737343616e206f6e6c79206d696e74206265747765656e203220616e64203230303020746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564496e76616c696420616d6f756e742073656e7420746f2070757263686173652074686973204e4654a2646970667358221220d6fa2e15cca4326a99fc0facbedff84f6875ef7dcc76eebe03cd7c03b869105a64736f6c634300060c0033
Deployed Bytecode Sourcemap
232:2741:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;982:142:2;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;982:142:2;-1:-1:-1;;;;;;982:142:2;;:::i;:::-;;;;;;;;;;;;;;;;;;1984:983:13;;;;;;;;;;;;;;;;-1:-1:-1;1984:983:13;;;;;;-1:-1:-1;;;;;1984:983:13;;:::i;6981:92:3:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10148:291;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10148:291:3;;:::i;:::-;;;;-1:-1:-1;;;;;10148:291:3;;;;;;;;;;;;;;9678:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9678:404:3;;;;;;;;:::i;:::-;;272:26:13;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2281:28:3;;;;;;;;;;;;;:::i;9050:194::-;;;;;;;;;;;;;:::i;11553:376::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11553:376:3;;;;;;;;;;;;;;;;;:::i;5368:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5368:244:3;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;5368:244:3;;;;;;;;;;;;;;;;;;;;;22299:322;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22299:322:3;;;;;;;;;;;;;:::i;8700:274::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8700:274:3;;;;;;;;:::i;1717:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1717:46:3;-1:-1:-1;;;;;1717:46:3;;:::i;2243:31::-;;;;;;;;;;;;;:::i;17548:136::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17548:136:3;;;;;;;;:::i;12000:185::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12000:185:3;;;;;;;;;;;;;;;;;:::i;397:43:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;397:43:13;;:::i;9354:262:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9354:262:3;;:::i;1836:53::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1836:53:3;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1836:53:3;;;;;;;;;;;;;;5674:1240;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5674:1240:3;;:::i;346:46:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;346:46:13;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;346:46:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8521:89:3;;;;;;;;;;;;;:::i;5060:296::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5060:296:3;-1:-1:-1;;;;;5060:296:3;;:::i;1737:148:12:-;;;;;;;;;;;;;:::i;7081:166:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7081:166:3;;;;;;;;:::i;1095:79:12:-;;;;;;;;;;;;;:::i;7314:96:3:-;;;;;;;;;;;;;:::i;10910:310::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10910:310:3;;;;;;;;;;;;;;;;;;;:::i;10511:327::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10511:327:3;;;;;;;;;;:::i;303:38:13:-;;;;;;;;;;;;;:::i;1749:229::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1749:229:13;;-1:-1:-1;;1749:229:13;;;-1:-1:-1;1749:229:13;;-1:-1:-1;;1749:229:13:i;1896:49:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1896:49:3;;:::i;12256:365::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12256:365:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12256:365:3;;-1:-1:-1;12256:365:3;;-1:-1:-1;;;;;12256:365:3:i;17692:204::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17692:204:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17692:204:3;;-1:-1:-1;;17692:204:3;;;-1:-1:-1;17692:204:3;;-1:-1:-1;;17692:204:3:i;7481:797::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7481:797:3;;:::i;11289:197::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11289:197:3;;;;;;;;;;:::i;2213:23::-;;;;;;;;;;;;;:::i;2040:244:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2040:244:12;-1:-1:-1;;;;;2040:244:12;;:::i;15134:1037:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15134:1037:3;;:::i;982:142:2:-;-1:-1:-1;;;;;;1083:33:2;;1059:4;1083:33;;;:20;:33;;;;;;;;982:142;;;;:::o;1984:983:13:-;2060:4;2081:22;;;:11;:22;;;;;;;;2073:53;;;;;-1:-1:-1;;;2073:53:13;;;;;;;;;;;;-1:-1:-1;;;2073:53:13;;;;;;;;;;;;;;;2142:22;;;;:11;:22;;;;;:44;2190:1;-1:-1:-1;2142:49:13;2134:81;;;;;-1:-1:-1;;;2134:81:13;;;;;;;;;;;;-1:-1:-1;;;2134:81:13;;;;;;;;;;;;;;;2244:22;;;;:11;:22;;;;;:28;;;2231:9;:41;;2223:94;;;;-1:-1:-1;;;2223:94:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2373:22;;;;:11;:22;;;;;:44;:51;;2422:1;2373:48;:51::i;:::-;2325:22;;;;:11;:22;;;;;:99;;;2432:104;;2522:5;2497:22;;;:11;:22;;;;;:30;;-1:-1:-1;;2497:30:13;;;2432:104;2605:9;2577:26;2601:1;2577:19;:17;:19::i;:::-;:23;;:26::i;:::-;2548:67;;2565:10;;2548:67;;;;;2648:22;;;;:11;:22;;;;;;;;;:26;;2624:89;;;;;;;;;;;-1:-1:-1;;2624:89:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2643:3;;2624:89;;2648:26;2624:89;;2648:26;2624:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2676:22:13;;;;:11;:22;;;;;:36;;;;-1:-1:-1;2624:18:13;;-1:-1:-1;2624:89:13:i;:::-;-1:-1:-1;2721:11:13;2735:28;2759:3;2736:17;:9;2750:2;2736:13;:17::i;:::-;2735:23;;:28::i;:::-;2771:22;;;;:11;:22;;;;;:30;;;2721:42;;-1:-1:-1;;;;;;2771:30:13;:59;2811:18;:9;2721:42;2811:13;:18::i;:::-;2771:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2870:3;2845:21;:28;;2837:71;;;;;-1:-1:-1;;;2837:71:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2915:15;;:29;;-1:-1:-1;;;;;2915:15:13;;;;:29;;;;;2940:3;;2915:15;:29;:15;:29;2940:3;2915:15;:29;;;;;;;;;;;;;;;;;;;;;2958:4;2951:11;;;1984:983;;;;;:::o;6981:92:3:-;7060:5;7053:12;;;;;;;;-1:-1:-1;;7053:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7027:13;;7053:12;;7060:5;;7053:12;;7060:5;7053:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6981:92;:::o;10148:291::-;10252:7;10299:16;10307:7;10299;:16::i;:::-;10277:110;;;;-1:-1:-1;;;10277:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10407:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;10407:24:3;;10148:291::o;9678:404::-;9759:13;9775:16;9783:7;9775;:16::i;:::-;9759:32;;9816:5;-1:-1:-1;;;;;9810:11:3;:2;-1:-1:-1;;;;;9810:11:3;;;9802:57;;;;-1:-1:-1;;;9802:57:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9910:5;-1:-1:-1;;;;;9894:21:3;:12;:10;:12::i;:::-;-1:-1:-1;;;;;9894:21:3;;:62;;;;9919:37;9936:5;9943:12;:10;:12::i;:::-;9919:16;:37::i;:::-;9872:168;;;;-1:-1:-1;;;9872:168:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10053:21;10062:2;10066:7;10053:8;:21::i;:::-;9678:404;;;:::o;272:26:13:-;;;;:::o;2281:28:3:-;;;;:::o;9050:194::-;9224:12;;9050:194;:::o;11553:376::-;11762:41;11781:12;:10;:12::i;:::-;11795:7;11762:18;:41::i;:::-;11740:140;;;;-1:-1:-1;;;11740:140:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11893:28;11903:4;11909:2;11913:7;11893:9;:28::i;5368:244::-;5459:7;5468;5487:15;5505:29;5525:8;5505:19;:29::i;:::-;5553:13;;5487:47;;-1:-1:-1;;;;;;5553:13:3;5568:35;5596:6;5568:23;5487:47;5580:10;5568:11;:23::i;:35::-;5545:59;;;;;5368:244;;;;;:::o;22299:322::-;22395:4;1317:12:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;22443:8:3::1;::::0;::::1;;22434:17:::0;::::1;::::0;::::1;::::0;:38:::1;;;22464:8;;22455:5;:17;;22434:38;22412:127;;;;-1:-1:-1::0;;;22412:127:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22552:37;22563:2;22567:5;22574:14;22552:10;:37::i;:::-;-1:-1:-1::0;22609:4:3::1;1377:1:12;22299:322:3::0;;;;;:::o;8700:274::-;-1:-1:-1;;;;;8862:20:3;;8825:7;8862:20;;;:13;:20;;;;;:29;;:27;:29::i;:::-;8853:5;:38;8850:107;;-1:-1:-1;;;;;8915:20:3;;;;;;:13;:20;;;;;:30;;8939:5;8915:23;:30::i;:::-;8908:37;;;;1717:46;;;;;;;;;;;;;:::o;2243:31::-;;;;:::o;17548:136::-;17618:4;1317:12:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;17635:19:3::1;17641:2;17645:8;17635:5;:19::i;:::-;-1:-1:-1::0;17672:4:3::1;17548:136:::0;;;;:::o;12000:185::-;12138:39;12155:4;12161:2;12165:7;12138:39;;;;;;;;;;;;:16;:39::i;397:43:13:-;;;;;;;;;;;;;;;:::o;9354:262:3:-;9457:7;9484:14;9492:5;9484:7;:14::i;:::-;9481:128;;;-1:-1:-1;9526:5:3;9519:12;;9481:128;9564:33;;;-1:-1:-1;;;9564:33:3;;;;;;;;;;;;;;;;;;;;;;;;;;;1836:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1836:53:3;;:::o;5674:1240::-;5738:7;5772:30;:12;5794:7;5772:21;:30::i;:::-;5768:1049;;;5826:25;:12;5843:7;5826:16;:25::i;:::-;5819:32;;;;5768:1049;5884:11;5898:21;5910:8;;5898:7;:11;;:21;;;;:::i;:::-;5974:8;;5884:35;;-1:-1:-1;5947:11:3;;5961:30;;5989:1;;5962:21;;:7;;5974:8;;5962:11;:21::i;5961:30::-;5947:44;;6016:13;;6010:3;:19;6006:79;;;-1:-1:-1;6056:13:3;;6006:79;6115:12;6174:3;6157:623;6183:3;6179:1;:7;6157:623;;;6229:12;;;;:9;:12;;;;;6254:1;;6229:21;;:19;:21::i;:::-;:26;6225:540;;6305:12;;;;:9;:12;;;;;6327:7;;6305:18;;6321:1;6305:15;:18::i;:::-;:29;6301:445;;6419:22;;;;:19;:22;;;;;:28;:39;-1:-1:-1;6419:39:3;;;:109;;-1:-1:-1;6491:22:3;;;;:19;:22;;;;;:26;;;:37;-1:-1:-1;6491:37:3;6419:109;6385:338;;;6625:22;;;;:19;:22;;;;;:28;;;-1:-1:-1;;;;;6625:28:3;;-1:-1:-1;6684:11:3;;-1:-1:-1;;;6684:11:3;6385:338;6188:3;;6157:623;;;-1:-1:-1;6801:4:3;-1:-1:-1;6794:11:3;;-1:-1:-1;;6794:11:3;346:46:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;346:46:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;346:46:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8521:89:3:-;8594:8;8587:15;;;;;;;;-1:-1:-1;;8587:15:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8561:13;;8587:15;;8594:8;;8587:15;;8594:8;8587:15;;;;;;;;;;;;;;;;;;;;;;;;5060:296;5124:7;-1:-1:-1;;;;;5166:19:3;;5144:111;;;;-1:-1:-1;;;5144:111:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5281:18:3;;;;;:11;:18;;;;;;;5060:296::o;1737:148:12:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:12;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:12::1;::::0;;1737:148::o;7081:166:3:-;-1:-1:-1;;;;;7187:20:3;;7153:7;7187:20;;;:13;:20;;;;;7153:7;;7187:30;;7211:5;7187:23;:30::i;:::-;7172:45;7081:166;-1:-1:-1;;;;7081:166:3:o;1095:79:12:-;1133:7;1160:6;-1:-1:-1;;;;;1160:6:12;1095:79;:::o;7314:96:3:-;7395:7;7388:14;;;;;;;;-1:-1:-1;;7388:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7362:13;;7388:14;;7395:7;;7388:14;;7395:7;7388:14;;;;;;;;;;;;;;;;;;;;;;;;10910:310;1317:12:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;11061:5:3::1;-1:-1:-1::0;;;;;11049:17:3::1;:8;-1:-1:-1::0;;;;;11049:17:3::1;;;11041:55;;;::::0;;-1:-1:-1;;;11041:55:3;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;11041:55:3;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;11109:25:3;;::::1;;::::0;;;:18:::1;:25;::::0;;;;;;;:35;;::::1;::::0;;;;;;;;;;:46;;-1:-1:-1;;11109:46:3::1;::::0;::::1;;::::0;;::::1;::::0;;;11171:41;;;;;;;::::1;::::0;;;;;;;;::::1;10910:310:::0;;;:::o;10511:327::-;10658:12;:10;:12::i;:::-;-1:-1:-1;;;;;10646:24:3;:8;-1:-1:-1;;;;;10646:24:3;;;10638:62;;;;;-1:-1:-1;;;10638:62:3;;;;;;;;;;;;-1:-1:-1;;;10638:62:3;;;;;;;;;;;;;;;10758:8;10713:18;:32;10732:12;:10;:12::i;:::-;-1:-1:-1;;;;;10713:32:3;;;;;;;;;;;;;;;;;-1:-1:-1;10713:32:3;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;10713:53:3;;;;;;;;;;;10797:12;:10;:12::i;:::-;-1:-1:-1;;;;;10782:48:3;;10821:8;10782:48;;;;;;;;;;;;;;;;;;;;10511:327;;:::o;303:38:13:-;;;-1:-1:-1;;;;;303:38:13;;:::o;1749:229::-;1879:4;1317:12:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;1902:58:13::1;1921:7;1930:6;1938:4;1945:14;1902:18;:58::i;:::-;1895:65:::0;1749:229;-1:-1:-1;;;;;1749:229:13:o;1896:49:3:-;;;;;;;;;;;;;:::o;12256:365::-;12445:41;12464:12;:10;:12::i;:::-;12478:7;12445:18;:41::i;:::-;12423:140;;;;-1:-1:-1;;;12423:140:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12574:39;12588:4;12594:2;12598:7;12607:5;12574:13;:39::i;:::-;12256:365;;;;:::o;17692:204::-;17788:4;1317:12:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;17805:19:3::1;17811:2;17815:8;17805:5;:19::i;:::-;17835:31;17848:12;;17862:3;17835:12;:31::i;7481:797::-:0;7582:13;7635:16;7643:7;7635;:16::i;:::-;7613:113;;;;-1:-1:-1;;;7613:113:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7765:19;;;;:10;:19;;;;;;;;;7739:45;;;;;;-1:-1:-1;;7739:45:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;7765:19;7739:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7866:8:3;7860:22;7739:45;;-1:-1:-1;;;;7860:22:3;-1:-1:-1;;7860:22:3;;;;;;;;;;;7856:76;;7911:9;-1:-1:-1;7904:16:3;;7856:76;8036:23;;:27;8032:76;;8087:9;-1:-1:-1;8080:16:3;;8032:76;8240:8;8250:18;:7;:16;:18::i;:::-;8223:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8223:46:3;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8223:46:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8209:61;;;7481:797;;;:::o;11289:197::-;-1:-1:-1;;;;;11443:25:3;;;11414:4;11443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;11289:197::o;2213:23::-;;;;:::o;2040:244:12:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:12;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:12;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:12;;;;;;;;;;;;;;;-1:-1:-1;;;;;2129:22:12;::::1;2121:73;;;;-1:-1:-1::0;;;2121:73:12::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2231:6;::::0;;2210:38:::1;::::0;-1:-1:-1;;;;;2210:38:12;;::::1;::::0;2231:6;::::1;::::0;2210:38:::1;::::0;::::1;2259:6;:17:::0;;-1:-1:-1;;;;;;2259:17:12::1;-1:-1:-1::0;;;;;2259:17:12;;;::::1;::::0;;;::::1;::::0;;2040:244::o;15134:1037:3:-;15189:4;15210:30;:12;15232:7;15210:21;:30::i;:::-;15206:958;;;15264:30;:12;15286:7;15264:21;:30::i;15206:958::-;15326:13;:11;:13::i;:::-;15315:7;:24;15312:852;;15367:11;15381:21;15393:8;;15381:7;:11;;:21;;;;:::i;:::-;15457:8;;15367:35;;-1:-1:-1;15430:11:3;;15444:30;;15472:1;;15445:21;;:7;;15457:8;;15445:11;:21::i;15444:30::-;15430:44;;15512:13;;15506:3;:19;15502:79;;;-1:-1:-1;15552:13:3;;15502:79;15627:3;15610:514;15636:3;15632:1;:7;15610:514;;;15687:12;;;;:9;:12;;;;;15712:1;;15687:21;;:19;:21::i;:::-;:26;15683:426;;15742:12;;;;:9;:12;;;;;15764:7;;15742:18;;15758:1;15742:15;:18::i;:::-;:29;15738:352;;15860:22;;;;:19;:22;;;;;:28;:39;-1:-1:-1;15860:39:3;;;:109;;-1:-1:-1;15932:22:3;;;;:19;:22;;;;;:26;;;:37;-1:-1:-1;15932:37:3;15860:109;15826:241;;;16035:4;16028:11;;;;;;;15826:241;15641:3;;15610:514;;;;16147:5;16140:12;;;;;;1366:136:14;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;902:181::-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:14;;;;;;;;;;;;;;;;;;;;;;;;;;;17911:209:3;18006:4;18023:25;18029:2;18033:14;18023:5;:25::i;2256:471:14:-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:14;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3203:132;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;605:106:1:-;693:10;605:106;:::o;22133:158:3:-;22199:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;22199:29:3;-1:-1:-1;;;;;22199:29:3;;;;;;;;:24;;22253:16;22199:24;22253:7;:16::i;:::-;-1:-1:-1;;;;;22244:39:3;;;;;;;;;;;22133:158;;:::o;16338:428::-;16450:4;16494:16;16502:7;16494;:16::i;:::-;16472:110;;;;-1:-1:-1;;;16472:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16593:13;16609:16;16617:7;16609;:16::i;:::-;16593:32;;16655:5;-1:-1:-1;;;;;16644:16:3;:7;-1:-1:-1;;;;;16644:16:3;;:64;;;;16701:7;-1:-1:-1;;;;;16677:31:3;:20;16689:7;16677:11;:20::i;:::-;-1:-1:-1;;;;;16677:31:3;;16644:64;:113;;;;16725:32;16742:5;16749:7;16725:16;:32::i;19350:755::-;19516:4;-1:-1:-1;;;;;19496:24:3;:16;19504:7;19496;:16::i;:::-;-1:-1:-1;;;;;19496:24:3;;19474:115;;;;-1:-1:-1;;;19474:115:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19608:16:3;;19600:65;;;;-1:-1:-1;;;19600:65:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19784:29;19801:1;19805:7;19784:8;:29::i;:::-;-1:-1:-1;;;;;19847:17:3;;;;;;:11;:17;;;;;;:24;;19869:1;19847:21;:24::i;:::-;-1:-1:-1;;;;;19825:17:3;;;;;;;:11;:17;;;;;;:46;;;;19901:15;;;;;;;:22;;19921:1;19901:19;:22::i;:::-;-1:-1:-1;;;;;19883:15:3;;;;;;;:11;:15;;;;;;;;:40;;;;19934:19;;;;;:13;:19;;;;:35;;19961:7;19934:26;:35::i;:::-;-1:-1:-1;;;;;;19980:17:3;;;;;;:13;:17;;;;;:30;;20002:7;19980:21;:30::i;:::-;-1:-1:-1;20023:29:3;:12;20040:7;20049:2;20023:16;:29::i;:::-;;20089:7;20085:2;-1:-1:-1;;;;;20070:27:3;20079:4;-1:-1:-1;;;;;20070:27:3;;;;;;;;;;;19350:755;;;:::o;13866:955::-;13936:7;13958:24;;;:14;:24;;;;;;:28;13955:849;;-1:-1:-1;14009:24:3;;;;:14;:24;;;;;;14002:31;;13955:849;14065:11;14079:22;14092:8;;14079;:12;;:22;;;;:::i;:::-;14144:8;;14065:36;;-1:-1:-1;14116:11:3;;14130:31;;14159:1;;14131:22;;:8;;14144;;14131:12;:22::i;14130:31::-;14116:45;;14186:13;;14180:3;:19;14176:79;;;-1:-1:-1;14226:13:3;;14176:79;14286:3;14269:499;14295:3;14291:1;:7;14269:499;;;14328:12;;;;:9;:12;;;;;14353:1;;14328:21;;:19;:21::i;:::-;:26;14324:429;;14383:12;;;;:9;:12;;;;;14405:8;;14383:18;;14399:1;14383:15;:18::i;:::-;:30;14379:355;;14476:22;;;;:19;:22;;;;;:28;:40;-1:-1:-1;14476:40:3;;;:111;;-1:-1:-1;14549:22:3;;;;:19;:22;;;;;:26;;;:38;-1:-1:-1;14549:38:3;14476:111;14442:269;;;14653:22;;;;:19;:22;;;;;:30;;;;-1:-1:-1;14646:37:3;;-1:-1:-1;;14646:37:3;14442:269;14300:3;;14269:499;;18128:883;-1:-1:-1;;;;;18243:16:3;;18235:61;;;;;-1:-1:-1;;;18235:61:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18316:8;18311:127;18334:5;18330:1;:9;;;18311:127;;;18404:12;;:21;;;18423:1;18421:3;;18404:21;:16;:21::i;:::-;18379:47;;-1:-1:-1;;;;;18379:47:3;;;18396:1;;18379:47;;18396:1;;18379:47;18341:3;;18311:127;;;;18485:166;;;;;;;;18514:12;;18485:166;;;;18546:23;18563:5;18546:12;;:16;;:23;;;;:::i;:::-;18485:166;;;;;;;;;18591:10;18485:166;;;;;18468:13;;;-1:-1:-1;18448:34:3;;;:19;:34;;;;;:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18448:203:3;-1:-1:-1;;;;;18448:203:3;;;;;;;;;;18701:12;;18682:13;;18672:24;;:9;:24;;;;;:42;;:28;:42::i;:::-;;18725:53;18754:23;18764:12;;18754:5;:9;;:23;;;;:::i;:::-;18735:13;;18725:24;;;;:9;:24;;;;;;:28;:53::i;:::-;-1:-1:-1;18804:10:3;18789:26;;;;:14;:26;;;;;:37;;18820:5;18789:30;:37::i;:::-;-1:-1:-1;18853:13:3;;:20;;18871:1;18853:17;:20::i;:::-;18837:13;:36;18922:10;18910:23;;;;:11;:23;;;;;;:34;;18938:5;18910:27;:34::i;:::-;18896:10;18884:23;;;;:11;:23;;;;;:60;18970:12;;:23;;18987:5;18970:16;:23::i;:::-;18955:12;:38;-1:-1:-1;;;18128:883:3:o;7430:114:5:-;7490:7;7517:19;7525:3;7517:7;:19::i;7888:137::-;7959:7;7994:22;7998:3;8010:5;7994:3;:22::i;17106:434:3:-;-1:-1:-1;;;;;17187:16:3;;17179:61;;;;;-1:-1:-1;;;17179:61:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17266:12;;:19;;17283:1;17266:16;:19::i;:::-;17251:12;:34;;;-1:-1:-1;;;;;17297:17:3;;;;;;:13;:17;;;;;:35;;:21;:35::i;:::-;-1:-1:-1;17360:12:3;;17343:34;;:12;;17374:2;17343:16;:34::i;:::-;-1:-1:-1;17403:12:3;;17388:28;;;;:14;:28;;;;;;;;:39;;;-1:-1:-1;;;;;17456:15:3;;;;:11;:15;;;;;;:22;;17476:1;17456:19;:22::i;:::-;-1:-1:-1;;;;;17438:15:3;;;;;;:11;:15;;;;;;:40;;;;17519:12;;17494:38;;;;17438:15;;17494:38;17106:434;;:::o;6985:151:4:-;7069:4;7093:35;7103:3;7123;7093:9;:35::i;8074:162::-;8153:7;8196:30;8201:3;8221;8196:4;:30::i;1136:604:13:-;1294:11;;1264:4;;1294:18;;1310:1;1294:15;:18::i;:::-;1280:11;:32;;;1325:24;;;;:11;:24;;;;;;;;:31;;1352:4;-1:-1:-1;;1325:31:13;;;;;;;;1396:212;;;;;;;;;;;;;;;;1584:10;1396:212;;;;;;;;;;;;;;;;;;1381:11;;1369:24;;:11;:24;;;;;;:239;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1369:239:13;-1:-1:-1;;;;;1369:239:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;1661:44:13;;1692:12;;-1:-1:-1;1684:6:13;;1672:10;;1661:44;;;;;-1:-1:-1;1731:4:13;1136:604;;;;;;:::o;13502:352:3:-;13659:28;13669:4;13675:2;13679:7;13659:9;:28::i;:::-;13720:48;13743:4;13749:2;13753:7;13762:5;13720:22;:48::i;:::-;13698:148;;;;-1:-1:-1;;;13698:148:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20261:275;20398:16;20406:7;20398;:16::i;:::-;20376:110;;;;-1:-1:-1;;;20376:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20497:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;213:744:15:-;269:13;490:10;486:53;;-1:-1:-1;517:10:15;;;;;;;;;;;;-1:-1:-1;;;517:10:15;;;;;;486:53;564:5;549:12;605:78;612:9;;605:78;;638:8;;669:2;661:10;;;;605:78;;;693:19;725:6;715:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;715:17:15;-1:-1:-1;787:5:15;;-1:-1:-1;693:39:15;-1:-1:-1;;;759:10:15;;803:115;810:9;;803:115;;877:2;870:4;:9;865:2;:14;854:27;;836:6;843:7;;;;;;;836:15;;;;;;;;;;;:45;-1:-1:-1;;;;;836:45:15;;;;;;;;-1:-1:-1;904:2:15;896:10;;;;803:115;;;-1:-1:-1;942:6:15;213:744;-1:-1:-1;;;;213:744:15:o;1805:192:14:-;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:14;;;1805:192::o;3831:278::-;3917:7;3952:12;3945:5;3937:28;;;;-1:-1:-1;;;3937:28:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:14:o;6975:137:5:-;7045:4;7069:35;7077:3;7097:5;7069:7;:35::i;6668:131::-;6735:4;6759:32;6764:3;6784:5;6759:4;:32::i;6417:176:4:-;6506:4;6530:55;6535:3;6555;-1:-1:-1;;;;;6569:14:4;;6530:4;:55::i;4099:109:5:-;4182:18;;4099:109::o;4552:204::-;4647:18;;4619:7;;4647:26;-1:-1:-1;4639:73:5;;;;-1:-1:-1;;;4639:73:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4730:3;:11;;4742:5;4730:18;;;;;;;;;;;;;;;;4723:25;;4552:204;;;;:::o;4387:125:4:-;4458:4;4482:17;;;:12;;;;;:17;;;;;;:22;;;4387:125::o;5512:149::-;5578:7;5605:48;5610:3;5615;5605:48;;;;;;;;;;;;;;;;;:4;:48::i;21431:694:3:-;21586:4;21608:15;:2;-1:-1:-1;;;;;21608:13:3;;:15::i;:::-;21603:60;;-1:-1:-1;21647:4:3;21640:11;;21603:60;21673:23;21699:313;-1:-1:-1;;;21834:12:3;:10;:12::i;:::-;21865:4;21888:7;21914:5;21729:205;;;;;;-1:-1:-1;;;;;21729:205:3;;;;;;-1:-1:-1;;;;;21729:205:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21729:205:3;;;;;;;-1:-1:-1;;;;;21729:205:3;;;;;;;;;;;21699:313;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21699:15:3;;;:313;:15;:313::i;:::-;21673:339;;22023:13;22050:10;22039:32;;;;;;;;;;;;;;;-1:-1:-1;22039:32:3;-1:-1:-1;;;;;;22090:26:3;-1:-1:-1;;;22090:26:3;;-1:-1:-1;;;21431:694:3;;;;;;:::o;2254:1544:5:-;2320:4;2459:19;;;:12;;;:19;;;;;;2495:15;;2491:1300;;2930:18;;-1:-1:-1;;2881:14:5;;;;2930:22;;;;2857:21;;2930:3;;:22;;3217;;;;;;;;;;;;;;3197:42;;3363:9;3334:3;:11;;3346:13;3334:26;;;;;;;;;;;;;;;;;;;:38;;;;3440:23;;;3482:1;3440:12;;;:23;;;;;;3466:17;;;3440:43;;3592:17;;3440:3;;3592:17;;;;;;;;;;;;;;;;;;;;;;3687:3;:12;;:19;3700:5;3687:19;;;;;;;;;;;3680:26;;;3730:4;3723:11;;;;;;;;2491:1300;3774:5;3767:12;;;;;1664:414;1727:4;1749:21;1759:3;1764:5;1749:9;:21::i;:::-;1744:327;;-1:-1:-1;1787:23:5;;;;;;;;:11;:23;;;;;;;;;;;;;1970:18;;1948:19;;;:12;;;:19;;;;;;:40;;;;2003:11;;1744:327;-1:-1:-1;2054:5:5;2047:12;;1887:692:4;1963:4;2098:17;;;:12;;;:17;;;;;;2132:13;2128:444;;-1:-1:-1;;2217:38:4;;;;;;;;;;;;;;;;;;2199:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2414:19;;2394:17;;;:12;;;:17;;;;;;;:39;2448:11;;2128:444;2528:5;2492:3;:12;;2516:1;2505:8;:12;2492:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2555:5;2548:12;;;;;5774:319;5868:7;5907:17;;;:12;;;:17;;;;;;5958:12;5943:13;5935:36;;;;-1:-1:-1;;;5935:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6025:3;:12;;6049:1;6038:8;:12;6025:26;;;;;;;;;;;;;;;;;;:33;;;6018:40;;;5774:319;;;;;:::o;743:619:0:-;803:4;1271:20;;1114:66;1311:23;;;;;;:42;;-1:-1:-1;;1338:15:0;;;1303:51;-1:-1:-1;;743:619:0:o;3858:196::-;3961:12;3993:53;4016:6;4024:4;4030:1;4033:12;5365;5398:18;5409:6;5398:10;:18::i;:::-;5390:60;;;;;-1:-1:-1;;;5390:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:12;5538:23;5565:6;-1:-1:-1;;;;;5565:11:0;5585:8;5596:4;5565:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5565:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:78;;;;5616:7;5612:595;;;5647:10;-1:-1:-1;5640:17:0;;-1:-1:-1;5640:17:0;5612:595;5761:17;;:21;5757:439;;6024:10;6018:17;6085:15;6072:10;6068:2;6064:19;6057:44;5972:148;6160:20;;-1:-1:-1;;;6160:20:0;;;;;;;;;;;;;;;;;6167:12;;6160:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://d6fa2e15cca4326a99fc0facbedff84f6875ef7dcc76eebe03cd7c03b869105a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
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.