Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
500 ALIN
Holders
257
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ALINLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AvidlinesCore
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract AvidlinesCore is ERC721Enumerable, AccessControl, Ownable { using SafeMath for uint256; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string public scriptArweave; string public scriptIPFS; string public p5jsArweave; string public p5jsIPFS; mapping(uint256 => uint256) public baseAutoglyph; uint256 public totalMints = 0; string internal _currentBaseURI = ""; uint256 internal _lastTokenId = 0; constructor(address adminAddress, string memory baseURI) ERC721("Avid Lines", "ALIN") { _currentBaseURI = baseURI; _setupRole(DEFAULT_ADMIN_ROLE, adminAddress); transferOwnership(adminAddress); } function _baseURI() internal view virtual override returns (string memory) { return _currentBaseURI; } function setBaseURI(string memory baseURI) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); _currentBaseURI = baseURI; } function setScriptIPFS(string memory _scriptIPFS) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); scriptIPFS = _scriptIPFS; } function setScriptArweave(string memory _scriptArweave) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); scriptArweave = _scriptArweave; } function setP5jsIPFS(string memory _p5jsIPFS) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); p5jsIPFS = _p5jsIPFS; } function setP5jsArweave(string memory _p5jsArweave) public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); p5jsArweave = _p5jsArweave; } function _generateRandomHash() internal view returns (bytes32) { return keccak256(abi.encode(blockhash(block.number-1), block.coinbase, _lastTokenId)); } function _generateNewTokenId() internal view returns (uint256) { bytes32 hashRandom = _generateRandomHash(); uint8 i = 28; uint256 value = uint8(hashRandom[i]); for (i = 29; i < 30; i++) { value = value << 8; value = value + uint8(hashRandom[i]); } value = value << 16; value = value.add(totalMints); return uint256(value); } function mintGenesis(address _receiver, uint256 _baseGlyph) public { require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter"); require(totalMints < 500, "Total mint limit is 500"); uint256 token = _generateNewTokenId(); totalMints = totalMints + 1; baseAutoglyph[token] = _baseGlyph; _lastTokenId = token; _safeMint(_receiver, token); } function burn(uint256 tokenId) public { require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter"); _burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, AccessControl) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function withdrawEther() public { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Caller is not admin"); uint balance = address(this).balance; address payable to; to.transfer(balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * 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, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) 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 Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @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 override 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 override onlyRole(getRoleAdmin(role)) { _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 override onlyRole(getRoleAdmin(role)) { _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 override { 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, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.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 virtual 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 virtual 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"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative 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 virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `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); _balances[to] += 1; _owners[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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[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(ERC721.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); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @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()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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` and `to` are never both zero. * * 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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; 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"); (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"); (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"); (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.4._ */ 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.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal 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); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"adminAddress","type":"address"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"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":[{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseAutoglyph","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"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":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_baseGlyph","type":"uint256"}],"name":"mintGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p5jsArweave","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"p5jsIPFS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"scriptArweave","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scriptIPFS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5jsArweave","type":"string"}],"name":"setP5jsArweave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5jsIPFS","type":"string"}],"name":"setP5jsIPFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_scriptArweave","type":"string"}],"name":"setScriptArweave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_scriptIPFS","type":"string"}],"name":"setScriptIPFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000601155604051806020016040528060008152506012908051906020019062000030929190620004f1565b5060006013553480156200004357600080fd5b50604051620055af380380620055af83398181016040528101906200006991906200062a565b6040518060400160405280600a81526020017f41766964204c696e6573000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f414c494e000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ed929190620004f1565b50806001908051906020019062000106929190620004f1565b505050620001296200011d6200017060201b60201c565b6200017860201b60201c565b806012908051906020019062000141929190620004f1565b50620001576000801b836200023e60201b60201c565b62000168826200025460201b60201c565b505062000902565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025082826200036a60201b60201c565b5050565b620002646200017060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200028a6200045c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002da9062000750565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000356576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034d906200072e565b60405180910390fd5b62000367816200017860201b60201c565b50565b6200037c82826200048660201b60201c565b62000458576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003fd6200017060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620004ff9062000854565b90600052602060002090601f0160209004810192826200052357600085556200056f565b82601f106200053e57805160ff19168380011785556200056f565b828001600101855582156200056f579182015b828111156200056e57825182559160200191906001019062000551565b5b5090506200057e919062000582565b5090565b5b808211156200059d57600081600090555060010162000583565b5090565b6000620005b8620005b284620007a6565b62000772565b905082815260208101848484011115620005d157600080fd5b620005de8482856200081e565b509392505050565b600081519050620005f781620008e8565b92915050565b600082601f8301126200060f57600080fd5b815162000621848260208601620005a1565b91505092915050565b600080604083850312156200063e57600080fd5b60006200064e85828601620005e6565b925050602083015167ffffffffffffffff8111156200066c57600080fd5b6200067a85828601620005fd565b9150509250929050565b600062000693602683620007d9565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000620006fb602083620007d9565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620007498162000684565b9050919050565b600060208201905081810360008301526200076b81620006ec565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200079c576200079b620008b9565b5b8060405250919050565b600067ffffffffffffffff821115620007c457620007c3620008b9565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b6000620007f782620007fe565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200083e57808201518184015260208101905062000821565b838111156200084e576000848401525b50505050565b600060028204905060018216806200086d57607f821691505b602082108114156200088457620008836200088a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620008f381620007ea565b8114620008ff57600080fd5b50565b614c9d80620009126000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063b4f311da116100b8578063deb2c7dd1161007c578063deb2c7dd146106db578063e812569b146106f7578063e985e9c514610713578063f2fde38b14610743578063f5414bc61461075f57610248565b8063b4f311da14610625578063b88d4fde14610655578063c87b56dd14610671578063d5391393146106a1578063d547741f146106bf57610248565b80638da5cb5b116100ff5780638da5cb5b1461057f57806391d148541461059d57806395d89b41146105cd578063a217fddf146105eb578063a22cb4651461060957610248565b806370a0823114610501578063715018a61461053157806371c235dd1461053b5780637362377b1461055957806388ee63ad1461056357610248565b80632f2ff15d116101c957806342966c681161018d57806342966c681461044b5780634f6ccce71461046757806355f804b3146104975780636352211e146104b35780636f581a36146104e357610248565b80632f2ff15d146103a95780632f745c59146103c55780632f915ef2146103f557806336568abe1461041357806342842e0e1461042f57610248565b806311eb3d891161021057806311eb3d891461030357806318160ddd146103215780631f21bfbf1461033f57806323b872dd1461035d578063248a9ca31461037957610248565b806301ffc9a71461024d5780630634adbc1461027d57806306fdde0314610299578063081812fc146102b7578063095ea7b3146102e7575b600080fd5b610267600480360381019061026291906138ec565b61077b565b60405161027491906143d5565b60405180910390f35b6102976004803603810190610292919061393e565b6107f5565b005b6102a161085b565b6040516102ae9190614442565b60405180910390f35b6102d160048036038101906102cc919061397f565b6108ed565b6040516102de919061436e565b60405180910390f35b61030160048036038101906102fc919061384b565b610972565b005b61030b610a8a565b6040516103189190614442565b60405180910390f35b610329610b18565b6040516103369190614744565b60405180910390f35b610347610b25565b6040516103549190614744565b60405180910390f35b61037760048036038101906103729190613745565b610b2b565b005b610393600480360381019061038e9190613887565b610b8b565b6040516103a091906143f0565b60405180910390f35b6103c360048036038101906103be91906138b0565b610bab565b005b6103df60048036038101906103da919061384b565b610bd4565b6040516103ec9190614744565b60405180910390f35b6103fd610c79565b60405161040a9190614442565b60405180910390f35b61042d600480360381019061042891906138b0565b610d07565b005b61044960048036038101906104449190613745565b610d8a565b005b6104656004803603810190610460919061397f565b610daa565b005b610481600480360381019061047c919061397f565b610e1f565b60405161048e9190614744565b60405180910390f35b6104b160048036038101906104ac919061393e565b610eb6565b005b6104cd60048036038101906104c8919061397f565b610f1c565b6040516104da919061436e565b60405180910390f35b6104eb610fce565b6040516104f89190614442565b60405180910390f35b61051b600480360381019061051691906136e0565b61105c565b6040516105289190614744565b60405180910390f35b610539611114565b005b61054361119c565b6040516105509190614442565b60405180910390f35b61056161122a565b005b61057d6004803603810190610578919061393e565b6112c8565b005b61058761132e565b604051610594919061436e565b60405180910390f35b6105b760048036038101906105b291906138b0565b611358565b6040516105c491906143d5565b60405180910390f35b6105d56113c3565b6040516105e29190614442565b60405180910390f35b6105f3611455565b60405161060091906143f0565b60405180910390f35b610623600480360381019061061e919061380f565b61145c565b005b61063f600480360381019061063a919061397f565b6115dd565b60405161064c9190614744565b60405180910390f35b61066f600480360381019061066a9190613794565b6115f5565b005b61068b6004803603810190610686919061397f565b611657565b6040516106989190614442565b60405180910390f35b6106a96116fe565b6040516106b691906143f0565b60405180910390f35b6106d960048036038101906106d491906138b0565b611722565b005b6106f560048036038101906106f0919061393e565b61174b565b005b610711600480360381019061070c919061393e565b6117b1565b005b61072d60048036038101906107289190613709565b611817565b60405161073a91906143d5565b60405180910390f35b61075d600480360381019061075891906136e0565b6118ab565b005b6107796004803603810190610774919061384b565b6119a3565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ee57506107ed82611aa1565b5b9050919050565b6108026000801b33611358565b610841576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610838906146c4565b60405180910390fd5b80600f90805190602001906108579291906134ef565b5050565b60606000805461086a90614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461089690614a51565b80156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050505050905090565b60006108f882611b1b565b610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90614624565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097d82610f1c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e5906146a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a0d611b87565b73ffffffffffffffffffffffffffffffffffffffff161480610a3c5750610a3b81610a36611b87565b611817565b5b610a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7290614564565b60405180910390fd5b610a858383611b8f565b505050565b600d8054610a9790614a51565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac390614a51565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b505050505081565b6000600880549050905090565b60115481565b610b3c610b36611b87565b82611c48565b610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b72906146e4565b60405180910390fd5b610b86838383611d26565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610bb482610b8b565b610bc581610bc0611b87565b611f82565b610bcf838361201f565b505050565b6000610bdf8361105c565b8210610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1790614484565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e8054610c8690614a51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb290614a51565b8015610cff5780601f10610cd457610100808354040283529160200191610cff565b820191906000526020600020905b815481529060010190602001808311610ce257829003601f168201915b505050505081565b610d0f611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7390614724565b60405180910390fd5b610d868282612100565b5050565b610da5838383604051806020016040528060008152506115f5565b505050565b610dd47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611358565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614584565b60405180910390fd5b610e1c816121e2565b50565b6000610e29610b18565b8210610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190614704565b60405180910390fd5b60088281548110610ea4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ec36000801b33611358565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef9906146c4565b60405180910390fd5b8060129080519060200190610f189291906134ef565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906145c4565b60405180910390fd5b80915050919050565b600f8054610fdb90614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461100790614a51565b80156110545780601f1061102957610100808354040283529160200191611054565b820191906000526020600020905b81548152906001019060200180831161103757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906145a4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61111c611b87565b73ffffffffffffffffffffffffffffffffffffffff1661113a61132e565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614644565b60405180910390fd5b61119a60006122f3565b565b600c80546111a990614a51565b80601f01602080910402602001604051908101604052809291908181526020018280546111d590614a51565b80156112225780601f106111f757610100808354040283529160200191611222565b820191906000526020600020905b81548152906001019060200180831161120557829003601f168201915b505050505081565b6112376000801b33611358565b611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d906146c4565b60405180910390fd5b600047905060008073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156112c3573d6000803e3d6000fd5b505050565b6112d56000801b33611358565b611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906146c4565b60405180910390fd5b80600e908051906020019061132a9291906134ef565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546113d290614a51565b80601f01602080910402602001604051908101604052809291908181526020018280546113fe90614a51565b801561144b5780601f106114205761010080835404028352916020019161144b565b820191906000526020600020905b81548152906001019060200180831161142e57829003601f168201915b5050505050905090565b6000801b81565b611464611b87565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c990614524565b60405180910390fd5b80600560006114df611b87565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661158c611b87565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115d191906143d5565b60405180910390a35050565b60106020528060005260406000206000915090505481565b611606611600611b87565b83611c48565b611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906146e4565b60405180910390fd5b611651848484846123b9565b50505050565b606061166282611b1b565b6116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890614684565b60405180910390fd5b60006116ab612415565b905060008151116116cb57604051806020016040528060008152506116f6565b806116d5846124a7565b6040516020016116e6929190614310565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61172b82610b8b565b61173c81611737611b87565b611f82565b6117468383612100565b505050565b6117586000801b33611358565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e906146c4565b60405180910390fd5b80600d90805190602001906117ad9291906134ef565b5050565b6117be6000801b33611358565b6117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f4906146c4565b60405180910390fd5b80600c90805190602001906118139291906134ef565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118b3611b87565b73ffffffffffffffffffffffffffffffffffffffff166118d161132e565b73ffffffffffffffffffffffffffffffffffffffff1614611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e90614644565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e906144c4565b60405180910390fd5b6119a0816122f3565b50565b6119cd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611358565b611a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0390614584565b60405180910390fd5b6101f460115410611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4990614604565b60405180910390fd5b6000611a5c612654565b90506001601154611a6d9190614833565b60118190555081601060008381526020019081526020016000208190555080601381905550611a9c8382612756565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b145750611b1382612774565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c0283610f1c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c5382611b1b565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614544565b60405180910390fd5b6000611c9d83610f1c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d0c57508373ffffffffffffffffffffffffffffffffffffffff16611cf4846108ed565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d1d5750611d1c8185611817565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d4682610f1c565b73ffffffffffffffffffffffffffffffffffffffff1614611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390614664565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390614504565b60405180910390fd5b611e178383836127ee565b611e22600082611b8f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e729190614914565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec99190614833565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611f8c8282611358565b61201b57611fb18173ffffffffffffffffffffffffffffffffffffffff166014612902565b611fbf8360001c6020612902565b604051602001611fd0929190614334565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120129190614442565b60405180910390fd5b5050565b6120298282611358565b6120fc576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506120a1611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61210a8282611358565b156121de576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612183611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006121ed82610f1c565b90506121fb816000846127ee565b612206600083611b8f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122569190614914565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123c4848484611d26565b6123d084848484612bfc565b61240f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612406906144a4565b60405180910390fd5b50505050565b60606012805461242490614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461245090614a51565b801561249d5780601f106124725761010080835404028352916020019161249d565b820191906000526020600020905b81548152906001019060200180831161248057829003601f168201915b5050505050905090565b606060008214156124ef576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061264f565b600082905060005b6000821461252157808061250a90614a83565b915050600a8261251a9190614889565b91506124f7565b60008167ffffffffffffffff811115612563577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125955781602001600182028036833780820191505090505b5090505b60008514612648576001826125ae9190614914565b9150600a856125bd9190614af6565b60306125c99190614833565b60f81b818381518110612605577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126419190614889565b9450612599565b8093505050505b919050565b60008061265f612d93565b90506000601c90506000828260ff16602081106126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff16101561272f57600881901b9050828260ff1660208110612705577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff168161271a9190614833565b9050818061272790614acc565b9250506126b6565b601081901b905061274b60115482612dd490919063ffffffff16565b905080935050505090565b612770828260405180602001604052806000815250612dea565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e757506127e682612e45565b5b9050919050565b6127f9838383612f27565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561283c5761283781612f2c565b61287b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461287a576128798382612f75565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128be576128b9816130e2565b6128fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128fc576128fb8282613225565b5b5b505050565b60606000600283600261291591906148ba565b61291f9190614833565b67ffffffffffffffff81111561295e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129905781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ab891906148ba565b612ac29190614833565b90505b6001811115612bae577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612b67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612ba790614a27565b9050612ac5565b5060008414612bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be990614464565b60405180910390fd5b8091505092915050565b6000612c1d8473ffffffffffffffffffffffffffffffffffffffff166132a4565b15612d86578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c46611b87565b8786866040518563ffffffff1660e01b8152600401612c689493929190614389565b602060405180830381600087803b158015612c8257600080fd5b505af1925050508015612cb357506040513d601f19601f82011682018060405250810190612cb09190613915565b60015b612d36573d8060008114612ce3576040519150601f19603f3d011682016040523d82523d6000602084013e612ce8565b606091505b50600081511415612d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d25906144a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d8b565b600190505b949350505050565b6000600143612da29190614914565b4041601354604051602001612db99392919061440b565b60405160208183030381529060405280519060200120905090565b60008183612de29190614833565b905092915050565b612df483836132b7565b612e016000848484612bfc565b612e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e37906144a4565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f1057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f205750612f1f82613485565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f828461105c565b612f8c9190614914565b9050600060076000848152602001908152602001600020549050818114613071576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130f69190614914565b905060006009600084815260200190815260200160002054905060006008838154811061314c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613194577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132308361105c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331e906145e4565b60405180910390fd5b61333081611b1b565b15613370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613367906144e4565b60405180910390fd5b61337c600083836127ee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133cc9190614833565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134fb90614a51565b90600052602060002090601f01602090048101928261351d5760008555613564565b82601f1061353657805160ff1916838001178555613564565b82800160010185558215613564579182015b82811115613563578251825591602001919060010190613548565b5b5090506135719190613575565b5090565b5b8082111561358e576000816000905550600101613576565b5090565b60006135a56135a084614790565b61475f565b9050828152602081018484840111156135bd57600080fd5b6135c88482856149e5565b509392505050565b60006135e36135de846147c0565b61475f565b9050828152602081018484840111156135fb57600080fd5b6136068482856149e5565b509392505050565b60008135905061361d81614bf4565b92915050565b60008135905061363281614c0b565b92915050565b60008135905061364781614c22565b92915050565b60008135905061365c81614c39565b92915050565b60008151905061367181614c39565b92915050565b600082601f83011261368857600080fd5b8135613698848260208601613592565b91505092915050565b600082601f8301126136b257600080fd5b81356136c28482602086016135d0565b91505092915050565b6000813590506136da81614c50565b92915050565b6000602082840312156136f257600080fd5b60006137008482850161360e565b91505092915050565b6000806040838503121561371c57600080fd5b600061372a8582860161360e565b925050602061373b8582860161360e565b9150509250929050565b60008060006060848603121561375a57600080fd5b60006137688682870161360e565b93505060206137798682870161360e565b925050604061378a868287016136cb565b9150509250925092565b600080600080608085870312156137aa57600080fd5b60006137b88782880161360e565b94505060206137c98782880161360e565b93505060406137da878288016136cb565b925050606085013567ffffffffffffffff8111156137f757600080fd5b61380387828801613677565b91505092959194509250565b6000806040838503121561382257600080fd5b60006138308582860161360e565b925050602061384185828601613623565b9150509250929050565b6000806040838503121561385e57600080fd5b600061386c8582860161360e565b925050602061387d858286016136cb565b9150509250929050565b60006020828403121561389957600080fd5b60006138a784828501613638565b91505092915050565b600080604083850312156138c357600080fd5b60006138d185828601613638565b92505060206138e28582860161360e565b9150509250929050565b6000602082840312156138fe57600080fd5b600061390c8482850161364d565b91505092915050565b60006020828403121561392757600080fd5b600061393584828501613662565b91505092915050565b60006020828403121561395057600080fd5b600082013567ffffffffffffffff81111561396a57600080fd5b613976848285016136a1565b91505092915050565b60006020828403121561399157600080fd5b600061399f848285016136cb565b91505092915050565b6139b18161495a565b82525050565b6139c081614948565b82525050565b6139cf8161496c565b82525050565b6139de81614978565b82525050565b60006139ef826147f0565b6139f98185614806565b9350613a098185602086016149f4565b613a1281614be3565b840191505092915050565b6000613a28826147fb565b613a328185614817565b9350613a428185602086016149f4565b613a4b81614be3565b840191505092915050565b6000613a61826147fb565b613a6b8185614828565b9350613a7b8185602086016149f4565b80840191505092915050565b6000613a94602083614817565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613ad4602b83614817565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3a603283614817565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613ba0602683614817565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c06601c83614817565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613c46602483614817565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cac601983614817565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613cec602c83614817565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d52603883614817565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613db8601683614817565b91507f43616c6c6572206973206e6f742061206d696e746572000000000000000000006000830152602082019050919050565b6000613df8602a83614817565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5e602983614817565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ec4602083614817565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f04601783614817565b91507f546f74616c206d696e74206c696d6974206973203530300000000000000000006000830152602082019050919050565b6000613f44602c83614817565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613faa602083614817565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613fea602983614817565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614050602f83614817565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140b6602183614817565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061411c601383614817565b91507f43616c6c6572206973206e6f742061646d696e000000000000000000000000006000830152602082019050919050565b600061415c603183614817565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141c2602c83614817565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614228601783614828565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000614268601183614828565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006142a8602f83614817565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61430a816149ce565b82525050565b600061431c8285613a56565b91506143288284613a56565b91508190509392505050565b600061433f8261421b565b915061434b8285613a56565b91506143568261425b565b91506143628284613a56565b91508190509392505050565b600060208201905061438360008301846139b7565b92915050565b600060808201905061439e60008301876139b7565b6143ab60208301866139b7565b6143b86040830185614301565b81810360608301526143ca81846139e4565b905095945050505050565b60006020820190506143ea60008301846139c6565b92915050565b600060208201905061440560008301846139d5565b92915050565b600060608201905061442060008301866139d5565b61442d60208301856139a8565b61443a6040830184614301565b949350505050565b6000602082019050818103600083015261445c8184613a1d565b905092915050565b6000602082019050818103600083015261447d81613a87565b9050919050565b6000602082019050818103600083015261449d81613ac7565b9050919050565b600060208201905081810360008301526144bd81613b2d565b9050919050565b600060208201905081810360008301526144dd81613b93565b9050919050565b600060208201905081810360008301526144fd81613bf9565b9050919050565b6000602082019050818103600083015261451d81613c39565b9050919050565b6000602082019050818103600083015261453d81613c9f565b9050919050565b6000602082019050818103600083015261455d81613cdf565b9050919050565b6000602082019050818103600083015261457d81613d45565b9050919050565b6000602082019050818103600083015261459d81613dab565b9050919050565b600060208201905081810360008301526145bd81613deb565b9050919050565b600060208201905081810360008301526145dd81613e51565b9050919050565b600060208201905081810360008301526145fd81613eb7565b9050919050565b6000602082019050818103600083015261461d81613ef7565b9050919050565b6000602082019050818103600083015261463d81613f37565b9050919050565b6000602082019050818103600083015261465d81613f9d565b9050919050565b6000602082019050818103600083015261467d81613fdd565b9050919050565b6000602082019050818103600083015261469d81614043565b9050919050565b600060208201905081810360008301526146bd816140a9565b9050919050565b600060208201905081810360008301526146dd8161410f565b9050919050565b600060208201905081810360008301526146fd8161414f565b9050919050565b6000602082019050818103600083015261471d816141b5565b9050919050565b6000602082019050818103600083015261473d8161429b565b9050919050565b60006020820190506147596000830184614301565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561478657614785614bb4565b5b8060405250919050565b600067ffffffffffffffff8211156147ab576147aa614bb4565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156147db576147da614bb4565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061483e826149ce565b9150614849836149ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561487e5761487d614b27565b5b828201905092915050565b6000614894826149ce565b915061489f836149ce565b9250826148af576148ae614b56565b5b828204905092915050565b60006148c5826149ce565b91506148d0836149ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561490957614908614b27565b5b828202905092915050565b600061491f826149ce565b915061492a836149ce565b92508282101561493d5761493c614b27565b5b828203905092915050565b6000614953826149ae565b9050919050565b6000614965826149ae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a125780820151818401526020810190506149f7565b83811115614a21576000848401525b50505050565b6000614a32826149ce565b91506000821415614a4657614a45614b27565b5b600182039050919050565b60006002820490506001821680614a6957607f821691505b60208210811415614a7d57614a7c614b85565b5b50919050565b6000614a8e826149ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ac157614ac0614b27565b5b600182019050919050565b6000614ad7826149d8565b915060ff821415614aeb57614aea614b27565b5b600182019050919050565b6000614b01826149ce565b9150614b0c836149ce565b925082614b1c57614b1b614b56565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614bfd81614948565b8114614c0857600080fd5b50565b614c148161496c565b8114614c1f57600080fd5b50565b614c2b81614978565b8114614c3657600080fd5b50565b614c4281614982565b8114614c4d57600080fd5b50565b614c59816149ce565b8114614c6457600080fd5b5056fea2646970667358221220e0ab167083d31fcafd2b6e7d81d7d653cec4579cd61e16c98582e69f3d36674c64736f6c6343000800003300000000000000000000000020013bae1636cc1dd91c00cef2e24ed6318d66db0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f636f6e74656e742e617669646c696e65732e6172742f0000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063b4f311da116100b8578063deb2c7dd1161007c578063deb2c7dd146106db578063e812569b146106f7578063e985e9c514610713578063f2fde38b14610743578063f5414bc61461075f57610248565b8063b4f311da14610625578063b88d4fde14610655578063c87b56dd14610671578063d5391393146106a1578063d547741f146106bf57610248565b80638da5cb5b116100ff5780638da5cb5b1461057f57806391d148541461059d57806395d89b41146105cd578063a217fddf146105eb578063a22cb4651461060957610248565b806370a0823114610501578063715018a61461053157806371c235dd1461053b5780637362377b1461055957806388ee63ad1461056357610248565b80632f2ff15d116101c957806342966c681161018d57806342966c681461044b5780634f6ccce71461046757806355f804b3146104975780636352211e146104b35780636f581a36146104e357610248565b80632f2ff15d146103a95780632f745c59146103c55780632f915ef2146103f557806336568abe1461041357806342842e0e1461042f57610248565b806311eb3d891161021057806311eb3d891461030357806318160ddd146103215780631f21bfbf1461033f57806323b872dd1461035d578063248a9ca31461037957610248565b806301ffc9a71461024d5780630634adbc1461027d57806306fdde0314610299578063081812fc146102b7578063095ea7b3146102e7575b600080fd5b610267600480360381019061026291906138ec565b61077b565b60405161027491906143d5565b60405180910390f35b6102976004803603810190610292919061393e565b6107f5565b005b6102a161085b565b6040516102ae9190614442565b60405180910390f35b6102d160048036038101906102cc919061397f565b6108ed565b6040516102de919061436e565b60405180910390f35b61030160048036038101906102fc919061384b565b610972565b005b61030b610a8a565b6040516103189190614442565b60405180910390f35b610329610b18565b6040516103369190614744565b60405180910390f35b610347610b25565b6040516103549190614744565b60405180910390f35b61037760048036038101906103729190613745565b610b2b565b005b610393600480360381019061038e9190613887565b610b8b565b6040516103a091906143f0565b60405180910390f35b6103c360048036038101906103be91906138b0565b610bab565b005b6103df60048036038101906103da919061384b565b610bd4565b6040516103ec9190614744565b60405180910390f35b6103fd610c79565b60405161040a9190614442565b60405180910390f35b61042d600480360381019061042891906138b0565b610d07565b005b61044960048036038101906104449190613745565b610d8a565b005b6104656004803603810190610460919061397f565b610daa565b005b610481600480360381019061047c919061397f565b610e1f565b60405161048e9190614744565b60405180910390f35b6104b160048036038101906104ac919061393e565b610eb6565b005b6104cd60048036038101906104c8919061397f565b610f1c565b6040516104da919061436e565b60405180910390f35b6104eb610fce565b6040516104f89190614442565b60405180910390f35b61051b600480360381019061051691906136e0565b61105c565b6040516105289190614744565b60405180910390f35b610539611114565b005b61054361119c565b6040516105509190614442565b60405180910390f35b61056161122a565b005b61057d6004803603810190610578919061393e565b6112c8565b005b61058761132e565b604051610594919061436e565b60405180910390f35b6105b760048036038101906105b291906138b0565b611358565b6040516105c491906143d5565b60405180910390f35b6105d56113c3565b6040516105e29190614442565b60405180910390f35b6105f3611455565b60405161060091906143f0565b60405180910390f35b610623600480360381019061061e919061380f565b61145c565b005b61063f600480360381019061063a919061397f565b6115dd565b60405161064c9190614744565b60405180910390f35b61066f600480360381019061066a9190613794565b6115f5565b005b61068b6004803603810190610686919061397f565b611657565b6040516106989190614442565b60405180910390f35b6106a96116fe565b6040516106b691906143f0565b60405180910390f35b6106d960048036038101906106d491906138b0565b611722565b005b6106f560048036038101906106f0919061393e565b61174b565b005b610711600480360381019061070c919061393e565b6117b1565b005b61072d60048036038101906107289190613709565b611817565b60405161073a91906143d5565b60405180910390f35b61075d600480360381019061075891906136e0565b6118ab565b005b6107796004803603810190610774919061384b565b6119a3565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ee57506107ed82611aa1565b5b9050919050565b6108026000801b33611358565b610841576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610838906146c4565b60405180910390fd5b80600f90805190602001906108579291906134ef565b5050565b60606000805461086a90614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461089690614a51565b80156108e35780601f106108b8576101008083540402835291602001916108e3565b820191906000526020600020905b8154815290600101906020018083116108c657829003601f168201915b5050505050905090565b60006108f882611b1b565b610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90614624565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097d82610f1c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e5906146a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a0d611b87565b73ffffffffffffffffffffffffffffffffffffffff161480610a3c5750610a3b81610a36611b87565b611817565b5b610a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7290614564565b60405180910390fd5b610a858383611b8f565b505050565b600d8054610a9790614a51565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac390614a51565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b505050505081565b6000600880549050905090565b60115481565b610b3c610b36611b87565b82611c48565b610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b72906146e4565b60405180910390fd5b610b86838383611d26565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610bb482610b8b565b610bc581610bc0611b87565b611f82565b610bcf838361201f565b505050565b6000610bdf8361105c565b8210610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1790614484565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e8054610c8690614a51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb290614a51565b8015610cff5780601f10610cd457610100808354040283529160200191610cff565b820191906000526020600020905b815481529060010190602001808311610ce257829003601f168201915b505050505081565b610d0f611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7390614724565b60405180910390fd5b610d868282612100565b5050565b610da5838383604051806020016040528060008152506115f5565b505050565b610dd47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611358565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614584565b60405180910390fd5b610e1c816121e2565b50565b6000610e29610b18565b8210610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6190614704565b60405180910390fd5b60088281548110610ea4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ec36000801b33611358565b610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef9906146c4565b60405180910390fd5b8060129080519060200190610f189291906134ef565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906145c4565b60405180910390fd5b80915050919050565b600f8054610fdb90614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461100790614a51565b80156110545780601f1061102957610100808354040283529160200191611054565b820191906000526020600020905b81548152906001019060200180831161103757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906145a4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61111c611b87565b73ffffffffffffffffffffffffffffffffffffffff1661113a61132e565b73ffffffffffffffffffffffffffffffffffffffff1614611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614644565b60405180910390fd5b61119a60006122f3565b565b600c80546111a990614a51565b80601f01602080910402602001604051908101604052809291908181526020018280546111d590614a51565b80156112225780601f106111f757610100808354040283529160200191611222565b820191906000526020600020905b81548152906001019060200180831161120557829003601f168201915b505050505081565b6112376000801b33611358565b611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d906146c4565b60405180910390fd5b600047905060008073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156112c3573d6000803e3d6000fd5b505050565b6112d56000801b33611358565b611314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130b906146c4565b60405180910390fd5b80600e908051906020019061132a9291906134ef565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546113d290614a51565b80601f01602080910402602001604051908101604052809291908181526020018280546113fe90614a51565b801561144b5780601f106114205761010080835404028352916020019161144b565b820191906000526020600020905b81548152906001019060200180831161142e57829003601f168201915b5050505050905090565b6000801b81565b611464611b87565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c990614524565b60405180910390fd5b80600560006114df611b87565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661158c611b87565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115d191906143d5565b60405180910390a35050565b60106020528060005260406000206000915090505481565b611606611600611b87565b83611c48565b611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c906146e4565b60405180910390fd5b611651848484846123b9565b50505050565b606061166282611b1b565b6116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890614684565b60405180910390fd5b60006116ab612415565b905060008151116116cb57604051806020016040528060008152506116f6565b806116d5846124a7565b6040516020016116e6929190614310565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61172b82610b8b565b61173c81611737611b87565b611f82565b6117468383612100565b505050565b6117586000801b33611358565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e906146c4565b60405180910390fd5b80600d90805190602001906117ad9291906134ef565b5050565b6117be6000801b33611358565b6117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f4906146c4565b60405180910390fd5b80600c90805190602001906118139291906134ef565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118b3611b87565b73ffffffffffffffffffffffffffffffffffffffff166118d161132e565b73ffffffffffffffffffffffffffffffffffffffff1614611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e90614644565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e906144c4565b60405180910390fd5b6119a0816122f3565b50565b6119cd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611358565b611a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0390614584565b60405180910390fd5b6101f460115410611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4990614604565b60405180910390fd5b6000611a5c612654565b90506001601154611a6d9190614833565b60118190555081601060008381526020019081526020016000208190555080601381905550611a9c8382612756565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b145750611b1382612774565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c0283610f1c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c5382611b1b565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614544565b60405180910390fd5b6000611c9d83610f1c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d0c57508373ffffffffffffffffffffffffffffffffffffffff16611cf4846108ed565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d1d5750611d1c8185611817565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d4682610f1c565b73ffffffffffffffffffffffffffffffffffffffff1614611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390614664565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390614504565b60405180910390fd5b611e178383836127ee565b611e22600082611b8f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e729190614914565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec99190614833565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611f8c8282611358565b61201b57611fb18173ffffffffffffffffffffffffffffffffffffffff166014612902565b611fbf8360001c6020612902565b604051602001611fd0929190614334565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120129190614442565b60405180910390fd5b5050565b6120298282611358565b6120fc576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506120a1611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61210a8282611358565b156121de576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612183611b87565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006121ed82610f1c565b90506121fb816000846127ee565b612206600083611b8f565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122569190614914565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123c4848484611d26565b6123d084848484612bfc565b61240f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612406906144a4565b60405180910390fd5b50505050565b60606012805461242490614a51565b80601f016020809104026020016040519081016040528092919081815260200182805461245090614a51565b801561249d5780601f106124725761010080835404028352916020019161249d565b820191906000526020600020905b81548152906001019060200180831161248057829003601f168201915b5050505050905090565b606060008214156124ef576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061264f565b600082905060005b6000821461252157808061250a90614a83565b915050600a8261251a9190614889565b91506124f7565b60008167ffffffffffffffff811115612563577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125955781602001600182028036833780820191505090505b5090505b60008514612648576001826125ae9190614914565b9150600a856125bd9190614af6565b60306125c99190614833565b60f81b818381518110612605577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126419190614889565b9450612599565b8093505050505b919050565b60008061265f612d93565b90506000601c90506000828260ff16602081106126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff16101561272f57600881901b9050828260ff1660208110612705577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff168161271a9190614833565b9050818061272790614acc565b9250506126b6565b601081901b905061274b60115482612dd490919063ffffffff16565b905080935050505090565b612770828260405180602001604052806000815250612dea565b5050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127e757506127e682612e45565b5b9050919050565b6127f9838383612f27565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561283c5761283781612f2c565b61287b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461287a576128798382612f75565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128be576128b9816130e2565b6128fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128fc576128fb8282613225565b5b5b505050565b60606000600283600261291591906148ba565b61291f9190614833565b67ffffffffffffffff81111561295e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129905781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106129ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ab891906148ba565b612ac29190614833565b90505b6001811115612bae577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612b67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612ba790614a27565b9050612ac5565b5060008414612bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be990614464565b60405180910390fd5b8091505092915050565b6000612c1d8473ffffffffffffffffffffffffffffffffffffffff166132a4565b15612d86578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c46611b87565b8786866040518563ffffffff1660e01b8152600401612c689493929190614389565b602060405180830381600087803b158015612c8257600080fd5b505af1925050508015612cb357506040513d601f19601f82011682018060405250810190612cb09190613915565b60015b612d36573d8060008114612ce3576040519150601f19603f3d011682016040523d82523d6000602084013e612ce8565b606091505b50600081511415612d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d25906144a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d8b565b600190505b949350505050565b6000600143612da29190614914565b4041601354604051602001612db99392919061440b565b60405160208183030381529060405280519060200120905090565b60008183612de29190614833565b905092915050565b612df483836132b7565b612e016000848484612bfc565b612e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e37906144a4565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f1057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f205750612f1f82613485565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f828461105c565b612f8c9190614914565b9050600060076000848152602001908152602001600020549050818114613071576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130f69190614914565b905060006009600084815260200190815260200160002054905060006008838154811061314c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613194577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132308361105c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331e906145e4565b60405180910390fd5b61333081611b1b565b15613370576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613367906144e4565b60405180910390fd5b61337c600083836127ee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133cc9190614833565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134fb90614a51565b90600052602060002090601f01602090048101928261351d5760008555613564565b82601f1061353657805160ff1916838001178555613564565b82800160010185558215613564579182015b82811115613563578251825591602001919060010190613548565b5b5090506135719190613575565b5090565b5b8082111561358e576000816000905550600101613576565b5090565b60006135a56135a084614790565b61475f565b9050828152602081018484840111156135bd57600080fd5b6135c88482856149e5565b509392505050565b60006135e36135de846147c0565b61475f565b9050828152602081018484840111156135fb57600080fd5b6136068482856149e5565b509392505050565b60008135905061361d81614bf4565b92915050565b60008135905061363281614c0b565b92915050565b60008135905061364781614c22565b92915050565b60008135905061365c81614c39565b92915050565b60008151905061367181614c39565b92915050565b600082601f83011261368857600080fd5b8135613698848260208601613592565b91505092915050565b600082601f8301126136b257600080fd5b81356136c28482602086016135d0565b91505092915050565b6000813590506136da81614c50565b92915050565b6000602082840312156136f257600080fd5b60006137008482850161360e565b91505092915050565b6000806040838503121561371c57600080fd5b600061372a8582860161360e565b925050602061373b8582860161360e565b9150509250929050565b60008060006060848603121561375a57600080fd5b60006137688682870161360e565b93505060206137798682870161360e565b925050604061378a868287016136cb565b9150509250925092565b600080600080608085870312156137aa57600080fd5b60006137b88782880161360e565b94505060206137c98782880161360e565b93505060406137da878288016136cb565b925050606085013567ffffffffffffffff8111156137f757600080fd5b61380387828801613677565b91505092959194509250565b6000806040838503121561382257600080fd5b60006138308582860161360e565b925050602061384185828601613623565b9150509250929050565b6000806040838503121561385e57600080fd5b600061386c8582860161360e565b925050602061387d858286016136cb565b9150509250929050565b60006020828403121561389957600080fd5b60006138a784828501613638565b91505092915050565b600080604083850312156138c357600080fd5b60006138d185828601613638565b92505060206138e28582860161360e565b9150509250929050565b6000602082840312156138fe57600080fd5b600061390c8482850161364d565b91505092915050565b60006020828403121561392757600080fd5b600061393584828501613662565b91505092915050565b60006020828403121561395057600080fd5b600082013567ffffffffffffffff81111561396a57600080fd5b613976848285016136a1565b91505092915050565b60006020828403121561399157600080fd5b600061399f848285016136cb565b91505092915050565b6139b18161495a565b82525050565b6139c081614948565b82525050565b6139cf8161496c565b82525050565b6139de81614978565b82525050565b60006139ef826147f0565b6139f98185614806565b9350613a098185602086016149f4565b613a1281614be3565b840191505092915050565b6000613a28826147fb565b613a328185614817565b9350613a428185602086016149f4565b613a4b81614be3565b840191505092915050565b6000613a61826147fb565b613a6b8185614828565b9350613a7b8185602086016149f4565b80840191505092915050565b6000613a94602083614817565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613ad4602b83614817565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3a603283614817565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613ba0602683614817565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c06601c83614817565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613c46602483614817565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cac601983614817565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613cec602c83614817565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d52603883614817565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613db8601683614817565b91507f43616c6c6572206973206e6f742061206d696e746572000000000000000000006000830152602082019050919050565b6000613df8602a83614817565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e5e602983614817565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ec4602083614817565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f04601783614817565b91507f546f74616c206d696e74206c696d6974206973203530300000000000000000006000830152602082019050919050565b6000613f44602c83614817565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613faa602083614817565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613fea602983614817565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614050602f83614817565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140b6602183614817565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061411c601383614817565b91507f43616c6c6572206973206e6f742061646d696e000000000000000000000000006000830152602082019050919050565b600061415c603183614817565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141c2602c83614817565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614228601783614828565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000614268601183614828565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006142a8602f83614817565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61430a816149ce565b82525050565b600061431c8285613a56565b91506143288284613a56565b91508190509392505050565b600061433f8261421b565b915061434b8285613a56565b91506143568261425b565b91506143628284613a56565b91508190509392505050565b600060208201905061438360008301846139b7565b92915050565b600060808201905061439e60008301876139b7565b6143ab60208301866139b7565b6143b86040830185614301565b81810360608301526143ca81846139e4565b905095945050505050565b60006020820190506143ea60008301846139c6565b92915050565b600060208201905061440560008301846139d5565b92915050565b600060608201905061442060008301866139d5565b61442d60208301856139a8565b61443a6040830184614301565b949350505050565b6000602082019050818103600083015261445c8184613a1d565b905092915050565b6000602082019050818103600083015261447d81613a87565b9050919050565b6000602082019050818103600083015261449d81613ac7565b9050919050565b600060208201905081810360008301526144bd81613b2d565b9050919050565b600060208201905081810360008301526144dd81613b93565b9050919050565b600060208201905081810360008301526144fd81613bf9565b9050919050565b6000602082019050818103600083015261451d81613c39565b9050919050565b6000602082019050818103600083015261453d81613c9f565b9050919050565b6000602082019050818103600083015261455d81613cdf565b9050919050565b6000602082019050818103600083015261457d81613d45565b9050919050565b6000602082019050818103600083015261459d81613dab565b9050919050565b600060208201905081810360008301526145bd81613deb565b9050919050565b600060208201905081810360008301526145dd81613e51565b9050919050565b600060208201905081810360008301526145fd81613eb7565b9050919050565b6000602082019050818103600083015261461d81613ef7565b9050919050565b6000602082019050818103600083015261463d81613f37565b9050919050565b6000602082019050818103600083015261465d81613f9d565b9050919050565b6000602082019050818103600083015261467d81613fdd565b9050919050565b6000602082019050818103600083015261469d81614043565b9050919050565b600060208201905081810360008301526146bd816140a9565b9050919050565b600060208201905081810360008301526146dd8161410f565b9050919050565b600060208201905081810360008301526146fd8161414f565b9050919050565b6000602082019050818103600083015261471d816141b5565b9050919050565b6000602082019050818103600083015261473d8161429b565b9050919050565b60006020820190506147596000830184614301565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561478657614785614bb4565b5b8060405250919050565b600067ffffffffffffffff8211156147ab576147aa614bb4565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156147db576147da614bb4565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061483e826149ce565b9150614849836149ce565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561487e5761487d614b27565b5b828201905092915050565b6000614894826149ce565b915061489f836149ce565b9250826148af576148ae614b56565b5b828204905092915050565b60006148c5826149ce565b91506148d0836149ce565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561490957614908614b27565b5b828202905092915050565b600061491f826149ce565b915061492a836149ce565b92508282101561493d5761493c614b27565b5b828203905092915050565b6000614953826149ae565b9050919050565b6000614965826149ae565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a125780820151818401526020810190506149f7565b83811115614a21576000848401525b50505050565b6000614a32826149ce565b91506000821415614a4657614a45614b27565b5b600182039050919050565b60006002820490506001821680614a6957607f821691505b60208210811415614a7d57614a7c614b85565b5b50919050565b6000614a8e826149ce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ac157614ac0614b27565b5b600182019050919050565b6000614ad7826149d8565b915060ff821415614aeb57614aea614b27565b5b600182019050919050565b6000614b01826149ce565b9150614b0c836149ce565b925082614b1c57614b1b614b56565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614bfd81614948565b8114614c0857600080fd5b50565b614c148161496c565b8114614c1f57600080fd5b50565b614c2b81614978565b8114614c3657600080fd5b50565b614c4281614982565b8114614c4d57600080fd5b50565b614c59816149ce565b8114614c6457600080fd5b5056fea2646970667358221220e0ab167083d31fcafd2b6e7d81d7d653cec4579cd61e16c98582e69f3d36674c64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000020013bae1636cc1dd91c00cef2e24ed6318d66db0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f636f6e74656e742e617669646c696e65732e6172742f0000
-----Decoded View---------------
Arg [0] : adminAddress (address): 0x20013bae1636cc1dd91c00cEF2E24ED6318D66db
Arg [1] : baseURI (string): https://content.avidlines.art/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000020013bae1636cc1dd91c00cef2e24ed6318d66db
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 68747470733a2f2f636f6e74656e742e617669646c696e65732e6172742f0000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.