Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
NonFungibleToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-10-02
*/
// File: contracts\utils\EnumerableSet.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @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));
}
}
// File: contracts\utils\Address.sol
/**
* @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) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @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");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.3._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.3._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
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);
}
}
}
}
// File: contracts\GSN\Context.sol
/*
* @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;
}
}
// File: contracts\access\AccessControl.sol
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context {
using EnumerableSet for EnumerableSet.AddressSet;
using Address for address;
struct RoleData {
EnumerableSet.AddressSet members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view returns (bool) {
return _roles[role].members.contains(account);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view returns (uint256) {
return _roles[role].members.length();
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
return _roles[role].members.at(index);
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (_roles[role].members.add(account)) {
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (_roles[role].members.remove(account)) {
emit RoleRevoked(role, account, _msgSender());
}
}
}
// File: contracts\math\SafeMath.sol
/**
* @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;
}
}
// File: contracts\utils\Counters.sol
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
* Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
* overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
* directly accessed.
*/
library Counters {
using SafeMath for uint256;
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
// The {SafeMath} overflow check can be skipped here, see the comment at the top
counter._value += 1;
}
function decrement(Counter storage counter) internal {
counter._value = counter._value.sub(1);
}
}
// File: contracts\introspection\IERC165.sol
/**
* @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);
}
// File: contracts\token\ERC721\IERC721.sol
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred 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;
}
// File: contracts\token\ERC721\IERC721Metadata.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);
}
// File: contracts\token\ERC721\IERC721Enumerable.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);
}
// File: contracts\token\ERC721\IERC721Receiver.sol
/**
* @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);
}
// File: contracts\introspection\ERC165.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;
}
}
// File: contracts\utils\EnumerableMap.sol
/**
* @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)));
}
}
// File: contracts\utils\Strings.sol
/**
* @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);
}
}
// File: contracts\token\ERC721\ERC721.sol
/**
* @title ERC721 Non-Fungible Token Standard basic implementation
* @dev see https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721 is Context, 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;
mapping (address => bool) public whitelists;
// 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 (address => bool) public whitelists;
// 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;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Optional mapping for token URIs
mapping (uint256 => string) private _tokenURIs;
// Base URI
string private _baseURI;
/*
* 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 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
*/
bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;
/*
* 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) public {
_name = name;
_symbol = symbol;
// register the supported interfaces to conform to ERC721 via ERC165
_registerInterface(_INTERFACE_ID_ERC721);
_registerInterface(_INTERFACE_ID_ERC721_METADATA);
_registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _holderTokens[owner].length();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view override 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 string(abi.encodePacked(_baseURI, _tokenURI));
}
// If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
return string(abi.encodePacked(_baseURI, tokenId.toString(), ".json"));
}
/**
* @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 view override returns (uint256) {
return _holderTokens[owner].at(index);
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
// _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
return _tokenOwners.length();
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
(uint256 tokenId, ) = _tokenOwners.at(index);
return tokenId;
}
/**
* @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 view override 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-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view override 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");
uint256 albumSize = totalSupply();
for(uint256 i = 0; i < albumSize; i++){
_transfer(from, to, i);
}
// _transfer(from, to, 0);
// _transfer(from, to, 1);
// _transfer(from, to, 2);
//_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, 0, _data);
//_safeTransfer(from, to, 1, _data);
//_safeTransfer(from, to, 2, _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 mechanisms 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");
}
/**
* @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) internal view returns (bool) {
return _tokenOwners.contains(tokenId);
}
/**
* @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 Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
d*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @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 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_holderTokens[to].add(tokenId);
_tokenOwners.set(tokenId, to);
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
// Clear metadata (if any)
if (bytes(_tokenURIs[tokenId]).length != 0) {
delete _tokenURIs[tokenId];
}
_holderTokens[owner].remove(tokenId);
_tokenOwners.remove(tokenId);
emit Transfer(owner, address(0), tokenId);
}
/**
* @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);
_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);
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}
// File: contracts\token\ERC721\ERC721Burnable.sol
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}
// File: contracts\utils\Pausable.sol
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () internal {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!_paused, "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(_paused, "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: contracts\token\ERC721\ERC721Pausable.sol
/**
* @dev ERC721 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*/
abstract contract ERC721Pausable is ERC721, Pausable {
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
require(!paused(), "ERC721Pausable: token transfer while paused");
}
}
// File: contracts\presets\NonFungibleToken.sol
/**
* @dev {ERC721} token, including:
*
* - ability for holders to burn (destroy) their tokens
* - a minter role that allows for token minting (creation)
* - a pauser role that allows to stop all token transfers
* - token ID and URI autogeneration
*
* This contract uses {AccessControl} to lock permissioned functions using the
* different roles - head to its documentation for details.
*
* The account that deploys the contract will be granted the minter and pauser
* roles, as well as the default admin role, which will let it grant both minter
* and pauser roles to other accounts.
*/
contract NonFungibleToken is Context, AccessControl, ERC721Burnable, ERC721Pausable {
using Counters for Counters.Counter;
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
address public owner;
bool public whitelistingEnabled = false;
bool public mintingEnabled = true;
uint256 public maxPerWallet = 100;
uint256 public premintRound = 0;
uint256 public nftPerCall = 50;
// mapping (address => bool) public whitelists;
Counters.Counter private _tokenIdTracker;
/**
* @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
* account that deploys the contract.
*
* Token URIs will be autogenerated based on `baseURI` and their token IDs.
* See {ERC721-tokenURI}.
*/
constructor(string memory name, string memory symbol, string memory baseURI) public ERC721(name, symbol) {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(MINTER_ROLE, _msgSender());
_setupRole(PAUSER_ROLE, _msgSender());
_setBaseURI(baseURI);
owner = msg.sender;
}
/* function toggleWhitelisting(bool _toggle) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role");
whitelistingEnabled = _toggle;
}*/
function mintOwner() public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have minter role to mint");
require(premintRound < 3, "All treasury NFTs have been minted");
for(uint i = 0; i < nftPerCall; i++){
_mint(msg.sender, _tokenIdTracker.current() +1);
_tokenIdTracker.increment();
}
premintRound = premintRound + 1;
}
function setURI(string memory baseURI) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role");
_setBaseURI(baseURI);
}
function setMaxPerWallet(uint256 _maxPerWallet) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have minter role to mint");
maxPerWallet = _maxPerWallet;
}
function setOwner(address _owner) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role to mint");
owner = _owner;
}
function toggleMinting(bool _bool) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role to mint");
mintingEnabled = _bool;
}
function toggleWhitelisting(bool _toggle) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role");
whitelistingEnabled = _toggle;
}
function whitelist(address _account) public virtual {
require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "NonFungibleToken: must have admin role");
whitelists[_account] = true;
}
function contractURI() public view returns (string memory) {
return string(abi.encodePacked(baseURI(), "contract-metadata.json"));
}
/**
* @dev Creates a new token for `to`. Its token ID will be automatically
* assigned (and available on the emitted {IERC721-Transfer} event), and the token
* URI autogenerated based on the base URI passed at construction.
*
* See {ERC721-_mint}.
*
* Requirements:
*
* - the caller must have the `MINTER_ROLE`.
*/
function mint(address to) public virtual {
require(hasRole(MINTER_ROLE, _msgSender()), "NonFungibleToken: must have minter role to mint");
require(whitelists[to] || ! whitelistingEnabled, "User not whitelisted !");
require(mintingEnabled, "Minting not enabled !");
// We cannot just use balanceOf to create the new tokenId because tokens
// can be burned (destroyed), so we need a separate counter.
_mint(to, _tokenIdTracker.current() + 1);
_tokenIdTracker.increment();
require(balanceOf(to) <= maxPerWallet, "Max NFTs reached by wallet");
}
/**
* @dev Pauses all token transfers.
*
* See {ERC721Pausable} and {Pausable-_pause}.
*
* Requirements:
*
* - the caller must have the `PAUSER_ROLE`.
*/
function pause() public virtual {
require(hasRole(PAUSER_ROLE, _msgSender()), "NonFungibleToken: must have pauser role to pause");
_pause();
}
/**
* @dev Unpauses all token transfers.
*
* See {ERC721Pausable} and {Pausable-_unpause}.
*
* Requirements:
*
* - the caller must have the `PAUSER_ROLE`.
*/
function unpause() public virtual {
require(hasRole(PAUSER_ROLE, _msgSender()), "NonFungibleToken: must have pauser role to unpause");
_unpause();
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Pausable) {
super._beforeTokenTransfer(from, to, tokenId);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","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":"bool","name":"_bool","type":"bool"}],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_toggle","type":"bool"}],"name":"toggleWhitelisting","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040526000600c60156101000a81548160ff0219169083151502179055506001600c60166101000a81548160ff0219169083151502179055506064600d556000600e556032600f553480156200005657600080fd5b5060405162004a3638038062004a36833981810160405260608110156200007c57600080fd5b81019080805160405193929190846401000000008211156200009d57600080fd5b83820191506020820185811115620000b457600080fd5b8251866001820283011164010000000082111715620000d257600080fd5b8083526020830192505050908051906020019080838360005b8381101562000108578082015181840152602081019050620000eb565b50505050905090810190601f168015620001365780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200015a57600080fd5b838201915060208201858111156200017157600080fd5b82518660018202830111640100000000821117156200018f57600080fd5b8083526020830192505050908051906020019080838360005b83811015620001c5578082015181840152602081019050620001a8565b50505050905090810190601f168015620001f35780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200021757600080fd5b838201915060208201858111156200022e57600080fd5b82518660018202830111640100000000821117156200024c57600080fd5b8083526020830192505050908051906020019080838360005b838110156200028257808201518184015260208101905062000265565b50505050905090810190601f168015620002b05780820380516001836020036101000a031916815260200191505b506040525050508282620002d16301ffc9a760e01b6200046960201b60201c565b8160089080519060200190620002e992919062000724565b5080600990805190602001906200030292919062000724565b506200031b6380ac58cd60e01b6200046960201b60201c565b62000333635b5e139f60e01b6200046960201b60201c565b6200034b63780e9d6360e01b6200046960201b60201c565b50506000600c60006101000a81548160ff0219169083151502179055506200038c6000801b620003806200057260201b60201c565b6200057a60201b60201c565b620003cd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620003c16200057260201b60201c565b6200057a60201b60201c565b6200040e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a620004026200057260201b60201c565b6200057a60201b60201c565b6200041f816200059060201b60201c565b33600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620007ca565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000506576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b6200058c8282620005ac60201b60201c565b5050565b80600b9080519060200190620005a892919062000724565b5050565b620005da816000808581526020019081526020016000206000016200064f60201b620029521790919060201c565b156200064b57620005f06200057260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200067f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200068760201b60201c565b905092915050565b60006200069b83836200070160201b60201c565b620006f6578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620006fb565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200076757805160ff191683800117855562000798565b8280016001018555821562000798579182015b82811115620007975782518255916020019190600101906200077a565b5b509050620007a79190620007ab565b5090565b5b80821115620007c6576000816000905550600101620007ac565b5090565b61425c80620007da6000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c80636352211e11610167578063a217fddf116100ce578063d539139311610087578063d539139314610ef5578063d547741f14610f13578063e268e4d314610f61578063e63ab1e914610f8f578063e8a3d48514610fad578063e985e9c51461103057610295565b8063a217fddf14610c8f578063a22cb46514610cad578063b88d4fde14610cfd578063c87b56dd14610e02578063ca15c87314610ea9578063cecb06d014610eeb57610295565b80639010d07c116101205780639010d07c14610ac457806391d1485414610b2657806395d89b4114610b8a5780639852072614610c0d5780639b19251a14610c2b5780639fd6db1214610c6f57610295565b80636352211e1461090f5780636a627842146109675780636c0360eb146109ab57806370a0823114610a2e5780638456cb5914610a865780638da5cb5b14610a9057610295565b80632f2ff15d1161020b578063453c2310116101c4578063453c2310146108215780634bd725cb1461083f5780634f6ccce71461085d5780635b0c29eb1461089f5780635c975abb146108bf5780636082adf8146108df57610295565b80632f2ff15d1461067d5780632f745c59146106cb57806336568abe1461072d5780633f4ba83a1461077b57806342842e0e1461078557806342966c68146107f357610295565b806313af40351161025d57806313af4035146104e157806318160ddd146105255780631e7be2101461054357806321775c921461059d57806323b872dd146105cd578063248a9ca31461063b57610295565b806301ffc9a71461029a57806302fe5305146102fd57806306fdde03146103b8578063081812fc1461043b578063095ea7b314610493575b600080fd5b6102e5600480360360208110156102b057600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291905050506110aa565b60405180821515815260200191505060405180910390f35b6103b66004803603602081101561031357600080fd5b810190808035906020019064010000000081111561033057600080fd5b82018360208201111561034257600080fd5b8035906020019184600183028401116401000000008311171561036457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611112565b005b6103c0611187565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104005780820151818401526020810190506103e5565b50505050905090810190601f16801561042d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104676004803603602081101561045157600080fd5b8101908080359060200190929190505050611229565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104df600480360360408110156104a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112c4565b005b610523600480360360208110156104f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611408565b005b61052d6114b5565b6040518082815260200191505060405180910390f35b6105856004803603602081101561055957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114c6565b60405180821515815260200191505060405180910390f35b6105cb600480360360208110156105b357600080fd5b810190808035151590602001909291905050506114e6565b005b610639600480360360608110156105e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061156c565b005b6106676004803603602081101561065157600080fd5b8101908080359060200190929190505050611608565b6040518082815260200191505060405180910390f35b6106c96004803603604081101561069357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611627565b005b610717600480360360408110156106e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116b0565b6040518082815260200191505060405180910390f35b6107796004803603604081101561074357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061170b565b005b6107836117a4565b005b6107f16004803603606081101561079b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611834565b005b61081f6004803603602081101561080957600080fd5b8101908080359060200190929190505050611854565b005b6108296118c6565b6040518082815260200191505060405180910390f35b6108476118cc565b6040518082815260200191505060405180910390f35b6108896004803603602081101561087357600080fd5b81019080803590602001909291905050506118d2565b6040518082815260200191505060405180910390f35b6108a76118f5565b60405180821515815260200191505060405180910390f35b6108c7611908565b60405180821515815260200191505060405180910390f35b61090d600480360360208110156108f557600080fd5b8101908080351515906020019092919050505061191f565b005b61093b6004803603602081101561092557600080fd5b81019080803590602001909291905050506119a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109a96004803603602081101561097d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119dc565b005b6109b3611c5e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109f35780820151818401526020810190506109d8565b50505050905090810190601f168015610a205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610a7060048036036020811015610a4457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d00565b6040518082815260200191505060405180910390f35b610a8e611dd5565b005b610a98611e65565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610afa60048036036040811015610ada57600080fd5b810190808035906020019092919080359060200190929190505050611e8b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b7260048036036040811015610b3c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ebc565b60405180821515815260200191505060405180910390f35b610b92611eed565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bd2578082015181840152602081019050610bb7565b50505050905090810190601f168015610bff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c15611f8f565b6040518082815260200191505060405180910390f35b610c6d60048036036020811015610c4157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f95565b005b610c77612059565b60405180821515815260200191505060405180910390f35b610c9761206c565b6040518082815260200191505060405180910390f35b610cfb60048036036040811015610cc357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612073565b005b610e0060048036036080811015610d1357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610d7a57600080fd5b820183602082011115610d8c57600080fd5b80359060200191846001830284011164010000000083111715610dae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612229565b005b610e2e60048036036020811015610e1857600080fd5b8101908080359060200190929190505050612295565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e6e578082015181840152602081019050610e53565b50505050905090810190601f168015610e9b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ed560048036036020811015610ebf57600080fd5b81019080803590602001909291905050506125a6565b6040518082815260200191505060405180910390f35b610ef36125cc565b005b610efd6126d9565b6040518082815260200191505060405180910390f35b610f5f60048036036040811015610f2957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126fd565b005b610f8d60048036036020811015610f7757600080fd5b8101908080359060200190929190505050612786565b005b610f976127f9565b6040518082815260200191505060405180910390f35b610fb561281d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ff5578082015181840152602081019050610fda565b50505050905090810190601f1680156110225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6110926004803603604081101561104657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128be565b60405180821515815260200191505060405180910390f35b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6111266000801b611121612982565b611ebc565b61117b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b6111848161298a565b50565b606060088054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561121f5780601f106111f45761010080835404028352916020019161121f565b820191906000526020600020905b81548152906001019060200180831161120257829003601f168201915b5050505050905090565b6000611234826129a4565b611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614048602c913960400191505060405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006112cf826119a5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611356576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140fc6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611375612982565b73ffffffffffffffffffffffffffffffffffffffff1614806113a457506113a38161139e612982565b6128be565b5b6113f9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613f6d6038913960400191505060405180910390fd5b61140383836129c1565b505050565b61141c6000801b611417612982565b611ebc565b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061401a602e913960400191505060405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006114c16004612a7a565b905090565b60026020528060005260406000206000915054906101000a900460ff1681565b6114fa6000801b6114f5612982565b611ebc565b61154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061401a602e913960400191505060405180910390fd5b80600c60166101000a81548160ff02191690831515021790555050565b61157d611577612982565b82612a8f565b6115d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061413f6031913960400191505060405180910390fd5b60006115dc6114b5565b905060005b81811015611601576115f4858583612b83565b80806001019150506115e1565b5050505050565b6000806000838152602001908152602001600020600201549050919050565b61164d60008084815260200190815260200160002060020154611648612982565b611ebc565b6116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613e8f602f913960400191505060405180910390fd5b6116ac8282612dc6565b5050565b600061170382600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e5990919063ffffffff16565b905092915050565b611713612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806141f8602f913960400191505060405180910390fd5b6117a08282612e73565b5050565b6117d57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6117d0612982565b611ebc565b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806141706032913960400191505060405180910390fd5b611832612f06565b565b61184f83838360405180602001604052806000815250612229565b505050565b61186561185f612982565b82612a8f565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806141c86030913960400191505060405180910390fd5b6118c381612ff9565b50565b600d5481565b600f5481565b6000806118e983600461313390919063ffffffff16565b50905080915050919050565b600c60159054906101000a900460ff1681565b6000600c60009054906101000a900460ff16905090565b6119336000801b61192e612982565b611ebc565b611988576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b80600c60156101000a81548160ff02191690831515021790555050565b60006119d582604051806060016040528060298152602001613fcf60299139600461315f9092919063ffffffff16565b9050919050565b611a0d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611a08612982565b611ebc565b611a62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611ac75750600c60159054906101000a900460ff16155b611b39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f55736572206e6f742077686974656c697374656420210000000000000000000081525060200191505060405180910390fd5b600c60169054906101000a900460ff16611bbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f4d696e74696e67206e6f7420656e61626c65642021000000000000000000000081525060200191505060405180910390fd5b611bd1816001611bcb601061317e565b0161318c565b611bdb6010613380565b600d54611be782611d00565b1115611c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4d6178204e46547320726561636865642062792077616c6c657400000000000081525060200191505060405180910390fd5b50565b6060600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611cf65780601f10611ccb57610100808354040283529160200191611cf6565b820191906000526020600020905b815481529060010190602001808311611cd957829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613fa5602a913960400191505060405180910390fd5b611dce600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613396565b9050919050565b611e067f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611e01612982565b611ebc565b611e5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806140cc6030913960400191505060405180910390fd5b611e636133ab565b565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611eb48260008086815260200190815260200160002060000161349f90919063ffffffff16565b905092915050565b6000611ee5826000808681526020019081526020016000206000016134b990919063ffffffff16565b905092915050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611f855780601f10611f5a57610100808354040283529160200191611f85565b820191906000526020600020905b815481529060010190602001808311611f6857829003601f168201915b5050505050905090565b600e5481565b611fa96000801b611fa4612982565b611ebc565b611ffe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600c60169054906101000a900460ff1681565b6000801b81565b61207b612982565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561211c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060076000612129612982565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121d6612982565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61223a612234612982565b83612a8f565b61228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061413f6031913960400191505060405180910390fd5b50505050565b60606122a0826129a4565b6122f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061409d602f913960400191505060405180910390fd5b6060600a60008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561239e5780601f106123735761010080835404028352916020019161239e565b820191906000526020600020905b81548152906001019060200180831161238157829003601f168201915b505050505090506000600b80546001816001161561010002031660029004905014156123cd57809150506125a1565b6000815111156124a657600b8160405160200180838054600181600116156101000203166002900480156124385780601f10612416576101008083540402835291820191612438565b820191906000526020600020905b815481529060010190602001808311612424575b505082805190602001908083835b602083106124695780518252602082019150602081019050602083039250612446565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506125a1565b600b6124b1846134e9565b604051602001808380546001816001161561010002031660029004801561250f5780601f106124ed57610100808354040283529182019161250f565b820191906000526020600020905b8154815290600101906020018083116124fb575b505082805190602001908083835b60208310612540578051825260208201915060208101905060208303925061251d565b6001836020036101000a038019825116818451168082178552505050505050905001807f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600501925050506040516020818303038152906040529150505b919050565b60006125c5600080848152602001908152602001600020600001613630565b9050919050565b6125e06000801b6125db612982565b611ebc565b612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b6003600e5410612690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061411d6022913960400191505060405180910390fd5b60005b600f548110156126ca576126b33360016126ad601061317e565b0161318c565b6126bd6010613380565b8080600101915050612693565b506001600e5401600e81905550565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6127236000808481526020019081526020016000206002015461271e612982565b611ebc565b612778576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613f3d6030913960400191505060405180910390fd5b6127828282612e73565b5050565b61279a6000801b612795612982565b611ebc565b6127ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b80600d8190555050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6060612827611c5e565b6040516020018082805190602001908083835b6020831061285d578051825260208201915060208101905060208303925061283a565b6001836020036101000a038019825116818451168082178552505050505050905001807f636f6e74726163742d6d657461646174612e6a736f6e00000000000000000000815250601601915050604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061297a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613645565b905092915050565b600033905090565b80600b90805190602001906129a0929190613d5c565b5050565b60006129ba8260046136b590919063ffffffff16565b9050919050565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a34836119a5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a88826000016136cf565b9050919050565b6000612a9a826129a4565b612aef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613f11602c913960400191505060405180910390fd5b6000612afa836119a5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6957508373ffffffffffffffffffffffffffffffffffffffff16612b5184611229565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b7a5750612b7981856128be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ba3826119a5565b73ffffffffffffffffffffffffffffffffffffffff1614612c0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806140746029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613eed6024913960400191505060405180910390fd5b612ca08383836136e0565b612cab6000826129c1565b612cfc81600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206136f090919063ffffffff16565b50612d4e81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061370a90919063ffffffff16565b50612d65818360046137249092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612ded8160008085815260200190815260200160002060000161295290919063ffffffff16565b15612e5557612dfa612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e688360000183613759565b60001c905092915050565b612e9a816000808581526020019081526020016000206000016137dc90919063ffffffff16565b15612f0257612ea7612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600c60009054906101000a900460ff16612f88576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612fcc612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000613004826119a5565b9050613012816000846136e0565b61301d6000836129c1565b6000600a60008481526020019081526020016000208054600181600116156101000203166002900490501461306c57600a6000838152602001908152602001600020600061306b9190613ddc565b5b6130bd82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206136f090919063ffffffff16565b506130d282600461380c90919063ffffffff16565b5081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806000806131468660000186613826565b915091508160001c8160001c9350935050509250929050565b6000613172846000018460001b846138bf565b60001c90509392505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561322f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b613238816129a4565b156132ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6132b7600083836136e0565b61330881600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061370a90919063ffffffff16565b5061331f818360046137249092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b60006133a4826000016139b5565b9050919050565b600c60009054906101000a900460ff161561342e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613472612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60006134ae8360000183613759565b60001c905092915050565b60006134e1836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6139c6565b905092915050565b60606000821415613531576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061362b565b600082905060005b6000821461355b578080600101915050600a828161355357fe5b049150613539565b60608167ffffffffffffffff8111801561357457600080fd5b506040519080825280601f01601f1916602001820160405280156135a75781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461362357600a84816135c857fe5b0660300160f81b828280600190039350815181106135e257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161361b57fe5b0493506135b6565b819450505050505b919050565b600061363e826000016139b5565b9050919050565b600061365183836139c6565b6136aa5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506136af565b600090505b92915050565b60006136c7836000018360001b6139e9565b905092915050565b600081600001805490509050919050565b6136eb838383613a0c565b505050565b6000613702836000018360001b613a7a565b905092915050565b600061371c836000018360001b613645565b905092915050565b6000613750846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b62565b90509392505050565b6000818360000180549050116137ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e426022913960400191505060405180910390fd5b8260000182815481106137c957fe5b9060005260206000200154905092915050565b6000613804836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613a7a565b905092915050565b600061381e836000018360001b613c3e565b905092915050565b60008082846000018054905011613888576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613ff86022913960400191505060405180910390fd5b600084600001848154811061389957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613986576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561394b578082015181840152602081019050613930565b50505050905090810190601f1680156139785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061399957fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b613a17838383613d57565b613a1f611908565b15613a75576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613e64602b913960400191505060405180910390fd5b505050565b60008083600101600084815260200190815260200160002054905060008114613b565760006001820390506000600186600001805490500390506000866000018281548110613ac557fe5b9060005260206000200154905080876000018481548110613ae257fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613b1a57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613b5c565b60009150505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0957846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c37565b82856000016001830381548110613c1c57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60008083600101600084815260200190815260200160002054905060008114613d4b5760006001820390506000600186600001805490500390506000866000018281548110613c8957fe5b9060005260206000209060020201905080876000018481548110613ca957fe5b9060005260206000209060020201600082015481600001556001820154816001015590505060018301876001016000836000015481526020019081526020016000208190555086600001805480613cfc57fe5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055866001016000878152602001908152602001600020600090556001945050505050613d51565b60009150505b92915050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d9d57805160ff1916838001178555613dcb565b82800160010185558215613dcb579182015b82811115613dca578251825591602001919060010190613daf565b5b509050613dd89190613e24565b5090565b50805460018160011615610100020316600290046000825580601f10613e025750613e21565b601f016020900490600052602060002090810190613e209190613e24565b5b50565b5b80821115613e3d576000816000905550600101613e25565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744e6f6e46756e6769626c65546f6b656e3a206d7573742068617665206d696e74657220726f6c6520746f206d696e744552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734e6f6e46756e6769626c65546f6b656e3a206d75737420686176652061646d696e20726f6c6520746f206d696e744552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4e6f6e46756e6769626c65546f6b656e3a206d75737420686176652070617573657220726f6c6520746f2070617573654552433732313a20617070726f76616c20746f2063757272656e74206f776e6572416c6c207472656173757279204e4654732068617665206265656e206d696e7465644552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644e6f6e46756e6769626c65546f6b656e3a206d75737420686176652070617573657220726f6c6520746f20756e70617573654e6f6e46756e6769626c65546f6b656e3a206d75737420686176652061646d696e20726f6c654552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122095a08dba97783aa328dfb5f22527211a5db5384915a30134db162d642411e3df64736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d4166726963616e6f73204e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004414e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6166726963616e6f732e696f2f6d657461646174612f0000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102955760003560e01c80636352211e11610167578063a217fddf116100ce578063d539139311610087578063d539139314610ef5578063d547741f14610f13578063e268e4d314610f61578063e63ab1e914610f8f578063e8a3d48514610fad578063e985e9c51461103057610295565b8063a217fddf14610c8f578063a22cb46514610cad578063b88d4fde14610cfd578063c87b56dd14610e02578063ca15c87314610ea9578063cecb06d014610eeb57610295565b80639010d07c116101205780639010d07c14610ac457806391d1485414610b2657806395d89b4114610b8a5780639852072614610c0d5780639b19251a14610c2b5780639fd6db1214610c6f57610295565b80636352211e1461090f5780636a627842146109675780636c0360eb146109ab57806370a0823114610a2e5780638456cb5914610a865780638da5cb5b14610a9057610295565b80632f2ff15d1161020b578063453c2310116101c4578063453c2310146108215780634bd725cb1461083f5780634f6ccce71461085d5780635b0c29eb1461089f5780635c975abb146108bf5780636082adf8146108df57610295565b80632f2ff15d1461067d5780632f745c59146106cb57806336568abe1461072d5780633f4ba83a1461077b57806342842e0e1461078557806342966c68146107f357610295565b806313af40351161025d57806313af4035146104e157806318160ddd146105255780631e7be2101461054357806321775c921461059d57806323b872dd146105cd578063248a9ca31461063b57610295565b806301ffc9a71461029a57806302fe5305146102fd57806306fdde03146103b8578063081812fc1461043b578063095ea7b314610493575b600080fd5b6102e5600480360360208110156102b057600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291905050506110aa565b60405180821515815260200191505060405180910390f35b6103b66004803603602081101561031357600080fd5b810190808035906020019064010000000081111561033057600080fd5b82018360208201111561034257600080fd5b8035906020019184600183028401116401000000008311171561036457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611112565b005b6103c0611187565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104005780820151818401526020810190506103e5565b50505050905090810190601f16801561042d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104676004803603602081101561045157600080fd5b8101908080359060200190929190505050611229565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104df600480360360408110156104a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112c4565b005b610523600480360360208110156104f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611408565b005b61052d6114b5565b6040518082815260200191505060405180910390f35b6105856004803603602081101561055957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114c6565b60405180821515815260200191505060405180910390f35b6105cb600480360360208110156105b357600080fd5b810190808035151590602001909291905050506114e6565b005b610639600480360360608110156105e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061156c565b005b6106676004803603602081101561065157600080fd5b8101908080359060200190929190505050611608565b6040518082815260200191505060405180910390f35b6106c96004803603604081101561069357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611627565b005b610717600480360360408110156106e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116b0565b6040518082815260200191505060405180910390f35b6107796004803603604081101561074357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061170b565b005b6107836117a4565b005b6107f16004803603606081101561079b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611834565b005b61081f6004803603602081101561080957600080fd5b8101908080359060200190929190505050611854565b005b6108296118c6565b6040518082815260200191505060405180910390f35b6108476118cc565b6040518082815260200191505060405180910390f35b6108896004803603602081101561087357600080fd5b81019080803590602001909291905050506118d2565b6040518082815260200191505060405180910390f35b6108a76118f5565b60405180821515815260200191505060405180910390f35b6108c7611908565b60405180821515815260200191505060405180910390f35b61090d600480360360208110156108f557600080fd5b8101908080351515906020019092919050505061191f565b005b61093b6004803603602081101561092557600080fd5b81019080803590602001909291905050506119a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109a96004803603602081101561097d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119dc565b005b6109b3611c5e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109f35780820151818401526020810190506109d8565b50505050905090810190601f168015610a205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610a7060048036036020811015610a4457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d00565b6040518082815260200191505060405180910390f35b610a8e611dd5565b005b610a98611e65565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610afa60048036036040811015610ada57600080fd5b810190808035906020019092919080359060200190929190505050611e8b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b7260048036036040811015610b3c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ebc565b60405180821515815260200191505060405180910390f35b610b92611eed565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bd2578082015181840152602081019050610bb7565b50505050905090810190601f168015610bff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c15611f8f565b6040518082815260200191505060405180910390f35b610c6d60048036036020811015610c4157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f95565b005b610c77612059565b60405180821515815260200191505060405180910390f35b610c9761206c565b6040518082815260200191505060405180910390f35b610cfb60048036036040811015610cc357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612073565b005b610e0060048036036080811015610d1357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610d7a57600080fd5b820183602082011115610d8c57600080fd5b80359060200191846001830284011164010000000083111715610dae57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612229565b005b610e2e60048036036020811015610e1857600080fd5b8101908080359060200190929190505050612295565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e6e578082015181840152602081019050610e53565b50505050905090810190601f168015610e9b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ed560048036036020811015610ebf57600080fd5b81019080803590602001909291905050506125a6565b6040518082815260200191505060405180910390f35b610ef36125cc565b005b610efd6126d9565b6040518082815260200191505060405180910390f35b610f5f60048036036040811015610f2957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126fd565b005b610f8d60048036036020811015610f7757600080fd5b8101908080359060200190929190505050612786565b005b610f976127f9565b6040518082815260200191505060405180910390f35b610fb561281d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ff5578082015181840152602081019050610fda565b50505050905090810190601f1680156110225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6110926004803603604081101561104657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128be565b60405180821515815260200191505060405180910390f35b600060016000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6111266000801b611121612982565b611ebc565b61117b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b6111848161298a565b50565b606060088054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561121f5780601f106111f45761010080835404028352916020019161121f565b820191906000526020600020905b81548152906001019060200180831161120257829003601f168201915b5050505050905090565b6000611234826129a4565b611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614048602c913960400191505060405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006112cf826119a5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611356576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806140fc6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611375612982565b73ffffffffffffffffffffffffffffffffffffffff1614806113a457506113a38161139e612982565b6128be565b5b6113f9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613f6d6038913960400191505060405180910390fd5b61140383836129c1565b505050565b61141c6000801b611417612982565b611ebc565b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061401a602e913960400191505060405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006114c16004612a7a565b905090565b60026020528060005260406000206000915054906101000a900460ff1681565b6114fa6000801b6114f5612982565b611ebc565b61154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061401a602e913960400191505060405180910390fd5b80600c60166101000a81548160ff02191690831515021790555050565b61157d611577612982565b82612a8f565b6115d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061413f6031913960400191505060405180910390fd5b60006115dc6114b5565b905060005b81811015611601576115f4858583612b83565b80806001019150506115e1565b5050505050565b6000806000838152602001908152602001600020600201549050919050565b61164d60008084815260200190815260200160002060020154611648612982565b611ebc565b6116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613e8f602f913960400191505060405180910390fd5b6116ac8282612dc6565b5050565b600061170382600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612e5990919063ffffffff16565b905092915050565b611713612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806141f8602f913960400191505060405180910390fd5b6117a08282612e73565b5050565b6117d57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6117d0612982565b611ebc565b61182a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806141706032913960400191505060405180910390fd5b611832612f06565b565b61184f83838360405180602001604052806000815250612229565b505050565b61186561185f612982565b82612a8f565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806141c86030913960400191505060405180910390fd5b6118c381612ff9565b50565b600d5481565b600f5481565b6000806118e983600461313390919063ffffffff16565b50905080915050919050565b600c60159054906101000a900460ff1681565b6000600c60009054906101000a900460ff16905090565b6119336000801b61192e612982565b611ebc565b611988576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b80600c60156101000a81548160ff02191690831515021790555050565b60006119d582604051806060016040528060298152602001613fcf60299139600461315f9092919063ffffffff16565b9050919050565b611a0d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611a08612982565b611ebc565b611a62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611ac75750600c60159054906101000a900460ff16155b611b39576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f55736572206e6f742077686974656c697374656420210000000000000000000081525060200191505060405180910390fd5b600c60169054906101000a900460ff16611bbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f4d696e74696e67206e6f7420656e61626c65642021000000000000000000000081525060200191505060405180910390fd5b611bd1816001611bcb601061317e565b0161318c565b611bdb6010613380565b600d54611be782611d00565b1115611c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4d6178204e46547320726561636865642062792077616c6c657400000000000081525060200191505060405180910390fd5b50565b6060600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611cf65780601f10611ccb57610100808354040283529160200191611cf6565b820191906000526020600020905b815481529060010190602001808311611cd957829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613fa5602a913960400191505060405180910390fd5b611dce600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613396565b9050919050565b611e067f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611e01612982565b611ebc565b611e5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806140cc6030913960400191505060405180910390fd5b611e636133ab565b565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611eb48260008086815260200190815260200160002060000161349f90919063ffffffff16565b905092915050565b6000611ee5826000808681526020019081526020016000206000016134b990919063ffffffff16565b905092915050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611f855780601f10611f5a57610100808354040283529160200191611f85565b820191906000526020600020905b815481529060010190602001808311611f6857829003601f168201915b5050505050905090565b600e5481565b611fa96000801b611fa4612982565b611ebc565b611ffe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141a26026913960400191505060405180910390fd5b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600c60169054906101000a900460ff1681565b6000801b81565b61207b612982565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561211c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060076000612129612982565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121d6612982565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61223a612234612982565b83612a8f565b61228f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061413f6031913960400191505060405180910390fd5b50505050565b60606122a0826129a4565b6122f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061409d602f913960400191505060405180910390fd5b6060600a60008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561239e5780601f106123735761010080835404028352916020019161239e565b820191906000526020600020905b81548152906001019060200180831161238157829003601f168201915b505050505090506000600b80546001816001161561010002031660029004905014156123cd57809150506125a1565b6000815111156124a657600b8160405160200180838054600181600116156101000203166002900480156124385780601f10612416576101008083540402835291820191612438565b820191906000526020600020905b815481529060010190602001808311612424575b505082805190602001908083835b602083106124695780518252602082019150602081019050602083039250612446565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150506125a1565b600b6124b1846134e9565b604051602001808380546001816001161561010002031660029004801561250f5780601f106124ed57610100808354040283529182019161250f565b820191906000526020600020905b8154815290600101906020018083116124fb575b505082805190602001908083835b60208310612540578051825260208201915060208101905060208303925061251d565b6001836020036101000a038019825116818451168082178552505050505050905001807f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600501925050506040516020818303038152906040529150505b919050565b60006125c5600080848152602001908152602001600020600001613630565b9050919050565b6125e06000801b6125db612982565b611ebc565b612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b6003600e5410612690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061411d6022913960400191505060405180910390fd5b60005b600f548110156126ca576126b33360016126ad601061317e565b0161318c565b6126bd6010613380565b8080600101915050612693565b506001600e5401600e81905550565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6127236000808481526020019081526020016000206002015461271e612982565b611ebc565b612778576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613f3d6030913960400191505060405180910390fd5b6127828282612e73565b5050565b61279a6000801b612795612982565b611ebc565b6127ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ebe602f913960400191505060405180910390fd5b80600d8190555050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6060612827611c5e565b6040516020018082805190602001908083835b6020831061285d578051825260208201915060208101905060208303925061283a565b6001836020036101000a038019825116818451168082178552505050505050905001807f636f6e74726163742d6d657461646174612e6a736f6e00000000000000000000815250601601915050604051602081830303815290604052905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061297a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613645565b905092915050565b600033905090565b80600b90805190602001906129a0929190613d5c565b5050565b60006129ba8260046136b590919063ffffffff16565b9050919050565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a34836119a5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a88826000016136cf565b9050919050565b6000612a9a826129a4565b612aef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613f11602c913960400191505060405180910390fd5b6000612afa836119a5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6957508373ffffffffffffffffffffffffffffffffffffffff16612b5184611229565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b7a5750612b7981856128be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ba3826119a5565b73ffffffffffffffffffffffffffffffffffffffff1614612c0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806140746029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613eed6024913960400191505060405180910390fd5b612ca08383836136e0565b612cab6000826129c1565b612cfc81600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206136f090919063ffffffff16565b50612d4e81600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061370a90919063ffffffff16565b50612d65818360046137249092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612ded8160008085815260200190815260200160002060000161295290919063ffffffff16565b15612e5557612dfa612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e688360000183613759565b60001c905092915050565b612e9a816000808581526020019081526020016000206000016137dc90919063ffffffff16565b15612f0257612ea7612982565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600c60009054906101000a900460ff16612f88576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612fcc612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000613004826119a5565b9050613012816000846136e0565b61301d6000836129c1565b6000600a60008481526020019081526020016000208054600181600116156101000203166002900490501461306c57600a6000838152602001908152602001600020600061306b9190613ddc565b5b6130bd82600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206136f090919063ffffffff16565b506130d282600461380c90919063ffffffff16565b5081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806000806131468660000186613826565b915091508160001c8160001c9350935050509250929050565b6000613172846000018460001b846138bf565b60001c90509392505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561322f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b613238816129a4565b156132ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6132b7600083836136e0565b61330881600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061370a90919063ffffffff16565b5061331f818360046137249092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b60006133a4826000016139b5565b9050919050565b600c60009054906101000a900460ff161561342e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613472612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60006134ae8360000183613759565b60001c905092915050565b60006134e1836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6139c6565b905092915050565b60606000821415613531576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061362b565b600082905060005b6000821461355b578080600101915050600a828161355357fe5b049150613539565b60608167ffffffffffffffff8111801561357457600080fd5b506040519080825280601f01601f1916602001820160405280156135a75781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461362357600a84816135c857fe5b0660300160f81b828280600190039350815181106135e257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161361b57fe5b0493506135b6565b819450505050505b919050565b600061363e826000016139b5565b9050919050565b600061365183836139c6565b6136aa5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506136af565b600090505b92915050565b60006136c7836000018360001b6139e9565b905092915050565b600081600001805490509050919050565b6136eb838383613a0c565b505050565b6000613702836000018360001b613a7a565b905092915050565b600061371c836000018360001b613645565b905092915050565b6000613750846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b62565b90509392505050565b6000818360000180549050116137ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e426022913960400191505060405180910390fd5b8260000182815481106137c957fe5b9060005260206000200154905092915050565b6000613804836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613a7a565b905092915050565b600061381e836000018360001b613c3e565b905092915050565b60008082846000018054905011613888576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613ff86022913960400191505060405180910390fd5b600084600001848154811061389957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613986576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561394b578082015181840152602081019050613930565b50505050905090810190601f1680156139785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061399957fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b613a17838383613d57565b613a1f611908565b15613a75576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613e64602b913960400191505060405180910390fd5b505050565b60008083600101600084815260200190815260200160002054905060008114613b565760006001820390506000600186600001805490500390506000866000018281548110613ac557fe5b9060005260206000200154905080876000018481548110613ae257fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613b1a57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613b5c565b60009150505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0957846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c37565b82856000016001830381548110613c1c57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60008083600101600084815260200190815260200160002054905060008114613d4b5760006001820390506000600186600001805490500390506000866000018281548110613c8957fe5b9060005260206000209060020201905080876000018481548110613ca957fe5b9060005260206000209060020201600082015481600001556001820154816001015590505060018301876001016000836000015481526020019081526020016000208190555086600001805480613cfc57fe5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055866001016000878152602001908152602001600020600090556001945050505050613d51565b60009150505b92915050565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d9d57805160ff1916838001178555613dcb565b82800160010185558215613dcb579182015b82811115613dca578251825591602001919060010190613daf565b5b509050613dd89190613e24565b5090565b50805460018160011615610100020316600290046000825580601f10613e025750613e21565b601f016020900490600052602060002090810190613e209190613e24565b5b50565b5b80821115613e3d576000816000905550600101613e25565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744e6f6e46756e6769626c65546f6b656e3a206d7573742068617665206d696e74657220726f6c6520746f206d696e744552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734e6f6e46756e6769626c65546f6b656e3a206d75737420686176652061646d696e20726f6c6520746f206d696e744552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4e6f6e46756e6769626c65546f6b656e3a206d75737420686176652070617573657220726f6c6520746f2070617573654552433732313a20617070726f76616c20746f2063757272656e74206f776e6572416c6c207472656173757279204e4654732068617665206265656e206d696e7465644552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644e6f6e46756e6769626c65546f6b656e3a206d75737420686176652070617573657220726f6c6520746f20756e70617573654e6f6e46756e6769626c65546f6b656e3a206d75737420686176652061646d696e20726f6c654552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122095a08dba97783aa328dfb5f22527211a5db5384915a30134db162d642411e3df64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d4166726963616e6f73204e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004414e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6166726963616e6f732e696f2f6d657461646174612f0000
-----Decoded View---------------
Arg [0] : name (string): Africanos NFT
Arg [1] : symbol (string): ANFT
Arg [2] : baseURI (string): https://africanos.io/metadata/
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 4166726963616e6f73204e465400000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 414e465400000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [8] : 68747470733a2f2f6166726963616e6f732e696f2f6d657461646174612f0000
Deployed Bytecode Sourcemap
72022:5292:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40204:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;73892:198;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54754:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57450:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56994:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;74332:195;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56488:203;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50918:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;74535:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58324:558;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21266:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21642:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56258:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22851:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;76945:171;;;:::i;:::-;;58953:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68110:245;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72408:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72486:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56768:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72322:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;69387:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;74747:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54518:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;75718:628;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56085:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54241:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;76561:165;;;:::i;:::-;;72295:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;20939:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19900:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;54915:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72448:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;74965:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72368:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18645:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57735:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59175:373;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55082:764;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20213:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;73446:438;;;:::i;:::-;;72157:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22114:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;74098:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72226:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;75180:146;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58101:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40204:142;40281:4;40305:20;:33;40326:11;40305:33;;;;;;;;;;;;;;;;;;;;;;;;;;;40298:40;;40204:142;;;:::o;73892:198::-;73965:41;18690:4;73973:18;;73993:12;:10;:12::i;:::-;73965:7;:41::i;:::-;73957:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74060:20;74072:7;74060:11;:20::i;:::-;73892:198;:::o;54754:92::-;54800:13;54833:5;54826:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54754:92;:::o;57450:213::-;57518:7;57546:16;57554:7;57546;:16::i;:::-;57538:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57631:15;:24;57647:7;57631:24;;;;;;;;;;;;;;;;;;;;;57624:31;;57450:213;;;:::o;56994:390::-;57075:13;57091:16;57099:7;57091;:16::i;:::-;57075:32;;57132:5;57126:11;;:2;:11;;;;57118:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57212:5;57196:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;57221:37;57238:5;57245:12;:10;:12::i;:::-;57221:16;:37::i;:::-;57196:62;57188:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57355:21;57364:2;57368:7;57355:8;:21::i;:::-;56994:390;;;:::o;74332:195::-;74400:41;18690:4;74408:18;;74428:12;:10;:12::i;:::-;74400:7;:41::i;:::-;74392:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74511:6;74503:5;;:14;;;;;;;;;;;;;;;;;;74332:195;:::o;56488:203::-;56541:7;56662:21;:12;:19;:21::i;:::-;56655:28;;56488:203;:::o;50918:43::-;;;;;;;;;;;;;;;;;;;;;;:::o;74535:204::-;74604:41;18690:4;74612:18;;74632:12;:10;:12::i;:::-;74604:7;:41::i;:::-;74596:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74724:5;74707:14;;:22;;;;;;;;;;;;;;;;;;74535:204;:::o;58324:558::-;58485:41;58504:12;:10;:12::i;:::-;58518:7;58485:18;:41::i;:::-;58477:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58593:17;58613:13;:11;:13::i;:::-;58593:33;;58641:9;58637:87;58660:9;58656:1;:13;58637:87;;;58690:22;58700:4;58706:2;58710:1;58690:9;:22::i;:::-;58671:3;;;;;;;58637:87;;;;58324:558;;;;:::o;21266:114::-;21323:7;21350:6;:12;21357:4;21350:12;;;;;;;;;;;:22;;;21343:29;;21266:114;;;:::o;21642:227::-;21726:45;21734:6;:12;21741:4;21734:12;;;;;;;;;;;:22;;;21758:12;:10;:12::i;:::-;21726:7;:45::i;:::-;21718:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21836:25;21847:4;21853:7;21836:10;:25::i;:::-;21642:227;;:::o;56258:154::-;56347:7;56374:30;56398:5;56374:13;:20;56388:5;56374:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;56367:37;;56258:154;;;;:::o;22851:209::-;22949:12;:10;:12::i;:::-;22938:23;;:7;:23;;;22930:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23026:26;23038:4;23044:7;23026:11;:26::i;:::-;22851:209;;:::o;76945:171::-;76998:34;72264:24;77019:12;:10;:12::i;:::-;76998:7;:34::i;:::-;76990:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77098:10;:8;:10::i;:::-;76945:171::o;58953:151::-;59057:39;59074:4;59080:2;59084:7;59057:39;;;;;;;;;;;;:16;:39::i;:::-;58953:151;;;:::o;68110:245::-;68228:41;68247:12;:10;:12::i;:::-;68261:7;68228:18;:41::i;:::-;68220:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68333:14;68339:7;68333:5;:14::i;:::-;68110:245;:::o;72408:33::-;;;;:::o;72486:30::-;;;;:::o;56768:164::-;56835:7;56856:15;56877:22;56893:5;56877:12;:15;;:22;;;;:::i;:::-;56855:44;;;56917:7;56910:14;;;56768:164;;;:::o;72322:39::-;;;;;;;;;;;;;:::o;69387:78::-;69426:4;69450:7;;;;;;;;;;;69443:14;;69387:78;:::o;74747:210::-;74823:41;18690:4;74831:18;;74851:12;:10;:12::i;:::-;74823:7;:41::i;:::-;74815:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74940:7;74918:19;;:29;;;;;;;;;;;;;;;;;;74747:210;:::o;54518:169::-;54582:7;54609:70;54626:7;54609:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;54602:77;;54518:169;;;:::o;75718:628::-;75778:34;72195:24;75799:12;:10;:12::i;:::-;75778:7;:34::i;:::-;75770:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75883:10;:14;75894:2;75883:14;;;;;;;;;;;;;;;;;;;;;;;;;:39;;;;75903:19;;;;;;;;;;;75901:21;75883:39;75875:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75978:14;;;;;;;;;;;75970:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76181:40;76187:2;76219:1;76191:25;:15;:23;:25::i;:::-;:29;76181:5;:40::i;:::-;76232:27;:15;:25;:27::i;:::-;76295:12;;76278:13;76288:2;76278:9;:13::i;:::-;:29;;76270:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75718:628;:::o;56085:89::-;56125:13;56158:8;56151:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56085:89;:::o;54241:215::-;54305:7;54350:1;54333:19;;:5;:19;;;;54325:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54419:29;:13;:20;54433:5;54419:20;;;;;;;;;;;;;;;:27;:29::i;:::-;54412:36;;54241:215;;;:::o;76561:165::-;76612:34;72264:24;76633:12;:10;:12::i;:::-;76612:7;:34::i;:::-;76604:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76710:8;:6;:8::i;:::-;76561:165::o;72295:20::-;;;;;;;;;;;;;:::o;20939:138::-;21012:7;21039:30;21063:5;21039:6;:12;21046:4;21039:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;21032:37;;20939:138;;;;:::o;19900:139::-;19969:4;19993:38;20023:7;19993:6;:12;20000:4;19993:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;19986:45;;19900:139;;;;:::o;54915:96::-;54963:13;54996:7;54989:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54915:96;:::o;72448:31::-;;;;:::o;74965:203::-;75036:41;18690:4;75044:18;;75064:12;:10;:12::i;:::-;75036:7;:41::i;:::-;75028:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75154:4;75131:10;:20;75142:8;75131:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;74965:203;:::o;72368:33::-;;;;;;;;;;;;;:::o;18645:49::-;18690:4;18645:49;;;:::o;57735:295::-;57850:12;:10;:12::i;:::-;57838:24;;:8;:24;;;;57830:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57950:8;57905:18;:32;57924:12;:10;:12::i;:::-;57905:32;;;;;;;;;;;;;;;:42;57938:8;57905:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;58003:8;57974:48;;57989:12;:10;:12::i;:::-;57974:48;;;58013:8;57974:48;;;;;;;;;;;;;;;;;;;;57735:295;;:::o;59175:373::-;59307:41;59326:12;:10;:12::i;:::-;59340:7;59307:18;:41::i;:::-;59299:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59175:373;;;;:::o;55082:764::-;55147:13;55181:16;55189:7;55181;:16::i;:::-;55173:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55262:23;55288:10;:19;55299:7;55288:19;;;;;;;;;;;55262:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55409:1;55389:8;55383:22;;;;;;;;;;;;;;;;:27;55379:76;;;55434:9;55427:16;;;;;55379:76;55585:1;55565:9;55559:23;:27;55555:112;;;55634:8;55644:9;55617:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55603:52;;;;;55555:112;55799:8;55809:18;:7;:16;:18::i;:::-;55782:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55768:70;;;55082:764;;;;:::o;20213:127::-;20276:7;20303:29;:6;:12;20310:4;20303:12;;;;;;;;;;;:20;;:27;:29::i;:::-;20296:36;;20213:127;;;:::o;73446:438::-;73501:41;18690:4;73509:18;;73529:12;:10;:12::i;:::-;73501:7;:41::i;:::-;73493:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73628:1;73613:12;;:16;73605:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73683:6;73679:154;73699:10;;73695:1;:14;73679:154;;;73730:47;73736:10;73775:1;73748:25;:15;:23;:25::i;:::-;:28;73730:5;:47::i;:::-;73794:27;:15;:25;:27::i;:::-;73711:3;;;;;;;73679:154;;;;73873:1;73858:12;;:16;73843:12;:31;;;;73446:438::o;72157:62::-;72195:24;72157:62;:::o;22114:230::-;22199:45;22207:6;:12;22214:4;22207:12;;;;;;;;;;;:22;;;22231:12;:10;:12::i;:::-;22199:7;:45::i;:::-;22191:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22310:26;22322:4;22328:7;22310:11;:26::i;:::-;22114:230;;:::o;74098:224::-;74180:41;18690:4;74188:18;;74208:12;:10;:12::i;:::-;74180:7;:41::i;:::-;74172:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74299:13;74284:12;:28;;;;74098:224;:::o;72226:62::-;72264:24;72226:62;:::o;75180:146::-;75224:13;75281:9;:7;:9::i;:::-;75264:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75250:68;;75180:146;:::o;58101:156::-;58190:4;58214:18;:25;58233:5;58214:25;;;;;;;;;;;;;;;:35;58240:8;58214:35;;;;;;;;;;;;;;;;;;;;;;;;;58207:42;;58101:156;;;;:::o;5054:143::-;5124:4;5148:41;5153:3;:10;;5181:5;5173:14;;5165:23;;5148:4;:41::i;:::-;5141:48;;5054:143;;;;:::o;16637:106::-;16690:15;16725:10;16718:17;;16637:106;:::o;65565:100::-;65649:8;65638;:19;;;;;;;;;;;;:::i;:::-;;65565:100;:::o;61015:119::-;61072:4;61096:30;61118:7;61096:12;:21;;:30;;;;:::i;:::-;61089:37;;61015:119;;;:::o;66842:158::-;66935:2;66908:15;:24;66924:7;66908:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;66984:7;66980:2;66953:39;;66962:16;66970:7;66962;:16::i;:::-;66953:39;;;;;;;;;;;;66842:158;;:::o;48169:123::-;48238:7;48265:19;48273:3;:10;;48265:7;:19::i;:::-;48258:26;;48169:123;;;:::o;61301:333::-;61386:4;61411:16;61419:7;61411;:16::i;:::-;61403:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61487:13;61503:16;61511:7;61503;:16::i;:::-;61487:32;;61549:5;61538:16;;:7;:16;;;:51;;;;61582:7;61558:31;;:20;61570:7;61558:11;:20::i;:::-;:31;;;61538:51;:87;;;;61593:32;61610:5;61617:7;61593:16;:32::i;:::-;61538:87;61530:96;;;61301:333;;;;:::o;64390:574::-;64508:4;64488:24;;:16;64496:7;64488;:16::i;:::-;:24;;;64480:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64591:1;64577:16;;:2;:16;;;;64569:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64647:39;64668:4;64674:2;64678:7;64647:20;:39::i;:::-;64751:29;64768:1;64772:7;64751:8;:29::i;:::-;64793:35;64820:7;64793:13;:19;64807:4;64793:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;64839:30;64861:7;64839:13;:17;64853:2;64839:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;64882:29;64899:7;64908:2;64882:12;:16;;:29;;;;;:::i;:::-;;64948:7;64944:2;64929:27;;64938:4;64929:27;;;;;;;;;;;;64390:574;;;:::o;24094:188::-;24168:33;24193:7;24168:6;:12;24175:4;24168:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;24164:111;;;24250:12;:10;:12::i;:::-;24223:40;;24241:7;24223:40;;24235:4;24223:40;;;;;;;;;;24164:111;24094:188;;:::o;7932:137::-;8003:7;8038:22;8042:3;:10;;8054:5;8038:3;:22::i;:::-;8030:31;;8023:38;;7932:137;;;;:::o;24290:192::-;24365:36;24393:7;24365:6;:12;24372:4;24365:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;24361:114;;;24450:12;:10;:12::i;:::-;24423:40;;24441:7;24423:40;;24435:4;24423:40;;;;;;;;;;24361:114;24290:192;;:::o;70436:120::-;69981:7;;;;;;;;;;;69973:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70505:5:::1;70495:7;;:15;;;;;;;;;;;;;;;;;;70526:22;70535:12;:10;:12::i;:::-;70526:22;;;;;;;;;;;;;;;;;;;;70436:120::o:0;63533:520::-;63593:13;63609:16;63617:7;63609;:16::i;:::-;63593:32;;63638:48;63659:5;63674:1;63678:7;63638:20;:48::i;:::-;63727:29;63744:1;63748:7;63727:8;:29::i;:::-;63846:1;63815:10;:19;63826:7;63815:19;;;;;;;;;;;63809:33;;;;;;;;;;;;;;;;:38;63805:97;;63871:10;:19;63882:7;63871:19;;;;;;;;;;;;63864:26;;;;:::i;:::-;63805:97;63914:36;63942:7;63914:13;:20;63928:5;63914:20;;;;;;;;;;;;;;;:27;;:36;;;;:::i;:::-;;63963:28;63983:7;63963:12;:19;;:28;;;;:::i;:::-;;64037:7;64033:1;64009:36;;64018:5;64009:36;;;;;;;;;;;;63533:520;;:::o;48631:227::-;48711:7;48720;48741:11;48754:13;48771:22;48775:3;:10;;48787:5;48771:3;:22::i;:::-;48740:53;;;;48820:3;48812:12;;48842:5;48834:14;;48804:46;;;;;;48631:227;;;;;:::o;49293:204::-;49400:7;49443:44;49448:3;:10;;49468:3;49460:12;;49474;49443:4;:44::i;:::-;49435:53;;49420:69;;49293:204;;;;;:::o;30899:114::-;30964:7;30991;:14;;;30984:21;;30899:114;;;:::o;62900:404::-;62994:1;62980:16;;:2;:16;;;;62972:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63053:16;63061:7;63053;:16::i;:::-;63052:17;63044:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63115:45;63144:1;63148:2;63152:7;63115:20;:45::i;:::-;63173:30;63195:7;63173:13;:17;63187:2;63173:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;63216:29;63233:7;63242:2;63216:12;:16;;:29;;;;;:::i;:::-;;63288:7;63284:2;63263:33;;63280:1;63263:33;;;;;;;;;;;;62900:404;;:::o;31021:181::-;31193:1;31175:7;:14;;;:19;;;;;;;;;;;31021:181;:::o;7474:114::-;7534:7;7561:19;7569:3;:10;;7561:7;:19::i;:::-;7554:26;;7474:114;;;:::o;70177:118::-;69705:7;;;;;;;;;;;69704:8;69696:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70247:4:::1;70237:7;;:14;;;;;;;;;;;;;;;;;;70267:20;70274:12;:10;:12::i;:::-;70267:20;;;;;;;;;;;;;;;;;;;;70177:118::o:0;6313:149::-;6387:7;6430:22;6434:3;:10;;6446:5;6430:3;:22::i;:::-;6422:31;;6407:47;;6313:149;;;;:::o;5608:158::-;5688:4;5712:46;5722:3;:10;;5750:5;5742:14;;5734:23;;5712:9;:46::i;:::-;5705:53;;5608:158;;;;:::o;49695:744::-;49751:13;49981:1;49972:5;:10;49968:53;;;49999:10;;;;;;;;;;;;;;;;;;;;;49968:53;50031:12;50046:5;50031:20;;50062:14;50087:78;50102:1;50094:4;:9;50087:78;;50120:8;;;;;;;50151:2;50143:10;;;;;;;;;50087:78;;;50175:19;50207:6;50197:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50175:39;;50225:13;50250:1;50241:6;:10;50225:26;;50269:5;50262:12;;50285:115;50300:1;50292:4;:9;50285:115;;50359:2;50352:4;:9;;;;;;50347:2;:14;50336:27;;50318:6;50325:7;;;;;;;50318:15;;;;;;;;;;;:45;;;;;;;;;;;50386:2;50378:10;;;;;;;;;50285:115;;;50424:6;50410:21;;;;;;49695:744;;;;:::o;5852:117::-;5915:7;5942:19;5950:3;:10;;5942:7;:19::i;:::-;5935:26;;5852:117;;;:::o;1708:414::-;1771:4;1793:21;1803:3;1808:5;1793:9;:21::i;:::-;1788:327;;1831:3;:11;;1848:5;1831:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2014:3;:11;;:18;;;;1992:3;:12;;:19;2005:5;1992:19;;;;;;;;;;;:40;;;;2054:4;2047:11;;;;1788:327;2098:5;2091:12;;1708:414;;;;;:::o;47930:151::-;48014:4;48038:35;48048:3;:10;;48068:3;48060:12;;48038:9;:35::i;:::-;48031:42;;47930:151;;;;:::o;45552:110::-;45608:7;45635:3;:12;;:19;;;;45628:26;;45552:110;;;:::o;77124:187::-;77258:45;77285:4;77291:2;77295:7;77258:26;:45::i;:::-;77124:187;;;:::o;7019:137::-;7089:4;7113:35;7121:3;:10;;7141:5;7133:14;;7113:7;:35::i;:::-;7106:42;;7019:137;;;;:::o;6712:131::-;6779:4;6803:32;6808:3;:10;;6828:5;6820:14;;6803:4;:32::i;:::-;6796:39;;6712:131;;;;:::o;47362:176::-;47451:4;47475:55;47480:3;:10;;47500:3;47492:12;;47522:5;47514:14;;47506:23;;47475:4;:55::i;:::-;47468:62;;47362:176;;;;;:::o;4596:204::-;4663:7;4712:5;4691:3;:11;;:18;;;;:26;4683:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4774:3;:11;;4786:5;4774:18;;;;;;;;;;;;;;;;4767:25;;4596:204;;;;:::o;5373:149::-;5446:4;5470:44;5478:3;:10;;5506:5;5498:14;;5490:23;;5470:7;:44::i;:::-;5463:51;;5373:149;;;;:::o;47704:142::-;47781:4;47805:33;47813:3;:10;;47833:3;47825:12;;47805:7;:33::i;:::-;47798:40;;47704:142;;;;:::o;46017:279::-;46084:7;46093;46143:5;46121:3;:12;;:19;;;;:27;46113:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46200:22;46225:3;:12;;46238:5;46225:19;;;;;;;;;;;;;;;;;;46200:44;;46263:5;:10;;;46275:5;:12;;;46255:33;;;;;46017:279;;;;;:::o;46719:319::-;46813:7;46833:16;46852:3;:12;;:17;46865:3;46852:17;;;;;;;;;;;;46833:36;;46900:1;46888:8;:13;;46903:12;46880:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46970:3;:12;;46994:1;46983:8;:12;46970:26;;;;;;;;;;;;;;;;;;:33;;;46963:40;;;46719:319;;;;;:::o;4143:109::-;4199:7;4226:3;:11;;:18;;;;4219:25;;4143:109;;;:::o;3928:129::-;4001:4;4048:1;4025:3;:12;;:19;4038:5;4025:19;;;;;;;;;;;;:24;;4018:31;;3928:129;;;;:::o;45332:125::-;45403:4;45448:1;45427:3;:12;;:17;45440:3;45427:17;;;;;;;;;;;;:22;;45420:29;;45332:125;;;;:::o;71102:241::-;71212:45;71239:4;71245:2;71249:7;71212:26;:45::i;:::-;71279:8;:6;:8::i;:::-;71278:9;71270:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71102:241;;;:::o;2298:1544::-;2364:4;2482:18;2503:3;:12;;:19;2516:5;2503:19;;;;;;;;;;;;2482:40;;2553:1;2539:10;:15;2535:1300;;2901:21;2938:1;2925:10;:14;2901:38;;2954:17;2995:1;2974:3;:11;;:18;;;;:22;2954:42;;3241:17;3261:3;:11;;3273:9;3261:22;;;;;;;;;;;;;;;;3241:42;;3407:9;3378:3;:11;;3390:13;3378:26;;;;;;;;;;;;;;;:38;;;;3526:1;3510:13;:17;3484:3;:12;;:23;3497:9;3484:23;;;;;;;;;;;:43;;;;3636:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;3731:3;:12;;:19;3744:5;3731:19;;;;;;;;;;;3724:26;;;3774:4;3767:11;;;;;;;;2535:1300;3818:5;3811:12;;;2298:1544;;;;;:::o;42832:692::-;42908:4;43024:16;43043:3;:12;;:17;43056:3;43043:17;;;;;;;;;;;;43024:36;;43089:1;43077:8;:13;43073:444;;;43144:3;:12;;43162:38;;;;;;;;43179:3;43162:38;;;;43192:5;43162:38;;;43144:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43359:3;:12;;:19;;;;43339:3;:12;;:17;43352:3;43339:17;;;;;;;;;;;:39;;;;43400:4;43393:11;;;;;43073:444;43473:5;43437:3;:12;;43461:1;43450:8;:12;43437:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;43500:5;43493:12;;;42832:692;;;;;;:::o;43699:1549::-;43763:4;43879:16;43898:3;:12;;:17;43911:3;43898:17;;;;;;;;;;;;43879:36;;43944:1;43932:8;:13;43928:1313;;44293:21;44328:1;44317:8;:12;44293:36;;44344:17;44386:1;44364:3;:12;;:19;;;;:23;44344:43;;44632:26;44661:3;:12;;44674:9;44661:23;;;;;;;;;;;;;;;;;;44632:52;;44809:9;44779:3;:12;;44792:13;44779:27;;;;;;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;;44933:1;44917:13;:17;44886:3;:12;;:28;44899:9;:14;;;44886:28;;;;;;;;;;;:48;;;;45043:3;:12;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45139:3;:12;;:17;45152:3;45139:17;;;;;;;;;;;45132:24;;;45180:4;45173:11;;;;;;;;43928:1313;45224:5;45217:12;;;43699:1549;;;;;:::o;67613:93::-;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://95a08dba97783aa328dfb5f22527211a5db5384915a30134db162d642411e3df
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.