ERC-721
Overview
Max Total Supply
0 BEB
Holders
34,692
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 BEBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BaseRegistrar
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
///////// // bebOS Labs // https://beb.domains // SPDX-License-Identifier: UNLICENSED ///////// pragma solidity >=0.8.4; import "./IBaseRegistrar.sol"; import "./IBEBRegistry.sol"; import "./IRoyaltyController.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BaseRegistrar is ERC721, IBaseRegistrar, Ownable { // A map of expiry times mapping(uint256=>uint) expiries; // The BEB registry IBEBRegistry public bebRegistry; // The Royalty Controller IRoyaltyController public royaltyController; // The namehash of the TLD this registrar owns (eg, .beb) bytes32 public baseNode; // A map of addresses that are authorised to register and renew names. mapping(address => bool) public controllers; // the grace period where the owner can renew but not reclaim the name uint256 public constant GRACE_PERIOD = 90 days; // The base metadata uri for the registrar string public baseURI; /** * v2.1.3 version of _isApprovedOrOwner which calls ownerOf(tokenId) and takes grace period into consideration instead of ERC721.ownerOf(tokenId); * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.1.3/contracts/token/ERC721/ERC721.sol#L187 * @dev Returns whether the given spender can transfer a given token ID * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) { address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } // // control the royalty information // function _beforeTokenTransfer(address from, address to, uint256 tokenId) // internal virtual override // { // (address royaltyAddress, uint256 royaltyAmount) = this.royaltyInfo(tokenId, msg.value); // if (from == address(0)) { // // if the from address is 0, then this is a transfer from the contract itself // // so we don't need to do anything // return; // } // payable(royaltyAddress).transfer(royaltyAmount); // transfer the royalty to the royalty receiver // payable(to).transfer(msg.value - royaltyAmount); // transfer the rest to the receiver // super._beforeTokenTransfer(from, to, tokenId); // Call parent hook; // } constructor(IBEBRegistry _bebRegistry, bytes32 _baseNode) ERC721("BEB","BEB") { bebRegistry = _bebRegistry; baseNode = _baseNode; } /** * @dev make sure the owner of base TLD (i.e .beb) is of this registrar in the BEB registry */ modifier live() { require(bebRegistry.owner(baseNode) == address(this)); _; } modifier onlyController { require(controllers[msg.sender]); _; } /** * @dev Gets the owner of the specified token ID. Names become unowned * when their registration expires. * @param tokenId uint256 ID of the token to query the owner of * @return address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view override(IERC721, ERC721) returns (address) { require(expiries[tokenId] > block.timestamp); return super.ownerOf(tokenId); } // Authorises a controller, who can register and renew domains. function addController(address controller) external override onlyOwner { controllers[controller] = true; } // Revoke controller permission for an address. function removeController(address controller) external override onlyOwner { controllers[controller] = false; } // Returns the expiration timestamp of the specified id. function nameExpires(uint256 id) external view override returns(uint) { return expiries[id]; } // Returns true iff the specified name is available for registration. function available(uint256 id) public view override returns(bool) { // Not available if it's registered here or in its grace period. return expiries[id] + GRACE_PERIOD < block.timestamp; } /** * @dev Register a name. * @param id The token ID (keccak256 of the label). * @param owner The address that should own the registration. * @param duration Duration in seconds for the registration. */ function register( uint256 id, address owner, uint256 duration ) external override returns (uint256) { return _register(id, owner, duration, true); } /** * @dev Register a name, without modifying the registry. * @param id The token ID (keccak256 of the label). * @param owner The address that should own the registration. * @param duration Duration in seconds for the registration. */ function registerOnly( uint256 id, address owner, uint256 duration ) external returns (uint256) { return _register(id, owner, duration, false); } function renew(uint256 id, uint duration) external override onlyController returns(uint) { require(expiries[id] + GRACE_PERIOD >= block.timestamp); // Name must be registered here or in grace period require(expiries[id] + duration + GRACE_PERIOD > duration + GRACE_PERIOD); // Prevent future overflow expiries[id] += duration; emit NameRenewed(id, expiries[id]); return expiries[id]; } /** * Internal functions */ function _register(uint256 id, address owner, uint duration, bool updateRegistry) internal live onlyController returns(uint) { require(available(id)); require(block.timestamp + duration + GRACE_PERIOD > block.timestamp + GRACE_PERIOD); // Prevent future overflow expiries[id] = block.timestamp + duration; if(_exists(id)) { // Name was previously owned, and expired _burn(id); } _mint(owner, id); if (updateRegistry) { bebRegistry.setSubnodeOwner(baseNode, bytes32(id), owner); } emit NameRegistered(id, owner, block.timestamp + duration); return block.timestamp + duration; } /** * @dev Reclaim ownership of a name in ENS, if you own it in the registrar. */ function reclaim(uint256 id, address owner) external live { require(_isApprovedOrOwner(msg.sender, id)); bebRegistry.setSubnodeOwner(baseNode, bytes32(id), owner); } /** * @dev Modify the baseURI. * @param uri The new baseURI. */ function setBaseURI(string calldata uri) external { return _setBaseURI(uri); } function _setBaseURI(string calldata uri) internal onlyOwner { baseURI = uri; } function _baseURI() internal view override returns(string memory) { return baseURI; } /** * @dev Modify the royaltyController. * @param _royaltyController The new royaltyController. */ function setRoyaltyController(IRoyaltyController _royaltyController) external { return _setRoyaltyController(_royaltyController); } function _setRoyaltyController(IRoyaltyController _royaltyController) internal onlyOwner { royaltyController = _royaltyController; } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { return royaltyController.royaltyInfo(tokenId, salePrice); } }
///////// // bebOS Labs // https://beb.domains // SPDX-License-Identifier: UNLICENSED ///////// pragma solidity >=0.8.4; import "./IBaseRegistrar.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IBaseRegistrar is IERC721 { event ControllerAdded(address indexed controller); event ControllerRemoved(address indexed controller); event NameMigrated( uint256 indexed id, address indexed owner, uint256 expires ); event NameRegistered( uint256 indexed id, address indexed owner, uint256 expires ); event NameRenewed(uint256 indexed id, uint256 expires); // Authorises a controller, who can register and renew domains. function addController(address controller) external; // Revoke controller permission for an address. function removeController(address controller) external; // Returns the expiration timestamp of the specified label hash. function nameExpires(uint256 id) external view returns (uint256); // Returns true iff the specified name is available for registration. function available(uint256 id) external view returns (bool); /** * @dev Register a name. */ function register( uint256 id, address owner, uint256 duration ) external returns (uint256); function renew(uint256 id, uint256 duration) external returns (uint256); }
///////// // bebOS Labs // https://beb.domains // SPDX-License-Identifier: UNLICENSED ///////// pragma solidity >=0.8.4; interface IBEBRegistry { // Logged when the owner of a node assigns a new owner to a subnode. event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); // Logged when the owner of a node transfers ownership to a new account. event Transfer(bytes32 indexed node, address owner); // Logged when the TTL of a node changes event NewTTL(bytes32 indexed node, uint64 ttl); // Logged when an operator is added or removed. event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); function setRecord( bytes32 node, address owner, uint64 ttl ) external; function setSubnodeRecord( bytes32 node, bytes32 label, address owner, uint64 ttl ) external; function setSubnodeOwner( bytes32 node, bytes32 label, address owner ) external returns (bytes32); function setOwner(bytes32 node, address owner) external; function setTTL(bytes32 node, uint64 ttl) external; function setApprovalForAll(address operator, bool approved) external; function owner(bytes32 node) external view returns (address); function ttl(bytes32 node) external view returns (uint64); function recordExists(bytes32 node) external view returns (bool); function isApprovedForAll(address owner, address operator) external view returns (bool); }
///////// // bebOS Labs // https://beb.domains // SPDX-License-Identifier: UNLICENSED ////////////////// import "@openzeppelin/contracts/interfaces/IERC2981.sol"; pragma solidity >=0.8.4; interface IRoyaltyController is IERC2981 {}
// 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 "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // 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 (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// 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: 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 (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 // 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/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); } }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IBEBRegistry","name":"_bebRegistry","type":"address"},{"internalType":"bytes32","name":"_baseNode","type":"bytes32"}],"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":"controller","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"}],"name":"ControllerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameMigrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRenewed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GRACE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"available","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseNode","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bebRegistry","outputs":[{"internalType":"contract IBEBRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"nameExpires","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"reclaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"register","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"registerOnly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyController","outputs":[{"internalType":"contract IRoyaltyController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IRoyaltyController","name":"_royaltyController","type":"address"}],"name":"setRoyaltyController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620042dc380380620042dc8339818101604052810190620000379190620002f3565b6040518060400160405280600381526020017f42454200000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f42454200000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000215565b508060019080519060200190620000d492919062000215565b505050620000f7620000eb6200014760201b60201c565b6200014f60201b60201c565b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a8190555050506200041f565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002239062000386565b90600052602060002090601f01602090048101928262000247576000855562000293565b82601f106200026257805160ff191683800117855562000293565b8280016001018555821562000293579182015b828111156200029257825182559160200191906001019062000275565b5b509050620002a29190620002a6565b5090565b5b80821115620002c1576000816000905550600101620002a7565b5090565b600081519050620002d681620003eb565b92915050565b600081519050620002ed8162000405565b92915050565b600080604083850312156200030757600080fd5b60006200031785828601620002dc565b92505060206200032a85828601620002c5565b9150509250929050565b6000620003418262000366565b9050919050565b6000819050919050565b60006200035f8262000334565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200039f57607f821691505b60208210811415620003b657620003b5620003bc565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003f68162000348565b81146200040257600080fd5b50565b620004108162000352565b81146200041c57600080fd5b50565b613ead806200042f6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637b4b59051161011a578063c475abff116100ad578063ddf7fcb01161007c578063ddf7fcb0146105e9578063e985e9c514610607578063f2fde38b14610637578063f6a74ed714610653578063fca247ac1461066f576101fb565b8063c475abff14610529578063c87b56dd14610559578063d6e4fa8614610589578063da8c229e146105b9576101fb565b8063a22cb465116100e9578063a22cb465146104b7578063a7fc7a07146104d3578063b88d4fde146104ef578063c1a287e21461050b576101fb565b80637b4b59051461042d5780638da5cb5b1461044b57806395d89b411461046957806396e494e814610487576101fb565b806328ed4f6c116101925780636352211e116101615780636352211e146103a55780636c0360eb146103d557806370a08231146103f3578063715018a614610423576101fb565b806328ed4f6c146103205780632a55205a1461033c57806342842e0e1461036d57806355f804b314610389576101fb565b80630e297b45116101ce5780630e297b451461029a578063105c4813146102ca57806311ed8c31146102e857806323b872dd14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612d75565b61069f565b60405161022791906132e3565b60405180910390f35b610238610781565b6040516102459190613386565b60405180910390f35b61026860048036038101906102639190612e35565b610813565b6040516102759190613253565b60405180910390f35b61029860048036038101906102939190612cd4565b610898565b005b6102b460048036038101906102af9190612e9a565b6109b0565b6040516102c19190613588565b60405180910390f35b6102d26109c8565b6040516102df919061336b565b60405180910390f35b61030260048036038101906102fd9190612dc7565b6109ee565b005b61031e60048036038101906103199190612bce565b6109fa565b005b61033a60048036038101906103359190612e5e565b610a5a565b005b61035660048036038101906103519190612ee9565b610c0c565b6040516103649291906132ba565b60405180910390f35b61038760048036038101906103829190612bce565b610cc6565b005b6103a3600480360381019061039e9190612df0565b610ce6565b005b6103bf60048036038101906103ba9190612e35565b610cf4565b6040516103cc9190613253565b60405180910390f35b6103dd610d25565b6040516103ea9190613386565b60405180910390f35b61040d60048036038101906104089190612b40565b610db3565b60405161041a9190613588565b60405180910390f35b61042b610e6b565b005b610435610ef3565b6040516104429190613350565b60405180910390f35b610453610f19565b6040516104609190613253565b60405180910390f35b610471610f43565b60405161047e9190613386565b60405180910390f35b6104a1600480360381019061049c9190612e35565b610fd5565b6040516104ae91906132e3565b60405180910390f35b6104d160048036038101906104cc9190612c98565b611002565b005b6104ed60048036038101906104e89190612b40565b611018565b005b61050960048036038101906105049190612c1d565b6110ef565b005b610513611151565b6040516105209190613588565b60405180910390f35b610543600480360381019061053e9190612ee9565b611158565b6040516105509190613588565b60405180910390f35b610573600480360381019061056e9190612e35565b6112b5565b6040516105809190613386565b60405180910390f35b6105a3600480360381019061059e9190612e35565b61135c565b6040516105b09190613588565b60405180910390f35b6105d360048036038101906105ce9190612b40565b611379565b6040516105e091906132e3565b60405180910390f35b6105f1611399565b6040516105fe91906132fe565b60405180910390f35b610621600480360381019061061c9190612b92565b61139f565b60405161062e91906132e3565b60405180910390f35b610651600480360381019061064c9190612b40565b611433565b005b61066d60048036038101906106689190612b40565b61152b565b005b61068960048036038101906106849190612e9a565b611602565b6040516106969190613588565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077a57506107798261161a565b5b9050919050565b6060600080546107909061383a565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc9061383a565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b5050505050905090565b600061081e82611684565b61085d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610854906134e8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a3826116f0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90613548565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109336117a2565b73ffffffffffffffffffffffffffffffffffffffff16148061096257506109618161095c6117a2565b61139f565b5b6109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890613468565b60405180910390fd5b6109ab83836117aa565b505050565b60006109bf8484846000611863565b90509392505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f781611b57565b50565b610a0b610a056117a2565b82611c17565b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190613568565b60405180910390fd5b610a55838383611cac565b505050565b3073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600a546040518263ffffffff1660e01b8152600401610ace91906132fe565b60206040518083038186803b158015610ae657600080fd5b505afa158015610afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1e9190612b69565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e57600080fd5b610b483383611c17565b610b5157600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab5923600a548460001b846040518463ffffffff1660e01b8152600401610bb593929190613319565b602060405180830381600087803b158015610bcf57600080fd5b505af1158015610be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c079190612d4c565b505050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a55205a85856040518363ffffffff1660e01b8152600401610c6c9291906135a3565b604080518083038186803b158015610c8357600080fd5b505afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb9190612d10565b915091509250929050565b610ce1838383604051806020016040528060008152506110ef565b505050565b610cf08282611f13565b5050565b600042600760008481526020019081526020016000205411610d1557600080fd5b610d1e826116f0565b9050919050565b600c8054610d329061383a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5e9061383a565b8015610dab5780601f10610d8057610100808354040283529160200191610dab565b820191906000526020600020905b815481529060010190602001808311610d8e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90613488565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e736117a2565b73ffffffffffffffffffffffffffffffffffffffff16610e91610f19565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede90613508565b60405180910390fd5b610ef16000611fa5565b565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f529061383a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e9061383a565b8015610fcb5780601f10610fa057610100808354040283529160200191610fcb565b820191906000526020600020905b815481529060010190602001808311610fae57829003601f168201915b5050505050905090565b6000426276a7006007600085815260200190815260200160002054610ffa9190613665565b109050919050565b61101461100d6117a2565b838361206b565b5050565b6110206117a2565b73ffffffffffffffffffffffffffffffffffffffff1661103e610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b90613508565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111006110fa6117a2565b83611c17565b61113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613568565b60405180910390fd5b61114b848484846121d8565b50505050565b6276a70081565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111b057600080fd5b426276a70060076000868152602001908152602001600020546111d39190613665565b10156111de57600080fd5b6276a700826111ed9190613665565b6276a7008360076000878152602001908152602001600020546112109190613665565b61121a9190613665565b1161122457600080fd5b816007600085815260200190815260200160002060008282546112479190613665565b92505081905550827f9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd660076000868152602001908152602001600020546040516112919190613588565b60405180910390a26007600084815260200190815260200160002054905092915050565b60606112c082611684565b6112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690613528565b60405180910390fd5b6000611309612234565b905060008151116113295760405180602001604052806000815250611354565b80611333846122c6565b60405160200161134492919061322f565b6040516020818303038152906040525b915050919050565b600060076000838152602001908152602001600020549050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61143b6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611459610f19565b73ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690613508565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561151f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611516906133c8565b60405180910390fd5b61152881611fa5565b50565b6115336117a2565b73ffffffffffffffffffffffffffffffffffffffff16611551610f19565b73ffffffffffffffffffffffffffffffffffffffff16146115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613508565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006116118484846001611863565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611790906134a8565b60405180910390fd5b80915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661181d836116f0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60003073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600a546040518263ffffffff1660e01b81526004016118d991906132fe565b60206040518083038186803b1580156118f157600080fd5b505afa158015611905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119299190612b69565b73ffffffffffffffffffffffffffffffffffffffff161461194957600080fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661199f57600080fd5b6119a885610fd5565b6119b157600080fd5b6276a700426119c09190613665565b6276a70084426119d09190613665565b6119da9190613665565b116119e457600080fd5b82426119f09190613665565b6007600087815260200190815260200160002081905550611a1085611684565b15611a1f57611a1e85612473565b5b611a298486612590565b8115611ae757600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab5923600a548760001b876040518463ffffffff1660e01b8152600401611a9393929190613319565b602060405180830381600087803b158015611aad57600080fd5b505af1158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae59190612d4c565b505b8373ffffffffffffffffffffffffffffffffffffffff16857fb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d98542611b2c9190613665565b604051611b399190613588565b60405180910390a38242611b4d9190613665565b9050949350505050565b611b5f6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611b7d610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613508565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080611c2383610cf4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c9257508373ffffffffffffffffffffffffffffffffffffffff16611c7a84610813565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ca35750611ca2818561139f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ccc826116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d19906133e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990613428565b60405180910390fd5b611d9d83838361276a565b611da86000826117aa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df891906136ec565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4f9190613665565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f0e83838361276f565b505050565b611f1b6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611f39610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8690613508565b60405180910390fd5b8181600c9190611fa092919061292e565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190613448565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121cb91906132e3565b60405180910390a3505050565b6121e3848484611cac565b6121ef84848484612774565b61222e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612225906133a8565b60405180910390fd5b50505050565b6060600c80546122439061383a565b80601f016020809104026020016040519081016040528092919081815260200182805461226f9061383a565b80156122bc5780601f10612291576101008083540402835291602001916122bc565b820191906000526020600020905b81548152906001019060200180831161229f57829003601f168201915b5050505050905090565b6060600082141561230e576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061246e565b600082905060005b600082146123405780806123299061389d565b915050600a8261233991906136bb565b9150612316565b60008167ffffffffffffffff811115612382577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123b45781602001600182028036833780820191505090505b5090505b60008514612467576001826123cd91906136ec565b9150600a856123dc91906138e6565b60306123e89190613665565b60f81b818381518110612424577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561246091906136bb565b94506123b8565b8093505050505b919050565b600061247e826116f0565b905061248c8160008461276a565b6124976000836117aa565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e791906136ec565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461258c8160008461276f565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f7906134c8565b60405180910390fd5b61260981611684565b15612649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264090613408565b60405180910390fd5b6126556000838361276a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a59190613665565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127666000838361276f565b5050565b505050565b505050565b60006127958473ffffffffffffffffffffffffffffffffffffffff1661290b565b156128fe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127be6117a2565b8786866040518563ffffffff1660e01b81526004016127e0949392919061326e565b602060405180830381600087803b1580156127fa57600080fd5b505af192505050801561282b57506040513d601f19601f820116820180604052508101906128289190612d9e565b60015b6128ae573d806000811461285b576040519150601f19603f3d011682016040523d82523d6000602084013e612860565b606091505b506000815114156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d906133a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612903565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461293a9061383a565b90600052602060002090601f01602090048101928261295c57600085556129a3565b82601f1061297557803560ff19168380011785556129a3565b828001600101855582156129a3579182015b828111156129a2578235825591602001919060010190612987565b5b5090506129b091906129b4565b5090565b5b808211156129cd5760008160009055506001016129b5565b5090565b60006129e46129df846135f1565b6135cc565b9050828152602081018484840111156129fc57600080fd5b612a078482856137f8565b509392505050565b600081359050612a1e81613ded565b92915050565b600081519050612a3381613ded565b92915050565b600081359050612a4881613e04565b92915050565b600081519050612a5d81613e1b565b92915050565b600081359050612a7281613e32565b92915050565b600081519050612a8781613e32565b92915050565b600082601f830112612a9e57600080fd5b8135612aae8482602086016129d1565b91505092915050565b600081359050612ac681613e49565b92915050565b60008083601f840112612ade57600080fd5b8235905067ffffffffffffffff811115612af757600080fd5b602083019150836001820283011115612b0f57600080fd5b9250929050565b600081359050612b2581613e60565b92915050565b600081519050612b3a81613e60565b92915050565b600060208284031215612b5257600080fd5b6000612b6084828501612a0f565b91505092915050565b600060208284031215612b7b57600080fd5b6000612b8984828501612a24565b91505092915050565b60008060408385031215612ba557600080fd5b6000612bb385828601612a0f565b9250506020612bc485828601612a0f565b9150509250929050565b600080600060608486031215612be357600080fd5b6000612bf186828701612a0f565b9350506020612c0286828701612a0f565b9250506040612c1386828701612b16565b9150509250925092565b60008060008060808587031215612c3357600080fd5b6000612c4187828801612a0f565b9450506020612c5287828801612a0f565b9350506040612c6387828801612b16565b925050606085013567ffffffffffffffff811115612c8057600080fd5b612c8c87828801612a8d565b91505092959194509250565b60008060408385031215612cab57600080fd5b6000612cb985828601612a0f565b9250506020612cca85828601612a39565b9150509250929050565b60008060408385031215612ce757600080fd5b6000612cf585828601612a0f565b9250506020612d0685828601612b16565b9150509250929050565b60008060408385031215612d2357600080fd5b6000612d3185828601612a24565b9250506020612d4285828601612b2b565b9150509250929050565b600060208284031215612d5e57600080fd5b6000612d6c84828501612a4e565b91505092915050565b600060208284031215612d8757600080fd5b6000612d9584828501612a63565b91505092915050565b600060208284031215612db057600080fd5b6000612dbe84828501612a78565b91505092915050565b600060208284031215612dd957600080fd5b6000612de784828501612ab7565b91505092915050565b60008060208385031215612e0357600080fd5b600083013567ffffffffffffffff811115612e1d57600080fd5b612e2985828601612acc565b92509250509250929050565b600060208284031215612e4757600080fd5b6000612e5584828501612b16565b91505092915050565b60008060408385031215612e7157600080fd5b6000612e7f85828601612b16565b9250506020612e9085828601612a0f565b9150509250929050565b600080600060608486031215612eaf57600080fd5b6000612ebd86828701612b16565b9350506020612ece86828701612a0f565b9250506040612edf86828701612b16565b9150509250925092565b60008060408385031215612efc57600080fd5b6000612f0a85828601612b16565b9250506020612f1b85828601612b16565b9150509250929050565b612f2e81613720565b82525050565b612f3d81613732565b82525050565b612f4c8161373e565b82525050565b6000612f5d82613622565b612f678185613638565b9350612f77818560208601613807565b612f80816139d3565b840191505092915050565b612f94816137b0565b82525050565b612fa3816137d4565b82525050565b6000612fb48261362d565b612fbe8185613649565b9350612fce818560208601613807565b612fd7816139d3565b840191505092915050565b6000612fed8261362d565b612ff7818561365a565b9350613007818560208601613807565b80840191505092915050565b6000613020603283613649565b915061302b826139e4565b604082019050919050565b6000613043602683613649565b915061304e82613a33565b604082019050919050565b6000613066602583613649565b915061307182613a82565b604082019050919050565b6000613089601c83613649565b915061309482613ad1565b602082019050919050565b60006130ac602483613649565b91506130b782613afa565b604082019050919050565b60006130cf601983613649565b91506130da82613b49565b602082019050919050565b60006130f2603883613649565b91506130fd82613b72565b604082019050919050565b6000613115602a83613649565b915061312082613bc1565b604082019050919050565b6000613138602983613649565b915061314382613c10565b604082019050919050565b600061315b602083613649565b915061316682613c5f565b602082019050919050565b600061317e602c83613649565b915061318982613c88565b604082019050919050565b60006131a1602083613649565b91506131ac82613cd7565b602082019050919050565b60006131c4602f83613649565b91506131cf82613d00565b604082019050919050565b60006131e7602183613649565b91506131f282613d4f565b604082019050919050565b600061320a603183613649565b915061321582613d9e565b604082019050919050565b613229816137a6565b82525050565b600061323b8285612fe2565b91506132478284612fe2565b91508190509392505050565b60006020820190506132686000830184612f25565b92915050565b60006080820190506132836000830187612f25565b6132906020830186612f25565b61329d6040830185613220565b81810360608301526132af8184612f52565b905095945050505050565b60006040820190506132cf6000830185612f25565b6132dc6020830184613220565b9392505050565b60006020820190506132f86000830184612f34565b92915050565b60006020820190506133136000830184612f43565b92915050565b600060608201905061332e6000830186612f43565b61333b6020830185612f43565b6133486040830184612f25565b949350505050565b60006020820190506133656000830184612f8b565b92915050565b60006020820190506133806000830184612f9a565b92915050565b600060208201905081810360008301526133a08184612fa9565b905092915050565b600060208201905081810360008301526133c181613013565b9050919050565b600060208201905081810360008301526133e181613036565b9050919050565b6000602082019050818103600083015261340181613059565b9050919050565b600060208201905081810360008301526134218161307c565b9050919050565b600060208201905081810360008301526134418161309f565b9050919050565b60006020820190508181036000830152613461816130c2565b9050919050565b60006020820190508181036000830152613481816130e5565b9050919050565b600060208201905081810360008301526134a181613108565b9050919050565b600060208201905081810360008301526134c18161312b565b9050919050565b600060208201905081810360008301526134e18161314e565b9050919050565b6000602082019050818103600083015261350181613171565b9050919050565b6000602082019050818103600083015261352181613194565b9050919050565b60006020820190508181036000830152613541816131b7565b9050919050565b60006020820190508181036000830152613561816131da565b9050919050565b60006020820190508181036000830152613581816131fd565b9050919050565b600060208201905061359d6000830184613220565b92915050565b60006040820190506135b86000830185613220565b6135c56020830184613220565b9392505050565b60006135d66135e7565b90506135e2828261386c565b919050565b6000604051905090565b600067ffffffffffffffff82111561360c5761360b6139a4565b5b613615826139d3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613670826137a6565b915061367b836137a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b0576136af613917565b5b828201905092915050565b60006136c6826137a6565b91506136d1836137a6565b9250826136e1576136e0613946565b5b828204905092915050565b60006136f7826137a6565b9150613702836137a6565b92508282101561371557613714613917565b5b828203905092915050565b600061372b82613786565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061377f82613720565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006137bb826137c2565b9050919050565b60006137cd82613786565b9050919050565b60006137df826137e6565b9050919050565b60006137f182613786565b9050919050565b82818337600083830152505050565b60005b8381101561382557808201518184015260208101905061380a565b83811115613834576000848401525b50505050565b6000600282049050600182168061385257607f821691505b6020821081141561386657613865613975565b5b50919050565b613875826139d3565b810181811067ffffffffffffffff82111715613894576138936139a4565b5b80604052505050565b60006138a8826137a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138db576138da613917565b5b600182019050919050565b60006138f1826137a6565b91506138fc836137a6565b92508261390c5761390b613946565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613df681613720565b8114613e0157600080fd5b50565b613e0d81613732565b8114613e1857600080fd5b50565b613e248161373e565b8114613e2f57600080fd5b50565b613e3b81613748565b8114613e4657600080fd5b50565b613e5281613774565b8114613e5d57600080fd5b50565b613e69816137a6565b8114613e7457600080fd5b5056fea2646970667358221220e99d110cc740d0fc1262b8942db28250a1201b3d98c541bcc51e2a83da2e4e4164736f6c63430008040033000000000000000000000000d256fb9219097c1156b6df6e56f05ae09898528aab4f2cc696d786e77e017697b347f86bbb1d7d6aa54b68f73c02c0f7662c2e30
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637b4b59051161011a578063c475abff116100ad578063ddf7fcb01161007c578063ddf7fcb0146105e9578063e985e9c514610607578063f2fde38b14610637578063f6a74ed714610653578063fca247ac1461066f576101fb565b8063c475abff14610529578063c87b56dd14610559578063d6e4fa8614610589578063da8c229e146105b9576101fb565b8063a22cb465116100e9578063a22cb465146104b7578063a7fc7a07146104d3578063b88d4fde146104ef578063c1a287e21461050b576101fb565b80637b4b59051461042d5780638da5cb5b1461044b57806395d89b411461046957806396e494e814610487576101fb565b806328ed4f6c116101925780636352211e116101615780636352211e146103a55780636c0360eb146103d557806370a08231146103f3578063715018a614610423576101fb565b806328ed4f6c146103205780632a55205a1461033c57806342842e0e1461036d57806355f804b314610389576101fb565b80630e297b45116101ce5780630e297b451461029a578063105c4813146102ca57806311ed8c31146102e857806323b872dd14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612d75565b61069f565b60405161022791906132e3565b60405180910390f35b610238610781565b6040516102459190613386565b60405180910390f35b61026860048036038101906102639190612e35565b610813565b6040516102759190613253565b60405180910390f35b61029860048036038101906102939190612cd4565b610898565b005b6102b460048036038101906102af9190612e9a565b6109b0565b6040516102c19190613588565b60405180910390f35b6102d26109c8565b6040516102df919061336b565b60405180910390f35b61030260048036038101906102fd9190612dc7565b6109ee565b005b61031e60048036038101906103199190612bce565b6109fa565b005b61033a60048036038101906103359190612e5e565b610a5a565b005b61035660048036038101906103519190612ee9565b610c0c565b6040516103649291906132ba565b60405180910390f35b61038760048036038101906103829190612bce565b610cc6565b005b6103a3600480360381019061039e9190612df0565b610ce6565b005b6103bf60048036038101906103ba9190612e35565b610cf4565b6040516103cc9190613253565b60405180910390f35b6103dd610d25565b6040516103ea9190613386565b60405180910390f35b61040d60048036038101906104089190612b40565b610db3565b60405161041a9190613588565b60405180910390f35b61042b610e6b565b005b610435610ef3565b6040516104429190613350565b60405180910390f35b610453610f19565b6040516104609190613253565b60405180910390f35b610471610f43565b60405161047e9190613386565b60405180910390f35b6104a1600480360381019061049c9190612e35565b610fd5565b6040516104ae91906132e3565b60405180910390f35b6104d160048036038101906104cc9190612c98565b611002565b005b6104ed60048036038101906104e89190612b40565b611018565b005b61050960048036038101906105049190612c1d565b6110ef565b005b610513611151565b6040516105209190613588565b60405180910390f35b610543600480360381019061053e9190612ee9565b611158565b6040516105509190613588565b60405180910390f35b610573600480360381019061056e9190612e35565b6112b5565b6040516105809190613386565b60405180910390f35b6105a3600480360381019061059e9190612e35565b61135c565b6040516105b09190613588565b60405180910390f35b6105d360048036038101906105ce9190612b40565b611379565b6040516105e091906132e3565b60405180910390f35b6105f1611399565b6040516105fe91906132fe565b60405180910390f35b610621600480360381019061061c9190612b92565b61139f565b60405161062e91906132e3565b60405180910390f35b610651600480360381019061064c9190612b40565b611433565b005b61066d60048036038101906106689190612b40565b61152b565b005b61068960048036038101906106849190612e9a565b611602565b6040516106969190613588565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061076a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061077a57506107798261161a565b5b9050919050565b6060600080546107909061383a565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc9061383a565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b5050505050905090565b600061081e82611684565b61085d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610854906134e8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a3826116f0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90613548565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109336117a2565b73ffffffffffffffffffffffffffffffffffffffff16148061096257506109618161095c6117a2565b61139f565b5b6109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890613468565b60405180910390fd5b6109ab83836117aa565b505050565b60006109bf8484846000611863565b90509392505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109f781611b57565b50565b610a0b610a056117a2565b82611c17565b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4190613568565b60405180910390fd5b610a55838383611cac565b505050565b3073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600a546040518263ffffffff1660e01b8152600401610ace91906132fe565b60206040518083038186803b158015610ae657600080fd5b505afa158015610afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1e9190612b69565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e57600080fd5b610b483383611c17565b610b5157600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab5923600a548460001b846040518463ffffffff1660e01b8152600401610bb593929190613319565b602060405180830381600087803b158015610bcf57600080fd5b505af1158015610be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c079190612d4c565b505050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a55205a85856040518363ffffffff1660e01b8152600401610c6c9291906135a3565b604080518083038186803b158015610c8357600080fd5b505afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb9190612d10565b915091509250929050565b610ce1838383604051806020016040528060008152506110ef565b505050565b610cf08282611f13565b5050565b600042600760008481526020019081526020016000205411610d1557600080fd5b610d1e826116f0565b9050919050565b600c8054610d329061383a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5e9061383a565b8015610dab5780601f10610d8057610100808354040283529160200191610dab565b820191906000526020600020905b815481529060010190602001808311610d8e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b90613488565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e736117a2565b73ffffffffffffffffffffffffffffffffffffffff16610e91610f19565b73ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ede90613508565b60405180910390fd5b610ef16000611fa5565b565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f529061383a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e9061383a565b8015610fcb5780601f10610fa057610100808354040283529160200191610fcb565b820191906000526020600020905b815481529060010190602001808311610fae57829003601f168201915b5050505050905090565b6000426276a7006007600085815260200190815260200160002054610ffa9190613665565b109050919050565b61101461100d6117a2565b838361206b565b5050565b6110206117a2565b73ffffffffffffffffffffffffffffffffffffffff1661103e610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b90613508565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111006110fa6117a2565b83611c17565b61113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613568565b60405180910390fd5b61114b848484846121d8565b50505050565b6276a70081565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111b057600080fd5b426276a70060076000868152602001908152602001600020546111d39190613665565b10156111de57600080fd5b6276a700826111ed9190613665565b6276a7008360076000878152602001908152602001600020546112109190613665565b61121a9190613665565b1161122457600080fd5b816007600085815260200190815260200160002060008282546112479190613665565b92505081905550827f9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd660076000868152602001908152602001600020546040516112919190613588565b60405180910390a26007600084815260200190815260200160002054905092915050565b60606112c082611684565b6112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690613528565b60405180910390fd5b6000611309612234565b905060008151116113295760405180602001604052806000815250611354565b80611333846122c6565b60405160200161134492919061322f565b6040516020818303038152906040525b915050919050565b600060076000838152602001908152602001600020549050919050565b600b6020528060005260406000206000915054906101000a900460ff1681565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61143b6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611459610f19565b73ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690613508565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561151f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611516906133c8565b60405180910390fd5b61152881611fa5565b50565b6115336117a2565b73ffffffffffffffffffffffffffffffffffffffff16611551610f19565b73ffffffffffffffffffffffffffffffffffffffff16146115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613508565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006116118484846001611863565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611790906134a8565b60405180910390fd5b80915050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661181d836116f0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60003073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302571be3600a546040518263ffffffff1660e01b81526004016118d991906132fe565b60206040518083038186803b1580156118f157600080fd5b505afa158015611905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119299190612b69565b73ffffffffffffffffffffffffffffffffffffffff161461194957600080fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661199f57600080fd5b6119a885610fd5565b6119b157600080fd5b6276a700426119c09190613665565b6276a70084426119d09190613665565b6119da9190613665565b116119e457600080fd5b82426119f09190613665565b6007600087815260200190815260200160002081905550611a1085611684565b15611a1f57611a1e85612473565b5b611a298486612590565b8115611ae757600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166306ab5923600a548760001b876040518463ffffffff1660e01b8152600401611a9393929190613319565b602060405180830381600087803b158015611aad57600080fd5b505af1158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae59190612d4c565b505b8373ffffffffffffffffffffffffffffffffffffffff16857fb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d98542611b2c9190613665565b604051611b399190613588565b60405180910390a38242611b4d9190613665565b9050949350505050565b611b5f6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611b7d610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bca90613508565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080611c2383610cf4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c9257508373ffffffffffffffffffffffffffffffffffffffff16611c7a84610813565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ca35750611ca2818561139f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ccc826116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d19906133e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8990613428565b60405180910390fd5b611d9d83838361276a565b611da86000826117aa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df891906136ec565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4f9190613665565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f0e83838361276f565b505050565b611f1b6117a2565b73ffffffffffffffffffffffffffffffffffffffff16611f39610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611f8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8690613508565b60405180910390fd5b8181600c9190611fa092919061292e565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190613448565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121cb91906132e3565b60405180910390a3505050565b6121e3848484611cac565b6121ef84848484612774565b61222e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612225906133a8565b60405180910390fd5b50505050565b6060600c80546122439061383a565b80601f016020809104026020016040519081016040528092919081815260200182805461226f9061383a565b80156122bc5780601f10612291576101008083540402835291602001916122bc565b820191906000526020600020905b81548152906001019060200180831161229f57829003601f168201915b5050505050905090565b6060600082141561230e576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061246e565b600082905060005b600082146123405780806123299061389d565b915050600a8261233991906136bb565b9150612316565b60008167ffffffffffffffff811115612382577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123b45781602001600182028036833780820191505090505b5090505b60008514612467576001826123cd91906136ec565b9150600a856123dc91906138e6565b60306123e89190613665565b60f81b818381518110612424577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561246091906136bb565b94506123b8565b8093505050505b919050565b600061247e826116f0565b905061248c8160008461276a565b6124976000836117aa565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e791906136ec565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461258c8160008461276f565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f7906134c8565b60405180910390fd5b61260981611684565b15612649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264090613408565b60405180910390fd5b6126556000838361276a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a59190613665565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127666000838361276f565b5050565b505050565b505050565b60006127958473ffffffffffffffffffffffffffffffffffffffff1661290b565b156128fe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127be6117a2565b8786866040518563ffffffff1660e01b81526004016127e0949392919061326e565b602060405180830381600087803b1580156127fa57600080fd5b505af192505050801561282b57506040513d601f19601f820116820180604052508101906128289190612d9e565b60015b6128ae573d806000811461285b576040519150601f19603f3d011682016040523d82523d6000602084013e612860565b606091505b506000815114156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d906133a8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612903565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461293a9061383a565b90600052602060002090601f01602090048101928261295c57600085556129a3565b82601f1061297557803560ff19168380011785556129a3565b828001600101855582156129a3579182015b828111156129a2578235825591602001919060010190612987565b5b5090506129b091906129b4565b5090565b5b808211156129cd5760008160009055506001016129b5565b5090565b60006129e46129df846135f1565b6135cc565b9050828152602081018484840111156129fc57600080fd5b612a078482856137f8565b509392505050565b600081359050612a1e81613ded565b92915050565b600081519050612a3381613ded565b92915050565b600081359050612a4881613e04565b92915050565b600081519050612a5d81613e1b565b92915050565b600081359050612a7281613e32565b92915050565b600081519050612a8781613e32565b92915050565b600082601f830112612a9e57600080fd5b8135612aae8482602086016129d1565b91505092915050565b600081359050612ac681613e49565b92915050565b60008083601f840112612ade57600080fd5b8235905067ffffffffffffffff811115612af757600080fd5b602083019150836001820283011115612b0f57600080fd5b9250929050565b600081359050612b2581613e60565b92915050565b600081519050612b3a81613e60565b92915050565b600060208284031215612b5257600080fd5b6000612b6084828501612a0f565b91505092915050565b600060208284031215612b7b57600080fd5b6000612b8984828501612a24565b91505092915050565b60008060408385031215612ba557600080fd5b6000612bb385828601612a0f565b9250506020612bc485828601612a0f565b9150509250929050565b600080600060608486031215612be357600080fd5b6000612bf186828701612a0f565b9350506020612c0286828701612a0f565b9250506040612c1386828701612b16565b9150509250925092565b60008060008060808587031215612c3357600080fd5b6000612c4187828801612a0f565b9450506020612c5287828801612a0f565b9350506040612c6387828801612b16565b925050606085013567ffffffffffffffff811115612c8057600080fd5b612c8c87828801612a8d565b91505092959194509250565b60008060408385031215612cab57600080fd5b6000612cb985828601612a0f565b9250506020612cca85828601612a39565b9150509250929050565b60008060408385031215612ce757600080fd5b6000612cf585828601612a0f565b9250506020612d0685828601612b16565b9150509250929050565b60008060408385031215612d2357600080fd5b6000612d3185828601612a24565b9250506020612d4285828601612b2b565b9150509250929050565b600060208284031215612d5e57600080fd5b6000612d6c84828501612a4e565b91505092915050565b600060208284031215612d8757600080fd5b6000612d9584828501612a63565b91505092915050565b600060208284031215612db057600080fd5b6000612dbe84828501612a78565b91505092915050565b600060208284031215612dd957600080fd5b6000612de784828501612ab7565b91505092915050565b60008060208385031215612e0357600080fd5b600083013567ffffffffffffffff811115612e1d57600080fd5b612e2985828601612acc565b92509250509250929050565b600060208284031215612e4757600080fd5b6000612e5584828501612b16565b91505092915050565b60008060408385031215612e7157600080fd5b6000612e7f85828601612b16565b9250506020612e9085828601612a0f565b9150509250929050565b600080600060608486031215612eaf57600080fd5b6000612ebd86828701612b16565b9350506020612ece86828701612a0f565b9250506040612edf86828701612b16565b9150509250925092565b60008060408385031215612efc57600080fd5b6000612f0a85828601612b16565b9250506020612f1b85828601612b16565b9150509250929050565b612f2e81613720565b82525050565b612f3d81613732565b82525050565b612f4c8161373e565b82525050565b6000612f5d82613622565b612f678185613638565b9350612f77818560208601613807565b612f80816139d3565b840191505092915050565b612f94816137b0565b82525050565b612fa3816137d4565b82525050565b6000612fb48261362d565b612fbe8185613649565b9350612fce818560208601613807565b612fd7816139d3565b840191505092915050565b6000612fed8261362d565b612ff7818561365a565b9350613007818560208601613807565b80840191505092915050565b6000613020603283613649565b915061302b826139e4565b604082019050919050565b6000613043602683613649565b915061304e82613a33565b604082019050919050565b6000613066602583613649565b915061307182613a82565b604082019050919050565b6000613089601c83613649565b915061309482613ad1565b602082019050919050565b60006130ac602483613649565b91506130b782613afa565b604082019050919050565b60006130cf601983613649565b91506130da82613b49565b602082019050919050565b60006130f2603883613649565b91506130fd82613b72565b604082019050919050565b6000613115602a83613649565b915061312082613bc1565b604082019050919050565b6000613138602983613649565b915061314382613c10565b604082019050919050565b600061315b602083613649565b915061316682613c5f565b602082019050919050565b600061317e602c83613649565b915061318982613c88565b604082019050919050565b60006131a1602083613649565b91506131ac82613cd7565b602082019050919050565b60006131c4602f83613649565b91506131cf82613d00565b604082019050919050565b60006131e7602183613649565b91506131f282613d4f565b604082019050919050565b600061320a603183613649565b915061321582613d9e565b604082019050919050565b613229816137a6565b82525050565b600061323b8285612fe2565b91506132478284612fe2565b91508190509392505050565b60006020820190506132686000830184612f25565b92915050565b60006080820190506132836000830187612f25565b6132906020830186612f25565b61329d6040830185613220565b81810360608301526132af8184612f52565b905095945050505050565b60006040820190506132cf6000830185612f25565b6132dc6020830184613220565b9392505050565b60006020820190506132f86000830184612f34565b92915050565b60006020820190506133136000830184612f43565b92915050565b600060608201905061332e6000830186612f43565b61333b6020830185612f43565b6133486040830184612f25565b949350505050565b60006020820190506133656000830184612f8b565b92915050565b60006020820190506133806000830184612f9a565b92915050565b600060208201905081810360008301526133a08184612fa9565b905092915050565b600060208201905081810360008301526133c181613013565b9050919050565b600060208201905081810360008301526133e181613036565b9050919050565b6000602082019050818103600083015261340181613059565b9050919050565b600060208201905081810360008301526134218161307c565b9050919050565b600060208201905081810360008301526134418161309f565b9050919050565b60006020820190508181036000830152613461816130c2565b9050919050565b60006020820190508181036000830152613481816130e5565b9050919050565b600060208201905081810360008301526134a181613108565b9050919050565b600060208201905081810360008301526134c18161312b565b9050919050565b600060208201905081810360008301526134e18161314e565b9050919050565b6000602082019050818103600083015261350181613171565b9050919050565b6000602082019050818103600083015261352181613194565b9050919050565b60006020820190508181036000830152613541816131b7565b9050919050565b60006020820190508181036000830152613561816131da565b9050919050565b60006020820190508181036000830152613581816131fd565b9050919050565b600060208201905061359d6000830184613220565b92915050565b60006040820190506135b86000830185613220565b6135c56020830184613220565b9392505050565b60006135d66135e7565b90506135e2828261386c565b919050565b6000604051905090565b600067ffffffffffffffff82111561360c5761360b6139a4565b5b613615826139d3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613670826137a6565b915061367b836137a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b0576136af613917565b5b828201905092915050565b60006136c6826137a6565b91506136d1836137a6565b9250826136e1576136e0613946565b5b828204905092915050565b60006136f7826137a6565b9150613702836137a6565b92508282101561371557613714613917565b5b828203905092915050565b600061372b82613786565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061377f82613720565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006137bb826137c2565b9050919050565b60006137cd82613786565b9050919050565b60006137df826137e6565b9050919050565b60006137f182613786565b9050919050565b82818337600083830152505050565b60005b8381101561382557808201518184015260208101905061380a565b83811115613834576000848401525b50505050565b6000600282049050600182168061385257607f821691505b6020821081141561386657613865613975565b5b50919050565b613875826139d3565b810181811067ffffffffffffffff82111715613894576138936139a4565b5b80604052505050565b60006138a8826137a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138db576138da613917565b5b600182019050919050565b60006138f1826137a6565b91506138fc836137a6565b92508261390c5761390b613946565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613df681613720565b8114613e0157600080fd5b50565b613e0d81613732565b8114613e1857600080fd5b50565b613e248161373e565b8114613e2f57600080fd5b50565b613e3b81613748565b8114613e4657600080fd5b50565b613e5281613774565b8114613e5d57600080fd5b50565b613e69816137a6565b8114613e7457600080fd5b5056fea2646970667358221220e99d110cc740d0fc1262b8942db28250a1201b3d98c541bcc51e2a83da2e4e4164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d256fb9219097c1156b6df6e56f05ae09898528aab4f2cc696d786e77e017697b347f86bbb1d7d6aa54b68f73c02c0f7662c2e30
-----Decoded View---------------
Arg [0] : _bebRegistry (address): 0xd256FB9219097C1156B6DF6E56F05ae09898528A
Arg [1] : _baseNode (bytes32): 0xab4f2cc696d786e77e017697b347f86bbb1d7d6aa54b68f73c02c0f7662c2e30
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d256fb9219097c1156b6df6e56f05ae09898528a
Arg [1] : ab4f2cc696d786e77e017697b347f86bbb1d7d6aa54b68f73c02c0f7662c2e30
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.