ERC-721
Overview
Max Total Supply
1,000 EH
Holders
752
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 EHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EraHeroNFT
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./bridge.sol"; import "./baseControl.sol"; import "./nft.sol"; import "./Pausable.sol"; import "./ReentrancyGuard.sol"; import "./ERC721Enumerable.sol"; contract EraHeroNFT is ERANFT, Bridge, ERC721Enumerable, BaseControl, ReentrancyGuard { string public baseURI; uint256 public maxSupply = 1000; constructor() ERC721("ERA Hero", "EH") {} event BridgeFrom( address indexed caller, uint256 indexed tokenId, uint256 indexed time ); event BridgeTo( address indexed caller, uint256 indexed tokenId, uint256 indexed time ); function mint(address to, uint256 tokenId) public onlyRole(DEFAULT_ADMIN_ROLE) { _safeMint(to, tokenId); } function claim(address to, uint256 tokenId) public override nonReentrant onlyRole(MINTER_ROLE) { require(totalSupply() < maxSupply, "Total supply reached"); _safeMint(to, tokenId); } function BridgeClaim( uint256 tokenId, uint256 timestamp, uint256 chainId, address caller, uint8 v, bytes32 r, bytes32 s, bytes32 code ) public { require(totalSupply() < maxSupply, "Total supply reached"); require(bridgeHash[code] != code, "hash already used"); _verifyInput(tokenId, timestamp, chainId, caller, v, r, s, code); bridgeHash[code] = code; _safeMint(caller, tokenId); emit BridgeTo(caller, tokenId, timestamp); } function BridgeAcross(uint256 tokenId) public { require(_exists(tokenId), "Token does not exist"); require(ownerOf(tokenId) == _msgSender(), "Only owner can burn token"); _burn(tokenId); emit BridgeFrom(_msgSender(), tokenId, block.timestamp); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory _uri) external onlyRole(DEFAULT_ADMIN_ROLE) { baseURI = _uri; } function setMaxSupply(uint256 _maxSupply) external onlyRole(DEFAULT_ADMIN_ROLE) { maxSupply = _maxSupply; } function transferDefaultAdminRole(address account_) public onlyRole(DEFAULT_ADMIN_ROLE) { grantRole(DEFAULT_ADMIN_ROLE, account_); revokeRole(DEFAULT_ADMIN_ROLE, _msgSender()); transferOwnership(account_); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @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 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]{40}) is missing role (0x[0-9a-f]{64})$/ * * _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 virtual 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]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { 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 virtual 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 revoked `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}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ 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 { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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; import "./AccessControl.sol"; import "./Ownable.sol"; contract BaseControl is AccessControl, Ownable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); constructor() { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function setRole(bytes32 role_, address account_) public onlyRole(DEFAULT_ADMIN_ROLE) { _grantRole(role_, account_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AccessControl.sol"; import "./Ownable.sol"; contract Bridge is AccessControl, Ownable { bytes32 public CONTRACT_DOMAIN; address public signer; mapping(bytes32 => bytes32) public bridgeHash; event SingerChange(address indexed signer, uint256 indexed time); struct EIP712Domain { string name; string version; uint256 chainId; address verifyingContract; } constructor() { uint256 chainId; assembly { chainId := chainid() } CONTRACT_DOMAIN = _hashDomain( EIP712Domain({ name: "ERAHero", version: "1", chainId: chainId, verifyingContract: address(this) }) ); _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function setSigner(address account_) public onlyOwner { signer = account_; emit SingerChange(account_, block.timestamp); } function _hashDomain(EIP712Domain memory eip712Domain_) internal pure returns (bytes32) { return keccak256( abi.encode( keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ), keccak256(bytes(eip712Domain_.name)), keccak256(bytes(eip712Domain_.version)), eip712Domain_.chainId, eip712Domain_.verifyingContract ) ); } function _hashMaps( uint256 tokenId, uint256 timestamp, uint256 chainId, address caller ) internal pure returns (bytes32) { return keccak256( abi.encode( keccak256( "BridgeInfo(uint256 tokenId,uint256 timestamp,uint256 chainId,address caller)" ), tokenId, timestamp, chainId, caller ) ); } function _verifyInput( uint256 tokenId, uint256 timestamp, uint256 chainId, address caller, uint8 v, bytes32 r, bytes32 s, bytes32 code ) internal view { bytes32 hashStruct = _hashMaps( tokenId, timestamp, chainId, caller ); bytes32 hash = keccak256( abi.encodePacked("\x19\x01", CONTRACT_DOMAIN, hashStruct) ); require(hash == code, "Hash code error"); address signerInput = ecrecover(hash, v, r, s); require(signer == signerInput, "Verify address error"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./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 { _setApprovalForAll(_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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @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 {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @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) external; /** * @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) external; /** * @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) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) 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: GPL-3.0 pragma solidity ^0.8.0; interface ERANFT { function claim(address to, uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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() { _transferOwnership(_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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"caller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BridgeFrom","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BridgeTo","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":"signer","type":"address"},{"indexed":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"SingerChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"BridgeAcross","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"caller","type":"address"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"bytes32","name":"code","type":"bytes32"}],"name":"BridgeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"CONTRACT_DOMAIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"bridgeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","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":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role_","type":"bytes32"},{"internalType":"address","name":"account_","type":"address"}],"name":"setRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"transferDefaultAdminRole","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e86011553480156200001757600080fd5b5060405180604001604052806008815260200167455241204865726f60c01b8152506040518060400160405280600281526020016108a960f31b8152506200006e620000686200012060201b60201c565b62000124565b6040805160c081018252600760808201908152664552414865726f60c81b60a083015281528151808301835260018152603160f81b60208281019190915282015246918101829052306060820152620000c79062000176565b600255620000d760003362000214565b508151620000ed906005906020850190620002c4565b50805162000103906006906020840190620002c4565b50620001159150600090503362000214565b6001600f55620003a7565b3390565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82600001518051906020012083602001518051906020012084604001518560600151604051602001620001f79594939291909485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b604051602081830303815290604052805190602001209050919050565b62000220828262000224565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000220576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002803390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620002d2906200036a565b90600052602060002090601f016020900481019282620002f6576000855562000341565b82601f106200031157805160ff191683800117855562000341565b8280016001018555821562000341579182015b828111156200034157825182559160200191906001019062000324565b506200034f92915062000353565b5090565b5b808211156200034f576000815560010162000354565b600181811c908216806200037f57607f821691505b60208210811415620003a157634e487b7160e01b600052602260045260246000fd5b50919050565b61295980620003b76000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80636f8b44b01161013b578063aad3ec96116100b8578063d5abeb011161007c578063d5abeb0114610502578063dff872031461050b578063e985e9c51461051e578063eba6079e1461055a578063f2fde38b1461057a57600080fd5b8063aad3ec961461048f578063b88d4fde146104a2578063c87b56dd146104b5578063d5391393146104c8578063d547741f146104ef57600080fd5b806391d14854116100ff57806391d148541461044657806395d89b4114610459578063966508c114610461578063a217fddf14610474578063a22cb4651461047c57600080fd5b80636f8b44b0146103fe57806370a0823114610411578063715018a61461042457806387ece8341461042c5780638da5cb5b1461043557600080fd5b80632f2ff15d116101c95780634f6ccce71161018d5780634f6ccce7146103aa57806355f804b3146103bd5780636352211e146103d05780636c0360eb146103e35780636c19e783146103eb57600080fd5b80632f2ff15d1461034b5780632f745c591461035e57806336568abe1461037157806340c10f191461038457806342842e0e1461039757600080fd5b806318160ddd1161021057806318160ddd146102dd57806322371ff5146102ef578063238ac9331461030257806323b872dd14610315578063248a9ca31461032857600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780631526e087146102ca575b600080fd5b61026061025b36600461227e565b61058d565b60405190151581526020015b60405180910390f35b61027d61059e565b60405161026c91906122f3565b61029d610298366004612306565b610630565b6040516001600160a01b03909116815260200161026c565b6102c86102c336600461233b565b6106ca565b005b6102c86102d8366004612365565b6107e0565b600d545b60405190815260200161026c565b6102c86102fd366004612380565b61080f565b60035461029d906001600160a01b031681565b6102c86103233660046123f3565b610918565b6102e1610336366004612306565b60009081526020819052604090206001015490565b6102c861035936600461242f565b610949565b6102e161036c36600461233b565b61096f565b6102c861037f36600461242f565b610a05565b6102c861039236600461233b565b610a7f565b6102c86103a53660046123f3565b610a95565b6102e16103b8366004612306565b610ab0565b6102c86103cb3660046124e7565b610b43565b61029d6103de366004612306565b610b62565b61027d610bd9565b6102c86103f9366004612365565b610c67565b6102c861040c366004612306565b610cde565b6102e161041f366004612365565b610cf0565b6102c8610d77565b6102e160025481565b6001546001600160a01b031661029d565b61026061045436600461242f565b610dad565b61027d610dd6565b6102c861046f366004612306565b610de5565b6102e1600081565b6102c861048a366004612530565b610edb565b6102c861049d36600461233b565b610ee6565b6102c86104b036600461256c565b610fc7565b61027d6104c3366004612306565b610fff565b6102e17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102c86104fd36600461242f565b6110da565b6102e160115481565b6102c861051936600461242f565b611100565b61026061052c3660046125e8565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b6102e1610568366004612306565b60046020526000908152604090205481565b6102c8610588366004612365565b61110c565b6000610598826111a7565b92915050565b6060600580546105ad90612612565b80601f01602080910402602001604051908101604052809291908181526020018280546105d990612612565b80156106265780601f106105fb57610100808354040283529160200191610626565b820191906000526020600020905b81548152906001019060200180831161060957829003601f168201915b5050505050905090565b6000818152600760205260408120546001600160a01b03166106ae5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006106d582610b62565b9050806001600160a01b0316836001600160a01b031614156107435760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106a5565b336001600160a01b038216148061075f575061075f813361052c565b6107d15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106a5565b6107db83836111cc565b505050565b60006107ec813361123a565b6107f7600083610949565b6108026000336110da565b61080b8261110c565b5050565b601154600d54106108595760405162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b60448201526064016106a5565b6000818152600460205260409020548114156108ab5760405162461bcd60e51b81526020600482015260116024820152701a185cda08185b1c9958591e481d5cd959607a1b60448201526064016106a5565b6108bb888888888888888861129e565b60008181526004602052604090208190556108d68589611442565b8688866001600160a01b03167f7109e9faac538a123aa19ce5c414b58fe74ac15bf279cd8c91bd816e613c8c5560405160405180910390a45050505050505050565b610922338261145c565b61093e5760405162461bcd60e51b81526004016106a59061264d565b6107db838383611553565b600082815260208190526040902060010154610965813361123a565b6107db83836116fa565b600061097a83610cf0565b82106109dc5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106a5565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b6001600160a01b0381163314610a755760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106a5565b61080b828261177e565b6000610a8b813361123a565b6107db8383611442565b6107db83838360405180602001604052806000815250610fc7565b6000610abb600d5490565b8210610b1e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106a5565b600d8281548110610b3157610b3161269e565b90600052602060002001549050919050565b6000610b4f813361123a565b81516107db9060109060208501906121cf565b6000818152600760205260408120546001600160a01b0316806105985760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106a5565b60108054610be690612612565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1290612612565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b6001546001600160a01b03163314610c915760405162461bcd60e51b81526004016106a5906126b4565b600380546001600160a01b0319166001600160a01b0383169081179091556040514291907f9fcf8825cd7e713af55e922bbdc4161bb4a238496e6f127972e0abe3e29088e890600090a350565b6000610cea813361123a565b50601155565b60006001600160a01b038216610d5b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106a5565b506001600160a01b031660009081526008602052604090205490565b6001546001600160a01b03163314610da15760405162461bcd60e51b81526004016106a5906126b4565b610dab60006117e3565b565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546105ad90612612565b6000818152600760205260409020546001600160a01b0316610e405760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106a5565b33610e4a82610b62565b6001600160a01b031614610ea05760405162461bcd60e51b815260206004820152601960248201527f4f6e6c79206f776e65722063616e206275726e20746f6b656e0000000000000060448201526064016106a5565b610ea981611835565b6040514290829033907f8ed9e9b5a03f31ce0e991f8f2889b3488f0e53bb473456283ffb4bc81bdb51d990600090a450565b61080b3383836118dc565b6002600f541415610f395760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106a5565b6002600f557f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f69813361123a565b601154600d5410610fb35760405162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b60448201526064016106a5565b610fbd8383611442565b50506001600f5550565b610fd1338361145c565b610fed5760405162461bcd60e51b81526004016106a59061264d565b610ff9848484846119ab565b50505050565b6000818152600760205260409020546060906001600160a01b031661107e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106a5565b60006110886119de565b905060008151116110a857604051806020016040528060008152506110d3565b806110b2846119ed565b6040516020016110c39291906126e9565b6040516020818303038152906040525b9392505050565b6000828152602081905260409020600101546110f6813361123a565b6107db838361177e565b6000610965813361123a565b6001546001600160a01b031633146111365760405162461bcd60e51b81526004016106a5906126b4565b6001600160a01b03811661119b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a5565b6111a4816117e3565b50565b60006001600160e01b0319821663780e9d6360e01b1480610598575061059882611aeb565b600081815260096020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120182610b62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6112448282610dad565b61080b5761125c816001600160a01b03166014611b2b565b611267836020611b2b565b604051602001611278929190612718565b60408051601f198184030181529082905262461bcd60e51b82526106a5916004016122f3565b604080517fb77cd000d389278d280360b1811070dab74328cc29a394a4ae48a02f1e9b0ab46020808301919091528183018b9052606082018a9052608082018990526001600160a01b03881660a0808401919091528351808403909101815260c08301845280519082012060025461190160f01b60e085015260e284015261010280840182905284518085039091018152610122909301909352815191012082811461137e5760405162461bcd60e51b815260206004820152600f60248201526e2430b9b41031b7b2329032b93937b960891b60448201526064016106a5565b6040805160008082526020820180845284905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156113d2573d6000803e3d6000fd5b5050604051601f1901516003549092506001600160a01b0380841691161490506114355760405162461bcd60e51b81526020600482015260146024820152732b32b934b33c9030b2323932b9b99032b93937b960611b60448201526064016106a5565b5050505050505050505050565b61080b828260405180602001604052806000815250611cc7565b6000818152600760205260408120546001600160a01b03166114d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106a5565b60006114e083610b62565b9050806001600160a01b0316846001600160a01b0316148061151b5750836001600160a01b031661151084610630565b6001600160a01b0316145b8061154b57506001600160a01b038082166000908152600a602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661156682610b62565b6001600160a01b0316146115ca5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106a5565b6001600160a01b03821661162c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106a5565b611637838383611cfa565b6116426000826111cc565b6001600160a01b038316600090815260086020526040812080546001929061166b9084906127a3565b90915550506001600160a01b03821660009081526008602052604081208054600192906116999084906127ba565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6117048282610dad565b61080b576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561173a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6117888282610dad565b1561080b576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061184082610b62565b905061184e81600084611cfa565b6118596000836111cc565b6001600160a01b03811660009081526008602052604081208054600192906118829084906127a3565b909155505060008281526007602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b0316141561193e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106a5565b6001600160a01b038381166000818152600a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119b6848484611553565b6119c284848484611db2565b610ff95760405162461bcd60e51b81526004016106a5906127d2565b6060601080546105ad90612612565b606081611a115750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a3b5780611a2581612824565b9150611a349050600a83612855565b9150611a15565b60008167ffffffffffffffff811115611a5657611a5661245b565b6040519080825280601f01601f191660200182016040528015611a80576020820181803683370190505b5090505b841561154b57611a956001836127a3565b9150611aa2600a86612869565b611aad9060306127ba565b60f81b818381518110611ac257611ac261269e565b60200101906001600160f81b031916908160001a905350611ae4600a86612855565b9450611a84565b60006001600160e01b031982166380ac58cd60e01b1480611b1c57506001600160e01b03198216635b5e139f60e01b145b80610598575061059882611ebc565b60606000611b3a83600261287d565b611b459060026127ba565b67ffffffffffffffff811115611b5d57611b5d61245b565b6040519080825280601f01601f191660200182016040528015611b87576020820181803683370190505b509050600360fc1b81600081518110611ba257611ba261269e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611bd157611bd161269e565b60200101906001600160f81b031916908160001a9053506000611bf584600261287d565b611c009060016127ba565b90505b6001811115611c78576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c3457611c3461269e565b1a60f81b828281518110611c4a57611c4a61269e565b60200101906001600160f81b031916908160001a90535060049490941c93611c718161289c565b9050611c03565b5083156110d35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106a5565b611cd18383611ef1565b611cde6000848484611db2565b6107db5760405162461bcd60e51b81526004016106a5906127d2565b6001600160a01b038316611d5557611d5081600d80546000838152600e60205260408120829055600182018355919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50155565b611d78565b816001600160a01b0316836001600160a01b031614611d7857611d78838261203f565b6001600160a01b038216611d8f576107db816120dc565b826001600160a01b0316826001600160a01b0316146107db576107db828261218b565b60006001600160a01b0384163b15611eb457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611df69033908990889088906004016128b3565b602060405180830381600087803b158015611e1057600080fd5b505af1925050508015611e40575060408051601f3d908101601f19168201909252611e3d918101906128f0565b60015b611e9a573d808015611e6e576040519150601f19603f3d011682016040523d82523d6000602084013e611e73565b606091505b508051611e925760405162461bcd60e51b81526004016106a5906127d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061154b565b50600161154b565b60006001600160e01b03198216637965db0b60e01b148061059857506301ffc9a760e01b6001600160e01b0319831614610598565b6001600160a01b038216611f475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106a5565b6000818152600760205260409020546001600160a01b031615611fac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106a5565b611fb860008383611cfa565b6001600160a01b0382166000908152600860205260408120805460019290611fe19084906127ba565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161204c84610cf0565b61205691906127a3565b6000838152600c60205260409020549091508082146120a9576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600c90915290208190555b506000918252600c602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600d546000906120ee906001906127a3565b6000838152600e6020526040812054600d80549394509092849081106121165761211661269e565b9060005260206000200154905080600d83815481106121375761213761269e565b6000918252602080832090910192909255828152600e9091526040808220849055858252812055600d80548061216f5761216f61290d565b6001900381819060005260206000200160009055905550505050565b600061219683610cf0565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600c9052919091209190915550565b8280546121db90612612565b90600052602060002090601f0160209004810192826121fd5760008555612243565b82601f1061221657805160ff1916838001178555612243565b82800160010185558215612243579182015b82811115612243578251825591602001919060010190612228565b5061224f929150612253565b5090565b5b8082111561224f5760008155600101612254565b6001600160e01b0319811681146111a457600080fd5b60006020828403121561229057600080fd5b81356110d381612268565b60005b838110156122b657818101518382015260200161229e565b83811115610ff95750506000910152565b600081518084526122df81602086016020860161229b565b601f01601f19169290920160200192915050565b6020815260006110d360208301846122c7565b60006020828403121561231857600080fd5b5035919050565b80356001600160a01b038116811461233657600080fd5b919050565b6000806040838503121561234e57600080fd5b6123578361231f565b946020939093013593505050565b60006020828403121561237757600080fd5b6110d38261231f565b600080600080600080600080610100898b03121561239d57600080fd5b8835975060208901359650604089013595506123bb60608a0161231f565b9450608089013560ff811681146123d157600080fd5b979a969950949793969560a0850135955060c08501359460e001359350915050565b60008060006060848603121561240857600080fd5b6124118461231f565b925061241f6020850161231f565b9150604084013590509250925092565b6000806040838503121561244257600080fd5b823591506124526020840161231f565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561248c5761248c61245b565b604051601f8501601f19908116603f011681019082821181831017156124b4576124b461245b565b816040528093508581528686860111156124cd57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124f957600080fd5b813567ffffffffffffffff81111561251057600080fd5b8201601f8101841361252157600080fd5b61154b84823560208401612471565b6000806040838503121561254357600080fd5b61254c8361231f565b91506020830135801515811461256157600080fd5b809150509250929050565b6000806000806080858703121561258257600080fd5b61258b8561231f565b93506125996020860161231f565b925060408501359150606085013567ffffffffffffffff8111156125bc57600080fd5b8501601f810187136125cd57600080fd5b6125dc87823560208401612471565b91505092959194509250565b600080604083850312156125fb57600080fd5b6126048361231f565b91506124526020840161231f565b600181811c9082168061262657607f821691505b6020821081141561264757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600083516126fb81846020880161229b565b83519083019061270f81836020880161229b565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161275081601785016020880161229b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161278181602884016020880161229b565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156127b5576127b561278d565b500390565b600082198211156127cd576127cd61278d565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156128385761283861278d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826128645761286461283f565b500490565b6000826128785761287861283f565b500690565b60008160001904831182151516156128975761289761278d565b500290565b6000816128ab576128ab61278d565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128e6908301846122c7565b9695505050505050565b60006020828403121561290257600080fd5b81516110d381612268565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e5b6c0fdae231de989f75c1d6fc56d1da24d6baad08b28f867101046f5aec87764736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c80636f8b44b01161013b578063aad3ec96116100b8578063d5abeb011161007c578063d5abeb0114610502578063dff872031461050b578063e985e9c51461051e578063eba6079e1461055a578063f2fde38b1461057a57600080fd5b8063aad3ec961461048f578063b88d4fde146104a2578063c87b56dd146104b5578063d5391393146104c8578063d547741f146104ef57600080fd5b806391d14854116100ff57806391d148541461044657806395d89b4114610459578063966508c114610461578063a217fddf14610474578063a22cb4651461047c57600080fd5b80636f8b44b0146103fe57806370a0823114610411578063715018a61461042457806387ece8341461042c5780638da5cb5b1461043557600080fd5b80632f2ff15d116101c95780634f6ccce71161018d5780634f6ccce7146103aa57806355f804b3146103bd5780636352211e146103d05780636c0360eb146103e35780636c19e783146103eb57600080fd5b80632f2ff15d1461034b5780632f745c591461035e57806336568abe1461037157806340c10f191461038457806342842e0e1461039757600080fd5b806318160ddd1161021057806318160ddd146102dd57806322371ff5146102ef578063238ac9331461030257806323b872dd14610315578063248a9ca31461032857600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b55780631526e087146102ca575b600080fd5b61026061025b36600461227e565b61058d565b60405190151581526020015b60405180910390f35b61027d61059e565b60405161026c91906122f3565b61029d610298366004612306565b610630565b6040516001600160a01b03909116815260200161026c565b6102c86102c336600461233b565b6106ca565b005b6102c86102d8366004612365565b6107e0565b600d545b60405190815260200161026c565b6102c86102fd366004612380565b61080f565b60035461029d906001600160a01b031681565b6102c86103233660046123f3565b610918565b6102e1610336366004612306565b60009081526020819052604090206001015490565b6102c861035936600461242f565b610949565b6102e161036c36600461233b565b61096f565b6102c861037f36600461242f565b610a05565b6102c861039236600461233b565b610a7f565b6102c86103a53660046123f3565b610a95565b6102e16103b8366004612306565b610ab0565b6102c86103cb3660046124e7565b610b43565b61029d6103de366004612306565b610b62565b61027d610bd9565b6102c86103f9366004612365565b610c67565b6102c861040c366004612306565b610cde565b6102e161041f366004612365565b610cf0565b6102c8610d77565b6102e160025481565b6001546001600160a01b031661029d565b61026061045436600461242f565b610dad565b61027d610dd6565b6102c861046f366004612306565b610de5565b6102e1600081565b6102c861048a366004612530565b610edb565b6102c861049d36600461233b565b610ee6565b6102c86104b036600461256c565b610fc7565b61027d6104c3366004612306565b610fff565b6102e17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102c86104fd36600461242f565b6110da565b6102e160115481565b6102c861051936600461242f565b611100565b61026061052c3660046125e8565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b6102e1610568366004612306565b60046020526000908152604090205481565b6102c8610588366004612365565b61110c565b6000610598826111a7565b92915050565b6060600580546105ad90612612565b80601f01602080910402602001604051908101604052809291908181526020018280546105d990612612565b80156106265780601f106105fb57610100808354040283529160200191610626565b820191906000526020600020905b81548152906001019060200180831161060957829003601f168201915b5050505050905090565b6000818152600760205260408120546001600160a01b03166106ae5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b60006106d582610b62565b9050806001600160a01b0316836001600160a01b031614156107435760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106a5565b336001600160a01b038216148061075f575061075f813361052c565b6107d15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106a5565b6107db83836111cc565b505050565b60006107ec813361123a565b6107f7600083610949565b6108026000336110da565b61080b8261110c565b5050565b601154600d54106108595760405162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b60448201526064016106a5565b6000818152600460205260409020548114156108ab5760405162461bcd60e51b81526020600482015260116024820152701a185cda08185b1c9958591e481d5cd959607a1b60448201526064016106a5565b6108bb888888888888888861129e565b60008181526004602052604090208190556108d68589611442565b8688866001600160a01b03167f7109e9faac538a123aa19ce5c414b58fe74ac15bf279cd8c91bd816e613c8c5560405160405180910390a45050505050505050565b610922338261145c565b61093e5760405162461bcd60e51b81526004016106a59061264d565b6107db838383611553565b600082815260208190526040902060010154610965813361123a565b6107db83836116fa565b600061097a83610cf0565b82106109dc5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106a5565b506001600160a01b03919091166000908152600b60209081526040808320938352929052205490565b6001600160a01b0381163314610a755760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106a5565b61080b828261177e565b6000610a8b813361123a565b6107db8383611442565b6107db83838360405180602001604052806000815250610fc7565b6000610abb600d5490565b8210610b1e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106a5565b600d8281548110610b3157610b3161269e565b90600052602060002001549050919050565b6000610b4f813361123a565b81516107db9060109060208501906121cf565b6000818152600760205260408120546001600160a01b0316806105985760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106a5565b60108054610be690612612565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1290612612565b8015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b6001546001600160a01b03163314610c915760405162461bcd60e51b81526004016106a5906126b4565b600380546001600160a01b0319166001600160a01b0383169081179091556040514291907f9fcf8825cd7e713af55e922bbdc4161bb4a238496e6f127972e0abe3e29088e890600090a350565b6000610cea813361123a565b50601155565b60006001600160a01b038216610d5b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106a5565b506001600160a01b031660009081526008602052604090205490565b6001546001600160a01b03163314610da15760405162461bcd60e51b81526004016106a5906126b4565b610dab60006117e3565b565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600680546105ad90612612565b6000818152600760205260409020546001600160a01b0316610e405760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106a5565b33610e4a82610b62565b6001600160a01b031614610ea05760405162461bcd60e51b815260206004820152601960248201527f4f6e6c79206f776e65722063616e206275726e20746f6b656e0000000000000060448201526064016106a5565b610ea981611835565b6040514290829033907f8ed9e9b5a03f31ce0e991f8f2889b3488f0e53bb473456283ffb4bc81bdb51d990600090a450565b61080b3383836118dc565b6002600f541415610f395760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106a5565b6002600f557f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f69813361123a565b601154600d5410610fb35760405162461bcd60e51b8152602060048201526014602482015273151bdd185b081cdd5c1c1b1e481c995858da195960621b60448201526064016106a5565b610fbd8383611442565b50506001600f5550565b610fd1338361145c565b610fed5760405162461bcd60e51b81526004016106a59061264d565b610ff9848484846119ab565b50505050565b6000818152600760205260409020546060906001600160a01b031661107e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106a5565b60006110886119de565b905060008151116110a857604051806020016040528060008152506110d3565b806110b2846119ed565b6040516020016110c39291906126e9565b6040516020818303038152906040525b9392505050565b6000828152602081905260409020600101546110f6813361123a565b6107db838361177e565b6000610965813361123a565b6001546001600160a01b031633146111365760405162461bcd60e51b81526004016106a5906126b4565b6001600160a01b03811661119b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a5565b6111a4816117e3565b50565b60006001600160e01b0319821663780e9d6360e01b1480610598575061059882611aeb565b600081815260096020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120182610b62565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6112448282610dad565b61080b5761125c816001600160a01b03166014611b2b565b611267836020611b2b565b604051602001611278929190612718565b60408051601f198184030181529082905262461bcd60e51b82526106a5916004016122f3565b604080517fb77cd000d389278d280360b1811070dab74328cc29a394a4ae48a02f1e9b0ab46020808301919091528183018b9052606082018a9052608082018990526001600160a01b03881660a0808401919091528351808403909101815260c08301845280519082012060025461190160f01b60e085015260e284015261010280840182905284518085039091018152610122909301909352815191012082811461137e5760405162461bcd60e51b815260206004820152600f60248201526e2430b9b41031b7b2329032b93937b960891b60448201526064016106a5565b6040805160008082526020820180845284905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156113d2573d6000803e3d6000fd5b5050604051601f1901516003549092506001600160a01b0380841691161490506114355760405162461bcd60e51b81526020600482015260146024820152732b32b934b33c9030b2323932b9b99032b93937b960611b60448201526064016106a5565b5050505050505050505050565b61080b828260405180602001604052806000815250611cc7565b6000818152600760205260408120546001600160a01b03166114d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106a5565b60006114e083610b62565b9050806001600160a01b0316846001600160a01b0316148061151b5750836001600160a01b031661151084610630565b6001600160a01b0316145b8061154b57506001600160a01b038082166000908152600a602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661156682610b62565b6001600160a01b0316146115ca5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106a5565b6001600160a01b03821661162c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106a5565b611637838383611cfa565b6116426000826111cc565b6001600160a01b038316600090815260086020526040812080546001929061166b9084906127a3565b90915550506001600160a01b03821660009081526008602052604081208054600192906116999084906127ba565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6117048282610dad565b61080b576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561173a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6117888282610dad565b1561080b576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061184082610b62565b905061184e81600084611cfa565b6118596000836111cc565b6001600160a01b03811660009081526008602052604081208054600192906118829084906127a3565b909155505060008281526007602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b0316141561193e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106a5565b6001600160a01b038381166000818152600a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119b6848484611553565b6119c284848484611db2565b610ff95760405162461bcd60e51b81526004016106a5906127d2565b6060601080546105ad90612612565b606081611a115750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a3b5780611a2581612824565b9150611a349050600a83612855565b9150611a15565b60008167ffffffffffffffff811115611a5657611a5661245b565b6040519080825280601f01601f191660200182016040528015611a80576020820181803683370190505b5090505b841561154b57611a956001836127a3565b9150611aa2600a86612869565b611aad9060306127ba565b60f81b818381518110611ac257611ac261269e565b60200101906001600160f81b031916908160001a905350611ae4600a86612855565b9450611a84565b60006001600160e01b031982166380ac58cd60e01b1480611b1c57506001600160e01b03198216635b5e139f60e01b145b80610598575061059882611ebc565b60606000611b3a83600261287d565b611b459060026127ba565b67ffffffffffffffff811115611b5d57611b5d61245b565b6040519080825280601f01601f191660200182016040528015611b87576020820181803683370190505b509050600360fc1b81600081518110611ba257611ba261269e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611bd157611bd161269e565b60200101906001600160f81b031916908160001a9053506000611bf584600261287d565b611c009060016127ba565b90505b6001811115611c78576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c3457611c3461269e565b1a60f81b828281518110611c4a57611c4a61269e565b60200101906001600160f81b031916908160001a90535060049490941c93611c718161289c565b9050611c03565b5083156110d35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106a5565b611cd18383611ef1565b611cde6000848484611db2565b6107db5760405162461bcd60e51b81526004016106a5906127d2565b6001600160a01b038316611d5557611d5081600d80546000838152600e60205260408120829055600182018355919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50155565b611d78565b816001600160a01b0316836001600160a01b031614611d7857611d78838261203f565b6001600160a01b038216611d8f576107db816120dc565b826001600160a01b0316826001600160a01b0316146107db576107db828261218b565b60006001600160a01b0384163b15611eb457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611df69033908990889088906004016128b3565b602060405180830381600087803b158015611e1057600080fd5b505af1925050508015611e40575060408051601f3d908101601f19168201909252611e3d918101906128f0565b60015b611e9a573d808015611e6e576040519150601f19603f3d011682016040523d82523d6000602084013e611e73565b606091505b508051611e925760405162461bcd60e51b81526004016106a5906127d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061154b565b50600161154b565b60006001600160e01b03198216637965db0b60e01b148061059857506301ffc9a760e01b6001600160e01b0319831614610598565b6001600160a01b038216611f475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106a5565b6000818152600760205260409020546001600160a01b031615611fac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106a5565b611fb860008383611cfa565b6001600160a01b0382166000908152600860205260408120805460019290611fe19084906127ba565b909155505060008181526007602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161204c84610cf0565b61205691906127a3565b6000838152600c60205260409020549091508082146120a9576001600160a01b0384166000908152600b602090815260408083208584528252808320548484528184208190558352600c90915290208190555b506000918252600c602090815260408084208490556001600160a01b039094168352600b81528383209183525290812055565b600d546000906120ee906001906127a3565b6000838152600e6020526040812054600d80549394509092849081106121165761211661269e565b9060005260206000200154905080600d83815481106121375761213761269e565b6000918252602080832090910192909255828152600e9091526040808220849055858252812055600d80548061216f5761216f61290d565b6001900381819060005260206000200160009055905550505050565b600061219683610cf0565b6001600160a01b039093166000908152600b602090815260408083208684528252808320859055938252600c9052919091209190915550565b8280546121db90612612565b90600052602060002090601f0160209004810192826121fd5760008555612243565b82601f1061221657805160ff1916838001178555612243565b82800160010185558215612243579182015b82811115612243578251825591602001919060010190612228565b5061224f929150612253565b5090565b5b8082111561224f5760008155600101612254565b6001600160e01b0319811681146111a457600080fd5b60006020828403121561229057600080fd5b81356110d381612268565b60005b838110156122b657818101518382015260200161229e565b83811115610ff95750506000910152565b600081518084526122df81602086016020860161229b565b601f01601f19169290920160200192915050565b6020815260006110d360208301846122c7565b60006020828403121561231857600080fd5b5035919050565b80356001600160a01b038116811461233657600080fd5b919050565b6000806040838503121561234e57600080fd5b6123578361231f565b946020939093013593505050565b60006020828403121561237757600080fd5b6110d38261231f565b600080600080600080600080610100898b03121561239d57600080fd5b8835975060208901359650604089013595506123bb60608a0161231f565b9450608089013560ff811681146123d157600080fd5b979a969950949793969560a0850135955060c08501359460e001359350915050565b60008060006060848603121561240857600080fd5b6124118461231f565b925061241f6020850161231f565b9150604084013590509250925092565b6000806040838503121561244257600080fd5b823591506124526020840161231f565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561248c5761248c61245b565b604051601f8501601f19908116603f011681019082821181831017156124b4576124b461245b565b816040528093508581528686860111156124cd57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124f957600080fd5b813567ffffffffffffffff81111561251057600080fd5b8201601f8101841361252157600080fd5b61154b84823560208401612471565b6000806040838503121561254357600080fd5b61254c8361231f565b91506020830135801515811461256157600080fd5b809150509250929050565b6000806000806080858703121561258257600080fd5b61258b8561231f565b93506125996020860161231f565b925060408501359150606085013567ffffffffffffffff8111156125bc57600080fd5b8501601f810187136125cd57600080fd5b6125dc87823560208401612471565b91505092959194509250565b600080604083850312156125fb57600080fd5b6126048361231f565b91506124526020840161231f565b600181811c9082168061262657607f821691505b6020821081141561264757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600083516126fb81846020880161229b565b83519083019061270f81836020880161229b565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161275081601785016020880161229b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161278181602884016020880161229b565b01602801949350505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156127b5576127b561278d565b500390565b600082198211156127cd576127cd61278d565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156128385761283861278d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826128645761286461283f565b500490565b6000826128785761287861283f565b500690565b60008160001904831182151516156128975761289761278d565b500290565b6000816128ab576128ab61278d565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128e6908301846122c7565b9695505050505050565b60006020828403121561290257600080fd5b81516110d381612268565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e5b6c0fdae231de989f75c1d6fc56d1da24d6baad08b28f867101046f5aec87764736f6c63430008090033
Deployed Bytecode Sourcemap
219:2531:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2520:228;;;;;;:::i;:::-;;:::i;:::-;;;565:14:20;;558:22;540:41;;528:2;513:18;2520:228:18;;;;;;;;2423:98:4;;;:::i;:::-;;;;;;;:::i;3934:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:20;;;1674:51;;1662:2;1647:18;3934:217:4;1528:203:20;3472:401:4;;;;;;:::i;:::-;;:::i;:::-;;2259:255:18;;;;;;:::i;:::-;;:::i;1614:111:5:-;1701:10;:17;1614:111;;;2510:25:20;;;2498:2;2483:18;1614:111:5;2364:177:20;1037:545:18;;;;;;:::i;:::-;;:::i;195:21:17:-;;;;;-1:-1:-1;;;;;195:21:17;;;4661:330:4;;;;;;:::i;:::-;;:::i;3973:129:0:-;;;;;;:::i;:::-;4047:7;4073:12;;;;;;;;;;:22;;;;3973:129;4352:145;;;;;;:::i;:::-;;:::i;1290:253:5:-;;;;;;:::i;:::-;;:::i;5369:214:0:-;;;;;;:::i;:::-;;:::i;669:118:18:-;;;;;;:::i;:::-;;:::i;5057:179:4:-;;;;;;:::i;:::-;;:::i;1797:230:5:-;;;;;;:::i;:::-;;:::i;1979:129:18:-;;;;;;:::i;:::-;;:::i;2126:235:4:-;;;;;;:::i;:::-;;:::i;311:21:18:-;;;:::i;889:143:17:-;;;;;;:::i;:::-;;:::i;2114:139:18:-;;;;;;:::i;:::-;;:::i;1864:205:4:-;;;;;;:::i;:::-;;:::i;1661:101:12:-;;;:::i;159:30:17:-;;;;;;1029:85:12;1101:6;;-1:-1:-1;;;;;1101:6:12;1029:85;;2874:145:0;;;;;;:::i;:::-;;:::i;2585:102:4:-;;;:::i;1588:281:18:-;;;;;;:::i;:::-;;:::i;1992:49:0:-;;2037:4;1992:49;;4218:153:4;;;;;;:::i;:::-;;:::i;793:238:18:-;;;;;;:::i;:::-;;:::i;5302:320:4:-;;;;;;:::i;:::-;;:::i;2753:329::-;;;;;;:::i;:::-;;:::i;164:62:16:-;;202:24;164:62;;4731:147:0;;;;;;:::i;:::-;;:::i;338:31:18:-;;;;;;314:150:16;;;;;;:::i;:::-;;:::i;4437:162:4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4557:25:4;;;4534:4;4557:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4437:162;222:45:17;;;;;;:::i;:::-;;;;;;;;;;;;;;1911:198:12;;;;;;:::i;:::-;;:::i;2520:228:18:-;2678:4;2705:36;2729:11;2705:23;:36::i;:::-;2698:43;2520:228;-1:-1:-1;;2520:228:18:o;2423:98:4:-;2477:13;2509:5;2502:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2423:98;:::o;3934:217::-;4010:7;7182:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7182:16:4;4029:73;;;;-1:-1:-1;;;4029:73:4;;7367:2:20;4029:73:4;;;7349:21:20;7406:2;7386:18;;;7379:30;7445:34;7425:18;;;7418:62;-1:-1:-1;;;7496:18:20;;;7489:42;7548:19;;4029:73:4;;;;;;;;;-1:-1:-1;4120:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4120:24:4;;3934:217::o;3472:401::-;3552:13;3568:23;3583:7;3568:14;:23::i;:::-;3552:39;;3615:5;-1:-1:-1;;;;;3609:11:4;:2;-1:-1:-1;;;;;3609:11:4;;;3601:57;;;;-1:-1:-1;;;3601:57:4;;7780:2:20;3601:57:4;;;7762:21:20;7819:2;7799:18;;;7792:30;7858:34;7838:18;;;7831:62;-1:-1:-1;;;7909:18:20;;;7902:31;7950:19;;3601:57:4;7578:397:20;3601:57:4;719:10:2;-1:-1:-1;;;;;3690:21:4;;;;:62;;-1:-1:-1;3715:37:4;3732:5;719:10:2;4437:162:4;:::i;3715:37::-;3669:165;;;;-1:-1:-1;;;3669:165:4;;8182:2:20;3669:165:4;;;8164:21:20;8221:2;8201:18;;;8194:30;8260:34;8240:18;;;8233:62;8331:26;8311:18;;;8304:54;8375:19;;3669:165:4;7980:420:20;3669:165:4;3845:21;3854:2;3858:7;3845:8;:21::i;:::-;3542:331;3472:401;;:::o;2259:255:18:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;2377:39:18::1;2037:4:0;2407:8:18::0;2377:9:::1;:39::i;:::-;2426:44;2037:4:0;719:10:2::0;4731:147:0;:::i;2426:44:18:-:1;2480:27;2498:8;2480:17;:27::i;:::-;2259:255:::0;;:::o;1037:545::-;1283:9;;1701:10:5;:17;1267:25:18;1259:58;;;;-1:-1:-1;;;1259:58:18;;8607:2:20;1259:58:18;;;8589:21:20;8646:2;8626:18;;;8619:30;-1:-1:-1;;;8665:18:20;;;8658:50;8725:18;;1259:58:18;8405:344:20;1259:58:18;1335:16;;;;:10;:16;;;;;;:24;;;1327:54;;;;-1:-1:-1;;;1327:54:18;;8956:2:20;1327:54:18;;;8938:21:20;8995:2;8975:18;;;8968:30;-1:-1:-1;;;9014:18:20;;;9007:47;9071:18;;1327:54:18;8754:341:20;1327:54:18;1391:64;1404:7;1413:9;1424:7;1433:6;1441:1;1444;1447;1450:4;1391:12;:64::i;:::-;1465:16;;;;:10;:16;;;;;:23;;;1498:26;1508:6;1516:7;1498:9;:26::i;:::-;1565:9;1556:7;1548:6;-1:-1:-1;;;;;1539:36:18;;;;;;;;;;;1037:545;;;;;;;;:::o;4661:330:4:-;4850:41;719:10:2;4883:7:4;4850:18;:41::i;:::-;4842:103;;;;-1:-1:-1;;;4842:103:4;;;;;;;:::i;:::-;4956:28;4966:4;4972:2;4976:7;4956:9;:28::i;4352:145:0:-;4047:7;4073:12;;;;;;;;;;:22;;;2470:30;2481:4;719:10:2;2470::0;:30::i;:::-;4465:25:::1;4476:4;4482:7;4465:10;:25::i;1290:253:5:-:0;1387:7;1422:23;1439:5;1422:16;:23::i;:::-;1414:5;:31;1406:87;;;;-1:-1:-1;;;1406:87:5;;9720:2:20;1406:87:5;;;9702:21:20;9759:2;9739:18;;;9732:30;9798:34;9778:18;;;9771:62;-1:-1:-1;;;9849:18:20;;;9842:41;9900:19;;1406:87:5;9518:407:20;1406:87:5;-1:-1:-1;;;;;;1510:19:5;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1290:253::o;5369:214:0:-;-1:-1:-1;;;;;5464:23:0;;719:10:2;5464:23:0;5456:83;;;;-1:-1:-1;;;5456:83:0;;10132:2:20;5456:83:0;;;10114:21:20;10171:2;10151:18;;;10144:30;10210:34;10190:18;;;10183:62;-1:-1:-1;;;10261:18:20;;;10254:45;10316:19;;5456:83:0;9930:411:20;5456:83:0;5550:26;5562:4;5568:7;5550:11;:26::i;669:118:18:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;758:22:18::1;768:2;772:7;758:9;:22::i;5057:179:4:-:0;5190:39;5207:4;5213:2;5217:7;5190:39;;;;;;;;;;;;:16;:39::i;1797:230:5:-;1872:7;1907:30;1701:10;:17;;1614:111;1907:30;1899:5;:38;1891:95;;;;-1:-1:-1;;;1891:95:5;;10548:2:20;1891:95:5;;;10530:21:20;10587:2;10567:18;;;10560:30;10626:34;10606:18;;;10599:62;-1:-1:-1;;;10677:18:20;;;10670:42;10729:19;;1891:95:5;10346:408:20;1891:95:5;2003:10;2014:5;2003:17;;;;;;;;:::i;:::-;;;;;;;;;1996:24;;1797:230;;;:::o;1979:129:18:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;2087:14:18;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;2126:235:4:-:0;2198:7;2233:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2233:16:4;2267:19;2259:73;;;;-1:-1:-1;;;2259:73:4;;11093:2:20;2259:73:4;;;11075:21:20;11132:2;11112:18;;;11105:30;11171:34;11151:18;;;11144:62;-1:-1:-1;;;11222:18:20;;;11215:39;11271:19;;2259:73:4;10891:405:20;311:21:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;889:143:17:-;1101:6:12;;-1:-1:-1;;;;;1101:6:12;719:10:2;1241:23:12;1233:68;;;;-1:-1:-1;;;1233:68:12;;;;;;;:::i;:::-;953:6:17::1;:17:::0;;-1:-1:-1;;;;;;953:17:17::1;-1:-1:-1::0;;;;;953:17:17;::::1;::::0;;::::1;::::0;;;986:39:::1;::::0;1009:15:::1;::::0;953:17;986:39:::1;::::0;-1:-1:-1;;986:39:17::1;889:143:::0;:::o;2114:139:18:-;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;:::-;-1:-1:-1;2224:9:18::1;:22:::0;2114:139::o;1864:205:4:-;1936:7;-1:-1:-1;;;;;1963:19:4;;1955:74;;;;-1:-1:-1;;;1955:74:4;;11864:2:20;1955:74:4;;;11846:21:20;11903:2;11883:18;;;11876:30;11942:34;11922:18;;;11915:62;-1:-1:-1;;;11993:18:20;;;11986:40;12043:19;;1955:74:4;11662:406:20;1955:74:4;-1:-1:-1;;;;;;2046:16:4;;;;;:9;:16;;;;;;;1864:205::o;1661:101:12:-;1101:6;;-1:-1:-1;;;;;1101:6:12;719:10:2;1241:23:12;1233:68;;;;-1:-1:-1;;;1233:68:12;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;2874:145:0:-;2960:4;2983:12;;;;;;;;;;;-1:-1:-1;;;;;2983:29:0;;;;;;;;;;;;;;;2874:145::o;2585:102:4:-;2641:13;2673:7;2666:14;;;;;:::i;1588:281:18:-;7159:4:4;7182:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7182:16:4;1644:49:18;;;;-1:-1:-1;;;1644:49:18;;12275:2:20;1644:49:18;;;12257:21:20;12314:2;12294:18;;;12287:30;-1:-1:-1;;;12333:18:20;;;12326:50;12393:18;;1644:49:18;12073:344:20;1644:49:18;719:10:2;1711:16:18;1719:7;1711;:16::i;:::-;-1:-1:-1;;;;;1711:32:18;;1703:70;;;;-1:-1:-1;;;1703:70:18;;12624:2:20;1703:70:18;;;12606:21:20;12663:2;12643:18;;;12636:30;12702:27;12682:18;;;12675:55;12747:18;;1703:70:18;12422:349:20;1703:70:18;1783:14;1789:7;1783:5;:14::i;:::-;1812:50;;1846:15;;1837:7;;719:10:2;;1812:50:18;;;;;1588:281;:::o;4218:153:4:-;4312:52;719:10:2;4345:8:4;4355;4312:18;:52::i;793:238:18:-;1744:1:14;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:14;;12978:2:20;2317:63:14;;;12960:21:20;13017:2;12997:18;;;12990:30;13056:33;13036:18;;;13029:61;13107:18;;2317:63:14;12776:355:20;2317:63:14;1744:1;2455:7;:18;202:24:16::1;2470:30:0;202:24:16::0;719:10:2;2470::0;:30::i;:::-:1;958:9:18::2;::::0;1701:10:5;:17;942:25:18::2;934:58;;;::::0;-1:-1:-1;;;934:58:18;;8607:2:20;934:58:18::2;::::0;::::2;8589:21:20::0;8646:2;8626:18;;;8619:30;-1:-1:-1;;;8665:18:20;;;8658:50;8725:18;;934:58:18::2;8405:344:20::0;934:58:18::2;1002:22;1012:2;1016:7;1002:9;:22::i;:::-;-1:-1:-1::0;;1701:1:14;2628:7;:22;-1:-1:-1;793:238:18:o;5302:320:4:-;5471:41;719:10:2;5504:7:4;5471:18;:41::i;:::-;5463:103;;;;-1:-1:-1;;;5463:103:4;;;;;;;:::i;:::-;5576:39;5590:4;5596:2;5600:7;5609:5;5576:13;:39::i;:::-;5302:320;;;;:::o;2753:329::-;7159:4;7182:16;;;:7;:16;;;;;;2826:13;;-1:-1:-1;;;;;7182:16:4;2851:76;;;;-1:-1:-1;;;2851:76:4;;13338:2:20;2851:76:4;;;13320:21:20;13377:2;13357:18;;;13350:30;13416:34;13396:18;;;13389:62;-1:-1:-1;;;13467:18:20;;;13460:45;13522:19;;2851:76:4;13136:411:20;2851:76:4;2938:21;2962:10;:8;:10::i;:::-;2938:34;;3013:1;2995:7;2989:21;:25;:86;;;;;;;;;;;;;;;;;3041:7;3050:18;:7;:16;:18::i;:::-;3024:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2989:86;2982:93;2753:329;-1:-1:-1;;;2753:329:4:o;4731:147:0:-;4047:7;4073:12;;;;;;;;;;:22;;;2470:30;2481:4;719:10:2;2470::0;:30::i;:::-;4845:26:::1;4857:4;4863:7;4845:11;:26::i;314:150:16:-:0;2037:4:0;2470:30;2037:4;719:10:2;2470::0;:30::i;1911:198:12:-;1101:6;;-1:-1:-1;;;;;1101:6:12;719:10:2;1241:23:12;1233:68;;;;-1:-1:-1;;;1233:68:12;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:12;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:12;;14229:2:20;1991:73:12::1;::::0;::::1;14211:21:20::0;14268:2;14248:18;;;14241:30;14307:34;14287:18;;;14280:62;-1:-1:-1;;;14358:18:20;;;14351:36;14404:19;;1991:73:12::1;14027:402:20::0;1991:73:12::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;989:222:5:-;1091:4;-1:-1:-1;;;;;;1114:50:5;;-1:-1:-1;;;1114:50:5;;:90;;;1168:36;1192:11;1168:23;:36::i;11103:171:4:-;11177:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11177:29:4;-1:-1:-1;;;;;11177:29:4;;;;;;;;:24;;11230:23;11177:24;11230:14;:23::i;:::-;-1:-1:-1;;;;;11221:46:4;;;;;;;;;;;11103:171;;:::o;3300:492:0:-;3388:22;3396:4;3402:7;3388;:22::i;:::-;3383:403;;3571:41;3599:7;-1:-1:-1;;;;;3571:41:0;3609:2;3571:19;:41::i;:::-;3683:38;3711:4;3718:2;3683:19;:38::i;:::-;3478:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3478:265:0;;;;;;;;;;-1:-1:-1;;;3426:349:0;;;;;;;:::i;2186:647:17:-;1857:302;;;1889:135;1857:302;;;;20558:25:20;;;;20599:18;;;20592:34;;;20642:18;;;20635:34;;;20685:18;;;20678:34;;;-1:-1:-1;;;;;20749:32:20;;20728:19;;;;20721:61;;;;1857:302:17;;;;;;;;;;20530:19:20;;;1857:302:17;;1830:343;;;;;;2618:15;;-1:-1:-1;;;2589:57:17;;;15483:27:20;15526:11;;;15519:27;15562:12;;;;15555:28;;;2589:57:17;;;;;;;;;;15599:12:20;;;;2589:57:17;;;2566:90;;;;;2674:12;;;2666:40;;;;-1:-1:-1;;;2666:40:17;;15824:2:20;2666:40:17;;;15806:21:20;15863:2;15843:18;;;15836:30;-1:-1:-1;;;15882:18:20;;;15875:45;15937:18;;2666:40:17;15622:339:20;2666:40:17;2738:24;;;2716:19;2738:24;;;;;;;;;16193:25:20;;;16266:4;16254:17;;16234:18;;;16227:45;;;;16288:18;;;16281:34;;;16331:18;;;16324:34;;;2738:24:17;;16165:19:20;;2738:24:17;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:24:17;;-1:-1:-1;;2738:24:17;;2780:6;;2738:24;;-1:-1:-1;;;;;;2780:21:17;;;:6;;:21;;-1:-1:-1;2772:54:17;;;;-1:-1:-1;;;2772:54:17;;16571:2:20;2772:54:17;;;16553:21:20;16610:2;16590:18;;;16583:30;-1:-1:-1;;;16629:18:20;;;16622:50;16689:18;;2772:54:17;16369:344:20;2772:54:17;2406:427;;;2186:647;;;;;;;;:::o;8051:108:4:-;8126:26;8136:2;8140:7;8126:26;;;;;;;;;;;;:9;:26::i;7377:344::-;7470:4;7182:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7182:16:4;7486:73;;;;-1:-1:-1;;;7486:73:4;;16920:2:20;7486:73:4;;;16902:21:20;16959:2;16939:18;;;16932:30;16998:34;16978:18;;;16971:62;-1:-1:-1;;;17049:18:20;;;17042:42;17101:19;;7486:73:4;16718:408:20;7486:73:4;7569:13;7585:23;7600:7;7585:14;:23::i;:::-;7569:39;;7637:5;-1:-1:-1;;;;;7626:16:4;:7;-1:-1:-1;;;;;7626:16:4;;:51;;;;7670:7;-1:-1:-1;;;;;7646:31:4;:20;7658:7;7646:11;:20::i;:::-;-1:-1:-1;;;;;7646:31:4;;7626:51;:87;;;-1:-1:-1;;;;;;4557:25:4;;;4534:4;4557:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7681:32;7618:96;7377:344;-1:-1:-1;;;;7377:344:4:o;10387:605::-;10541:4;-1:-1:-1;;;;;10514:31:4;:23;10529:7;10514:14;:23::i;:::-;-1:-1:-1;;;;;10514:31:4;;10506:81;;;;-1:-1:-1;;;10506:81:4;;17333:2:20;10506:81:4;;;17315:21:20;17372:2;17352:18;;;17345:30;17411:34;17391:18;;;17384:62;-1:-1:-1;;;17462:18:20;;;17455:35;17507:19;;10506:81:4;17131:401:20;10506:81:4;-1:-1:-1;;;;;10605:16:4;;10597:65;;;;-1:-1:-1;;;10597:65:4;;17739:2:20;10597:65:4;;;17721:21:20;17778:2;17758:18;;;17751:30;17817:34;17797:18;;;17790:62;-1:-1:-1;;;17868:18:20;;;17861:34;17912:19;;10597:65:4;17537:400:20;10597:65:4;10673:39;10694:4;10700:2;10704:7;10673:20;:39::i;:::-;10774:29;10791:1;10795:7;10774:8;:29::i;:::-;-1:-1:-1;;;;;10814:15:4;;;;;;:9;:15;;;;;:20;;10833:1;;10814:15;:20;;10833:1;;10814:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10844:13:4;;;;;;:9;:13;;;;;:18;;10861:1;;10844:13;:18;;10861:1;;10844:18;:::i;:::-;;;;-1:-1:-1;;10872:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10872:21:4;-1:-1:-1;;;;;10872:21:4;;;;;;;;;10909:27;;10872:16;;10909:27;;;;;;;3542:331;3472:401;;:::o;6826:233:0:-;6909:22;6917:4;6923:7;6909;:22::i;:::-;6904:149;;6947:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6947:29:0;;;;;;;;;:36;;-1:-1:-1;;6947:36:0;6979:4;6947:36;;;7029:12;719:10:2;;640:96;7029:12:0;-1:-1:-1;;;;;7002:40:0;7020:7;-1:-1:-1;;;;;7002:40:0;7014:4;7002:40;;;;;;;;;;6826:233;;:::o;7184:234::-;7267:22;7275:4;7281:7;7267;:22::i;:::-;7263:149;;;7337:5;7305:12;;;;;;;;;;;-1:-1:-1;;;;;7305:29:0;;;;;;;;;;:37;;-1:-1:-1;;7305:37:0;;;7361:40;719:10:2;;7305:12:0;;7361:40;;7337:5;7361:40;7184:234;;:::o;2263:187:12:-;2355:6;;;-1:-1:-1;;;;;2371:17:12;;;-1:-1:-1;;;;;;2371:17:12;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;9657:406:4:-;9716:13;9732:23;9747:7;9732:14;:23::i;:::-;9716:39;;9766:48;9787:5;9802:1;9806:7;9766:20;:48::i;:::-;9852:29;9869:1;9873:7;9852:8;:29::i;:::-;-1:-1:-1;;;;;9892:16:4;;;;;;:9;:16;;;;;:21;;9912:1;;9892:16;:21;;9912:1;;9892:21;:::i;:::-;;;;-1:-1:-1;;9930:16:4;;;;:7;:16;;;;;;9923:23;;-1:-1:-1;;;;;;9923:23:4;;;9962:36;9938:7;;9930:16;-1:-1:-1;;;;;9962:36:4;;;;;9930:16;;9962:36;2259:255:18;;:::o;11409:307:4:-;11559:8;-1:-1:-1;;;;;11550:17:4;:5;-1:-1:-1;;;;;11550:17:4;;;11542:55;;;;-1:-1:-1;;;11542:55:4;;18539:2:20;11542:55:4;;;18521:21:20;18578:2;18558:18;;;18551:30;18617:27;18597:18;;;18590:55;18662:18;;11542:55:4;18337:349:20;11542:55:4;-1:-1:-1;;;;;11607:25:4;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11607:46:4;;;;;;;;;;11668:41;;540::20;;;11668::4;;513:18:20;11668:41:4;;;;;;;11409:307;;;:::o;6484:::-;6635:28;6645:4;6651:2;6655:7;6635:9;:28::i;:::-;6681:48;6704:4;6710:2;6714:7;6723:5;6681:22;:48::i;:::-;6673:111;;;;-1:-1:-1;;;6673:111:4;;;;;;;:::i;1875:98:18:-;1927:13;1959:7;1952:14;;;;;:::i;328:703:15:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:15;;;;;;;;;;;;-1:-1:-1;;;627:10:15;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:15;;-1:-1:-1;773:2:15;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:15;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:15;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:15;;;;;;;;-1:-1:-1;972:11:15;981:2;972:11;;:::i;:::-;;;844:150;;1505:300:4;1607:4;-1:-1:-1;;;;;;1642:40:4;;-1:-1:-1;;;1642:40:4;;:104;;-1:-1:-1;;;;;;;1698:48:4;;-1:-1:-1;;;1698:48:4;1642:104;:156;;;;1762:36;1786:11;1762:23;:36::i;1588:441:15:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:15;;1688:47;;-1:-1:-1;;;1745:6:15;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:15;;;;;;;;;-1:-1:-1;;;1770:6:15;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:15;;;;;;;;-1:-1:-1;1800:9:15;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:15;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:15;;;;;;;;-1:-1:-1;1915:1:15;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:15;;1936:55;;;;-1:-1:-1;;;1936:55:15;;20140:2:20;1936:55:15;;;20122:21:20;;;20159:18;;;20152:30;20218:34;20198:18;;;20191:62;20270:18;;1936:55:15;19938:356:20;8380:311:4;8505:18;8511:2;8515:7;8505:5;:18::i;:::-;8554:54;8585:1;8589:2;8593:7;8602:5;8554:22;:54::i;:::-;8533:151;;;;-1:-1:-1;;;8533:151:4;;;;;;;:::i;2623:572:5:-;-1:-1:-1;;;;;2822:18:5;;2818:183;;2856:40;2888:7;4004:10;:17;;3977:24;;;;:15;:24;;;;;:44;;;4031:24;;;;;;;;;;;;3901:161;2856:40;2818:183;;;2925:2;-1:-1:-1;;;;;2917:10:5;:4;-1:-1:-1;;;;;2917:10:5;;2913:88;;2943:47;2976:4;2982:7;2943:32;:47::i;:::-;-1:-1:-1;;;;;3014:16:5;;3010:179;;3046:45;3083:7;3046:36;:45::i;3010:179::-;3118:4;-1:-1:-1;;;;;3112:10:5;:2;-1:-1:-1;;;;;3112:10:5;;3108:81;;3138:40;3166:2;3170:7;3138:27;:40::i;12269:778:4:-;12419:4;-1:-1:-1;;;;;12439:13:4;;1465:19:1;:23;12435:606:4;;12474:72;;-1:-1:-1;;;12474:72:4;;-1:-1:-1;;;;;12474:36:4;;;;;:72;;719:10:2;;12525:4:4;;12531:7;;12540:5;;12474:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12474:72:4;;;;;;;;-1:-1:-1;;12474:72:4;;;;;;;;;;;;:::i;:::-;;;12470:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12713:13:4;;12709:266;;12755:60;;-1:-1:-1;;;12755:60:4;;;;;;;:::i;12709:266::-;12927:6;12921:13;12912:6;12908:2;12904:15;12897:38;12470:519;-1:-1:-1;;;;;;12596:51:4;-1:-1:-1;;;12596:51:4;;-1:-1:-1;12589:58:4;;12435:606;-1:-1:-1;13026:4:4;13019:11;;2585:202:0;2670:4;-1:-1:-1;;;;;;2693:47:0;;-1:-1:-1;;;2693:47:0;;:87;;-1:-1:-1;;;;;;;;;;937:40:3;;;2744:36:0;829:155:3;9013:427:4;-1:-1:-1;;;;;9092:16:4;;9084:61;;;;-1:-1:-1;;;9084:61:4;;21743:2:20;9084:61:4;;;21725:21:20;;;21762:18;;;21755:30;21821:34;21801:18;;;21794:62;21873:18;;9084:61:4;21541:356:20;9084:61:4;7159:4;7182:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7182:16:4;:30;9155:58;;;;-1:-1:-1;;;9155:58:4;;22104:2:20;9155:58:4;;;22086:21:20;22143:2;22123:18;;;22116:30;22182;22162:18;;;22155:58;22230:18;;9155:58:4;21902:352:20;9155:58:4;9224:45;9253:1;9257:2;9261:7;9224:20;:45::i;:::-;-1:-1:-1;;;;;9280:13:4;;;;;;:9;:13;;;;;:18;;9297:1;;9280:13;:18;;9297:1;;9280:18;:::i;:::-;;;;-1:-1:-1;;9308:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9308:21:4;-1:-1:-1;;;;;9308:21:4;;;;;;;;9345:33;;9308:16;;;9345:33;;9308:16;;9345:33;2259:255:18;;:::o;4679:970:5:-;4941:22;4991:1;4966:22;4983:4;4966:16;:22::i;:::-;:26;;;;:::i;:::-;5002:18;5023:26;;;:17;:26;;;;;;4941:51;;-1:-1:-1;5153:28:5;;;5149:323;;-1:-1:-1;;;;;5219:18:5;;5197:19;5219:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5268:30;;;;;;:44;;;5384:30;;:17;:30;;;;;:43;;;5149:323;-1:-1:-1;5565:26:5;;;;:17;:26;;;;;;;;5558:33;;;-1:-1:-1;;;;;5608:18:5;;;;;:12;:18;;;;;:34;;;;;;;5601:41;4679:970::o;5937:1061::-;6211:10;:17;6186:22;;6211:21;;6231:1;;6211:21;:::i;:::-;6242:18;6263:24;;;:15;:24;;;;;;6631:10;:26;;6186:46;;-1:-1:-1;6263:24:5;;6186:46;;6631:26;;;;;;:::i;:::-;;;;;;;;;6609:48;;6693:11;6668:10;6679;6668:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6772:28;;;:15;:28;;;;;;;:41;;;6941:24;;;;;6934:31;6975:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6008:990;;;5937:1061;:::o;3489:217::-;3573:14;3590:20;3607:2;3590:16;:20::i;:::-;-1:-1:-1;;;;;3620:16:5;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3664:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3489:217:5:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:20;-1:-1:-1;;;;;;88:32:20;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:20;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:20;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:20:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:20;;1343:180;-1:-1:-1;1343:180:20:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:20;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:20:o;2173:186::-;2232:6;2285:2;2273:9;2264:7;2260:23;2256:32;2253:52;;;2301:1;2298;2291:12;2253:52;2324:29;2343:9;2324:29;:::i;2546:756::-;2666:6;2674;2682;2690;2698;2706;2714;2722;2775:3;2763:9;2754:7;2750:23;2746:33;2743:53;;;2792:1;2789;2782:12;2743:53;2828:9;2815:23;2805:33;;2885:2;2874:9;2870:18;2857:32;2847:42;;2936:2;2925:9;2921:18;2908:32;2898:42;;2959:38;2993:2;2982:9;2978:18;2959:38;:::i;:::-;2949:48;;3047:3;3036:9;3032:19;3019:33;3092:4;3085:5;3081:16;3074:5;3071:27;3061:55;;3112:1;3109;3102:12;3061:55;2546:756;;;;-1:-1:-1;2546:756:20;;;;3135:5;3187:3;3172:19;;3159:33;;-1:-1:-1;3239:3:20;3224:19;;3211:33;;3291:3;3276:19;3263:33;;-1:-1:-1;2546:756:20;-1:-1:-1;;2546:756:20:o;3307:328::-;3384:6;3392;3400;3453:2;3441:9;3432:7;3428:23;3424:32;3421:52;;;3469:1;3466;3459:12;3421:52;3492:29;3511:9;3492:29;:::i;:::-;3482:39;;3540:38;3574:2;3563:9;3559:18;3540:38;:::i;:::-;3530:48;;3625:2;3614:9;3610:18;3597:32;3587:42;;3307:328;;;;;:::o;4007:254::-;4075:6;4083;4136:2;4124:9;4115:7;4111:23;4107:32;4104:52;;;4152:1;4149;4142:12;4104:52;4188:9;4175:23;4165:33;;4217:38;4251:2;4240:9;4236:18;4217:38;:::i;:::-;4207:48;;4007:254;;;;;:::o;4266:127::-;4327:10;4322:3;4318:20;4315:1;4308:31;4358:4;4355:1;4348:15;4382:4;4379:1;4372:15;4398:632;4463:5;4493:18;4534:2;4526:6;4523:14;4520:40;;;4540:18;;:::i;:::-;4615:2;4609:9;4583:2;4669:15;;-1:-1:-1;;4665:24:20;;;4691:2;4661:33;4657:42;4645:55;;;4715:18;;;4735:22;;;4712:46;4709:72;;;4761:18;;:::i;:::-;4801:10;4797:2;4790:22;4830:6;4821:15;;4860:6;4852;4845:22;4900:3;4891:6;4886:3;4882:16;4879:25;4876:45;;;4917:1;4914;4907:12;4876:45;4967:6;4962:3;4955:4;4947:6;4943:17;4930:44;5022:1;5015:4;5006:6;4998;4994:19;4990:30;4983:41;;;;4398:632;;;;;:::o;5035:451::-;5104:6;5157:2;5145:9;5136:7;5132:23;5128:32;5125:52;;;5173:1;5170;5163:12;5125:52;5213:9;5200:23;5246:18;5238:6;5235:30;5232:50;;;5278:1;5275;5268:12;5232:50;5301:22;;5354:4;5346:13;;5342:27;-1:-1:-1;5332:55:20;;5383:1;5380;5373:12;5332:55;5406:74;5472:7;5467:2;5454:16;5449:2;5445;5441:11;5406:74;:::i;5491:347::-;5556:6;5564;5617:2;5605:9;5596:7;5592:23;5588:32;5585:52;;;5633:1;5630;5623:12;5585:52;5656:29;5675:9;5656:29;:::i;:::-;5646:39;;5735:2;5724:9;5720:18;5707:32;5782:5;5775:13;5768:21;5761:5;5758:32;5748:60;;5804:1;5801;5794:12;5748:60;5827:5;5817:15;;;5491:347;;;;;:::o;5843:667::-;5938:6;5946;5954;5962;6015:3;6003:9;5994:7;5990:23;5986:33;5983:53;;;6032:1;6029;6022:12;5983:53;6055:29;6074:9;6055:29;:::i;:::-;6045:39;;6103:38;6137:2;6126:9;6122:18;6103:38;:::i;:::-;6093:48;;6188:2;6177:9;6173:18;6160:32;6150:42;;6243:2;6232:9;6228:18;6215:32;6270:18;6262:6;6259:30;6256:50;;;6302:1;6299;6292:12;6256:50;6325:22;;6378:4;6370:13;;6366:27;-1:-1:-1;6356:55:20;;6407:1;6404;6397:12;6356:55;6430:74;6496:7;6491:2;6478:16;6473:2;6469;6465:11;6430:74;:::i;:::-;6420:84;;;5843:667;;;;;;;:::o;6515:260::-;6583:6;6591;6644:2;6632:9;6623:7;6619:23;6615:32;6612:52;;;6660:1;6657;6650:12;6612:52;6683:29;6702:9;6683:29;:::i;:::-;6673:39;;6731:38;6765:2;6754:9;6750:18;6731:38;:::i;6780:380::-;6859:1;6855:12;;;;6902;;;6923:61;;6977:4;6969:6;6965:17;6955:27;;6923:61;7030:2;7022:6;7019:14;6999:18;6996:38;6993:161;;;7076:10;7071:3;7067:20;7064:1;7057:31;7111:4;7108:1;7101:15;7139:4;7136:1;7129:15;6993:161;;6780:380;;;:::o;9100:413::-;9302:2;9284:21;;;9341:2;9321:18;;;9314:30;9380:34;9375:2;9360:18;;9353:62;-1:-1:-1;;;9446:2:20;9431:18;;9424:47;9503:3;9488:19;;9100:413::o;10759:127::-;10820:10;10815:3;10811:20;10808:1;10801:31;10851:4;10848:1;10841:15;10875:4;10872:1;10865:15;11301:356;11503:2;11485:21;;;11522:18;;;11515:30;11581:34;11576:2;11561:18;;11554:62;11648:2;11633:18;;11301:356::o;13552:470::-;13731:3;13769:6;13763:13;13785:53;13831:6;13826:3;13819:4;13811:6;13807:17;13785:53;:::i;:::-;13901:13;;13860:16;;;;13923:57;13901:13;13860:16;13957:4;13945:17;;13923:57;:::i;:::-;13996:20;;13552:470;-1:-1:-1;;;;13552:470:20:o;14434:786::-;14845:25;14840:3;14833:38;14815:3;14900:6;14894:13;14916:62;14971:6;14966:2;14961:3;14957:12;14950:4;14942:6;14938:17;14916:62;:::i;:::-;-1:-1:-1;;;15037:2:20;14997:16;;;15029:11;;;15022:40;15087:13;;15109:63;15087:13;15158:2;15150:11;;15143:4;15131:17;;15109:63;:::i;:::-;15192:17;15211:2;15188:26;;14434:786;-1:-1:-1;;;;14434:786:20:o;17942:127::-;18003:10;17998:3;17994:20;17991:1;17984:31;18034:4;18031:1;18024:15;18058:4;18055:1;18048:15;18074:125;18114:4;18142:1;18139;18136:8;18133:34;;;18147:18;;:::i;:::-;-1:-1:-1;18184:9:20;;18074:125::o;18204:128::-;18244:3;18275:1;18271:6;18268:1;18265:13;18262:39;;;18281:18;;:::i;:::-;-1:-1:-1;18317:9:20;;18204:128::o;18691:414::-;18893:2;18875:21;;;18932:2;18912:18;;;18905:30;18971:34;18966:2;18951:18;;18944:62;-1:-1:-1;;;19037:2:20;19022:18;;19015:48;19095:3;19080:19;;18691:414::o;19110:135::-;19149:3;-1:-1:-1;;19170:17:20;;19167:43;;;19190:18;;:::i;:::-;-1:-1:-1;19237:1:20;19226:13;;19110:135::o;19250:127::-;19311:10;19306:3;19302:20;19299:1;19292:31;19342:4;19339:1;19332:15;19366:4;19363:1;19356:15;19382:120;19422:1;19448;19438:35;;19453:18;;:::i;:::-;-1:-1:-1;19487:9:20;;19382:120::o;19507:112::-;19539:1;19565;19555:35;;19570:18;;:::i;:::-;-1:-1:-1;19604:9:20;;19507:112::o;19624:168::-;19664:7;19730:1;19726;19722:6;19718:14;19715:1;19712:21;19707:1;19700:9;19693:17;19689:45;19686:71;;;19737:18;;:::i;:::-;-1:-1:-1;19777:9:20;;19624:168::o;19797:136::-;19836:3;19864:5;19854:39;;19873:18;;:::i;:::-;-1:-1:-1;;;19909:18:20;;19797:136::o;20793:489::-;-1:-1:-1;;;;;21062:15:20;;;21044:34;;21114:15;;21109:2;21094:18;;21087:43;21161:2;21146:18;;21139:34;;;21209:3;21204:2;21189:18;;21182:31;;;20987:4;;21230:46;;21256:19;;21248:6;21230:46;:::i;:::-;21222:54;20793:489;-1:-1:-1;;;;;;20793:489:20:o;21287:249::-;21356:6;21409:2;21397:9;21388:7;21384:23;21380:32;21377:52;;;21425:1;21422;21415:12;21377:52;21457:9;21451:16;21476:30;21500:5;21476:30;:::i;22259:127::-;22320:10;22315:3;22311:20;22308:1;22301:31;22351:4;22348:1;22341:15;22375:4;22372:1;22365:15
Swarm Source
ipfs://e5b6c0fdae231de989f75c1d6fc56d1da24d6baad08b28f867101046f5aec877
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.