Overview
Max Total Supply
300,000,000 EMB
Holders
7,111 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
232,608.44942041 EMBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Emblem
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-15 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/ERC20Capped.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { using SafeMath for uint256; uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap_) internal { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - minted tokens must not cause the total supply to go over the cap. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // When minting tokens require(totalSupply().add(amount) <= cap(), "ERC20Capped: cap exceeded"); } } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity >=0.6.0 <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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity >=0.6.0 <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); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @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 _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @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 || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal 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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: contracts/LeasedEmblem.sol pragma solidity 0.7.6; contract LeasedEmblem is ERC721, Ownable { using SafeMath for uint256; address internal leaseExchange; struct Metadata { uint256 amount; address leasor; uint256 duration; uint256 tradeExpiry; uint256 leaseExpiry; bool isMining; } mapping(uint256 => Metadata) public metadata; mapping(address => uint256[]) internal leasedTokens; mapping(uint256 => uint256) internal leasedTokensIndex; mapping (uint256 => address) internal tokenLeasor; mapping (address => uint256) internal leasedTokensCount; uint256 highestId = 1; uint256 sixMonths = 15768000; constructor (string memory _name, string memory _symbol) public ERC721(_name, _symbol) { } function getNewId() public view returns(uint256) { return highestId; } function leasorOf(uint256 _tokenId) public view returns (address) { address owner = tokenLeasor[_tokenId]; require(owner != address(0)); return owner; } function balanceOfLeasor(address _leasor) public view returns (uint256) { require(_leasor != address(0)); return leasedTokensCount[_leasor]; } function tokenOfLeasorByIndex(address _leasor,uint256 _index) public view returns (uint256){ require(_index < balanceOfLeasor(_leasor)); return leasedTokens[_leasor][_index]; } function addTokenToLeasor(address _to, uint256 _tokenId) internal { require(tokenLeasor[_tokenId] == address(0)); tokenLeasor[_tokenId] = _to; leasedTokensCount[_to] = leasedTokensCount[_to].add(1); uint256 length = leasedTokens[_to].length; leasedTokens[_to].push(_tokenId); leasedTokensIndex[_tokenId] = length; } function removeTokenFromLeasor(address _from, uint256 _tokenId) internal { require(leasorOf(_tokenId) == _from); leasedTokensCount[_from] = leasedTokensCount[_from].sub(1); tokenLeasor[_tokenId] = address(0); uint256 tokenIndex = leasedTokensIndex[_tokenId]; uint256 lastTokenIndex = leasedTokens[_from].length.sub(1); uint256 lastToken = leasedTokens[_from][lastTokenIndex]; leasedTokens[_from][tokenIndex] = lastToken; leasedTokens[_from][lastTokenIndex] = 0; leasedTokens[_from].pop(); delete leasedTokensIndex[_tokenId]; leasedTokensIndex[lastToken] = tokenIndex; } function setLeaseExchange(address _leaseExchange) public onlyOwner { leaseExchange = _leaseExchange; } function totalAmount() external view returns (uint256) { uint256 amount = 0; for(uint256 i = 0; i < totalSupply(); i++){ amount += metadata[tokenByIndex(i)].amount; } return amount; } function setMetadata(uint256 _tokenId, uint256 amount, address leasor, uint256 duration,uint256 tradeExpiry, uint256 leaseExpiry) internal { require(_exists(_tokenId)); metadata[_tokenId]= Metadata(amount,leasor,duration,tradeExpiry,leaseExpiry,false); } function getMetadata(uint256 _tokenId) public view returns (uint256, address, uint256, uint256,uint256, bool) { require(_exists(_tokenId)); return ( metadata[_tokenId].amount, metadata[_tokenId].leasor, metadata[_tokenId].duration, metadata[_tokenId].tradeExpiry, metadata[_tokenId].leaseExpiry, metadata[_tokenId].isMining ); } function getAmountForUser(address owner) external view returns (uint256) { uint256 amount = 0; uint256 numTokens = balanceOf(owner); for(uint256 i = 0; i < numTokens; i++){ amount += metadata[tokenOfOwnerByIndex(owner,i)].amount; } return amount; } function getAmountForUserMining(address owner) external view returns (uint256) { uint256 amount = 0; uint256 numTokens = balanceOf(owner); for(uint256 i = 0; i < numTokens; i++){ if(metadata[tokenOfOwnerByIndex(owner,i)].isMining) { amount += metadata[tokenOfOwnerByIndex(owner,i)].amount; } } return amount; } function getAmount(uint256 _tokenId) public view returns (uint256) { require(_exists(_tokenId)); return metadata[_tokenId].amount; } function getTradeExpiry(uint256 _tokenId) public view returns (uint256) { require(_exists(_tokenId)); return metadata[_tokenId].tradeExpiry; } function getDuration(uint256 _tokenId) public view returns (uint256) { require(_exists(_tokenId)); return metadata[_tokenId].duration; } function getIsMining(uint256 _tokenId) public view returns (bool) { require(_exists(_tokenId)); return metadata[_tokenId].isMining; } function startMining(address _owner, uint256 _tokenId) public returns (bool) { require(msg.sender == leaseExchange); require(_exists(_tokenId)); require(ownerOf(_tokenId) == _owner); require(block.timestamp < metadata[_tokenId].tradeExpiry); require(metadata[_tokenId].isMining == false); Metadata storage m = metadata[_tokenId]; m.isMining = true; m.leaseExpiry = block.timestamp + m.duration; return true; } function canRetrieveEMB(address _leasor, uint256 _tokenId) public view returns (bool) { require(_exists(_tokenId)); require(metadata[_tokenId].leasor == _leasor); if(metadata[_tokenId].isMining == false) { return(block.timestamp > metadata[_tokenId].leaseExpiry); } else { return(block.timestamp > metadata[_tokenId].tradeExpiry); } } function endLease(address _leasee, uint256 _tokenId) public { require(msg.sender == leaseExchange); require(_exists(_tokenId)); require(ownerOf(_tokenId) == _leasee); require(block.timestamp > metadata[_tokenId].leaseExpiry); removeTokenFromLeasor(metadata[_tokenId].leasor, _tokenId); _burn(_tokenId); } function splitLEMB(uint256 _tokenId, uint256 amount) public { require(_exists(_tokenId)); require(ownerOf(_tokenId) == msg.sender); require(metadata[_tokenId].isMining == false); require(block.timestamp < metadata[_tokenId].tradeExpiry); require(amount < getAmount(_tokenId)); uint256 _newTokenId = getNewId(); Metadata storage m = metadata[_tokenId]; m.amount = m.amount - amount; _mint(msg.sender, _newTokenId); addTokenToLeasor(m.leasor, _newTokenId); setMetadata(_newTokenId, amount, m.leasor, m.duration,m.tradeExpiry, 0); highestId = highestId + 1; } function mintUniqueTokenTo(address _to, uint256 amount, address leasor, uint256 duration) public { require(msg.sender == leaseExchange); uint256 _tokenId = getNewId(); _mint(_to, _tokenId); addTokenToLeasor(leasor, _tokenId); uint256 tradeExpiry = block.timestamp + sixMonths; setMetadata(_tokenId, amount, leasor, duration,tradeExpiry, 0); highestId = highestId + 1; } function _burn(uint256 _tokenId) override internal { super._burn(_tokenId); delete metadata[_tokenId]; } modifier canTransfer(uint256 _tokenId) { require(_isApprovedOrOwner(msg.sender, _tokenId)); require(metadata[_tokenId].isMining == false); _; } } // File: contracts/Emblem.sol pragma solidity 0.7.6; contract Emblem is ERC20, ERC20Capped, Ownable { using SafeMath for uint256; bool internal useVanityFees; address internal leaseExchange; address internal vanityPurchaseReceiver; uint256 internal vanityPurchaseCost = 1 * (10 ** 8); //1 EMB bytes12[] internal allVanities; LeasedEmblem internal LEMB; mapping (bytes12 => address) public vanityAddresses; mapping (address => bytes12[]) public ownedVanities; mapping (address => mapping(bytes12 => uint256)) public ownedVanitiesIndex; mapping (bytes12 => uint256) internal allVanitiesIndex; mapping (address => mapping (bytes12 => address)) internal allowedVanities; mapping (bytes12 => uint256) internal vanityFees; event TransferVanity(address indexed from, address indexed to, bytes12 vanity); event ApprovedVanity(address indexed from, address indexed to, bytes12 vanity); event VanityPurchaseCost(uint256 cost); event VanityPurchased(address indexed from, bytes12 vanity); constructor(string memory _name, string memory _ticker, uint8 _decimal, uint256 _supply, address _wallet) public ERC20(_name, _ticker) ERC20Capped(_supply) { _mint(_wallet,_supply); _setupDecimals(_decimal); } function setLeaseExchange(address _leaseExchange) public onlyOwner { require(_leaseExchange != address(0), "Lease Exchange address cannot be set to 0"); leaseExchange = _leaseExchange; } function setVanityPurchaseCost(uint256 cost) public onlyOwner { require(cost > 0, "Vanity Purchase Cost must be > 0"); vanityPurchaseCost = cost; emit VanityPurchaseCost(cost); } function getVanityPurchaseCost() public view returns (uint256) { return vanityPurchaseCost; } function enableFees(bool enabled) public onlyOwner { useVanityFees = enabled; } function setVanityPurchaseReceiver(address _address) public onlyOwner { require(_address != address(0), "Vanity Purchase Receiver address cannot be set to 0"); vanityPurchaseReceiver = _address; } function setLEMB(address _lemb) public onlyOwner { require(_lemb != address(0), "Leased Emblem address cannot be set to 0"); LEMB = LeasedEmblem(_lemb); } function setVanityFee(bytes12 vanity, uint256 fee) public onlyOwner { vanityFees[vanity] = fee; } function getFee(bytes12 vanity) public view returns(uint256) { return vanityFees[vanity]; } function enabledVanityFee() public view returns(bool) { return useVanityFees; } function vanityAllowance(address _owner, bytes12 _vanity, address _spender) public view returns (bool) { return allowedVanities[_owner][_vanity] == _spender; } function getVanityOwner(bytes12 _vanity) public view returns (address) { return vanityAddresses[_vanity]; } function getAllVanities() public view returns (bytes12[] memory){ return allVanities; } function getMyVanities() public view returns (bytes12[] memory){ return ownedVanities[msg.sender]; } function approveVanity(address _spender, bytes12 _vanity) public returns (bool) { require(_spender != address(0), 'spender of vanity cannot be address zero'); require(vanityAddresses[_vanity] == msg.sender, 'transaction initiator must own the vanity'); allowedVanities[msg.sender][_vanity] = _spender; emit ApprovedVanity(msg.sender, _spender, _vanity); return true; } function clearVanityApproval(bytes12 _vanity) public returns (bool){ require(vanityAddresses[_vanity] == msg.sender,'transaction initiator must own the vanity'); delete allowedVanities[msg.sender][_vanity]; return true; } function transferVanity(bytes12 van, address newOwner) public returns (bool) { require(newOwner != address(0),'new vanity owner cannot be of address zero'); require(vanityAddresses[van] == msg.sender,'transaction initiator must own the vanity'); vanityAddresses[van] = newOwner; ownedVanities[newOwner].push(van); ownedVanitiesIndex[newOwner][van] = ownedVanities[newOwner].length.sub(1); uint256 vanityIndex = ownedVanitiesIndex[msg.sender][van]; uint256 lastVanityIndex = ownedVanities[msg.sender].length.sub(1); bytes12 lastVanity = ownedVanities[msg.sender][lastVanityIndex]; ownedVanities[msg.sender][vanityIndex] = lastVanity; ownedVanities[msg.sender].pop(); delete ownedVanitiesIndex[msg.sender][van]; ownedVanitiesIndex[msg.sender][lastVanity] = vanityIndex; emit TransferVanity(msg.sender, newOwner,van); return true; } function transferVanityFrom( address _from, address _to, bytes12 _vanity ) public returns (bool) { require(_to != address(0),'new vanity owner cannot be of address zero'); require(_from == vanityAddresses[_vanity],'the vanity being transferred must be owned by address _from'); require(msg.sender == allowedVanities[_from][_vanity],'transaction initiator must be approved to transfer vanity'); vanityAddresses[_vanity] = _to; ownedVanities[_to].push(_vanity); ownedVanitiesIndex[_to][_vanity] = ownedVanities[_to].length.sub(1); uint256 vanityIndex = ownedVanitiesIndex[_from][_vanity]; uint256 lastVanityIndex = ownedVanities[_from].length.sub(1); bytes12 lastVanity = ownedVanities[_from][lastVanityIndex]; ownedVanities[_from][vanityIndex] = lastVanity; ownedVanities[_from].pop(); delete ownedVanitiesIndex[_from][_vanity]; ownedVanitiesIndex[_from][lastVanity] = vanityIndex; emit TransferVanity(_from, _to,_vanity); return true; } function purchaseVanity(bytes12 van) public returns (bool) { require(vanityPurchaseReceiver != address(0),'vanity purchase receiver must be set'); require(vanityAddresses[van] == address(0),'vanity must not be purchased so far'); for(uint8 i = 0; i < 12; i++){ //Vanities must be lower case require((uint8(van[i]) >= 48 && uint8(van[i]) <= 57) || (uint8(van[i]) >= 65 && uint8(van[i]) <= 90)); } if(vanityPurchaseCost > 0) this.transferFrom(msg.sender,vanityPurchaseReceiver, vanityPurchaseCost); vanityAddresses[van] = msg.sender; ownedVanities[msg.sender].push(van); ownedVanitiesIndex[msg.sender][van] = ownedVanities[msg.sender].length.sub(1); allVanities.push(van); allVanitiesIndex[van] = allVanities.length.sub(1); emit VanityPurchased(msg.sender, van); return true; } //ensure the amount being transferred does not dip into EMB owned through leases. function canTransfer(address _account,uint256 _value) internal view returns (bool) { if(address(LEMB)!= address(0)){ require((_value.add(LEMB.getAmountForUserMining(_account)) <= balanceOf(_account)),'value being sent cannot dip into EMB acquired through leasing'); } return true; } function transfer(address _to, uint256 _value) public override returns (bool){ require(canTransfer(msg.sender,_value),'value must be transferrable by transaction initiator'); super.transfer(_to,_value); return true; } function multiTransfer(bytes27[] calldata _addressesAndAmounts) external returns (bool){ for (uint i = 0; i < _addressesAndAmounts.length; i++) { address to = address(uint216(_addressesAndAmounts[i] >> 56)); uint216 amount = uint216((_addressesAndAmounts[i] << 160) >> 160); transfer(to, amount); } return true; } function releaseEMB(address _from, address _to, uint256 _value) external returns (bool){ require(address(0) != leaseExchange, 'Lease Exchange must be activated'); require(msg.sender == leaseExchange, 'only the lease exchange can call this function'); transferFrom(_from,_to,_value); return true; } function transferFrom(address _from, address _to, uint256 _value) public override returns (bool){ if(msg.sender != leaseExchange) require(canTransfer(_from,_value),'value must be transfered from address _from'); super.transferFrom(_from,_to,_value); return true; } function decreaseAllowance(address _spender,uint256 _subtractedValue) public override returns (bool) { if(_spender == leaseExchange) { if(address(LEMB)!= address(0)){ require(allowance(msg.sender,_spender).sub(_subtractedValue) >= LEMB.getAmountForUserMining(msg.sender),'if spender is the lease exchange, the allowance must be greater than the amount the user is mining with LEMB'); } } super.decreaseAllowance(_spender,_subtractedValue); return true; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Capped) { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // When minting tokens require(totalSupply().add(amount) <= cap(), "ERC20Capped: cap exceeded"); } } function approve(address _spender, uint256 _value) public override returns (bool) { if(_spender == leaseExchange){ if(address(LEMB)!= address(0)){ require(_value >= LEMB.getAmountForUserMining(msg.sender)); } } _approve(msg.sender, _spender, _value); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"},{"internalType":"uint8","name":"_decimal","type":"uint8"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"address","name":"_wallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes12","name":"vanity","type":"bytes12"}],"name":"ApprovedVanity","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes12","name":"vanity","type":"bytes12"}],"name":"TransferVanity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"cost","type":"uint256"}],"name":"VanityPurchaseCost","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"bytes12","name":"vanity","type":"bytes12"}],"name":"VanityPurchased","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"bytes12","name":"_vanity","type":"bytes12"}],"name":"approveVanity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes12","name":"_vanity","type":"bytes12"}],"name":"clearVanityApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"enableFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enabledVanityFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllVanities","outputs":[{"internalType":"bytes12[]","name":"","type":"bytes12[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes12","name":"vanity","type":"bytes12"}],"name":"getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyVanities","outputs":[{"internalType":"bytes12[]","name":"","type":"bytes12[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes12","name":"_vanity","type":"bytes12"}],"name":"getVanityOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVanityPurchaseCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes27[]","name":"_addressesAndAmounts","type":"bytes27[]"}],"name":"multiTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownedVanities","outputs":[{"internalType":"bytes12","name":"","type":"bytes12"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes12","name":"","type":"bytes12"}],"name":"ownedVanitiesIndex","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":"bytes12","name":"van","type":"bytes12"}],"name":"purchaseVanity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"releaseEMB","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lemb","type":"address"}],"name":"setLEMB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_leaseExchange","type":"address"}],"name":"setLeaseExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes12","name":"vanity","type":"bytes12"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setVanityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setVanityPurchaseCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setVanityPurchaseReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes12","name":"van","type":"bytes12"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferVanity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes12","name":"_vanity","type":"bytes12"}],"name":"transferVanityFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes12","name":"","type":"bytes12"}],"name":"vanityAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"bytes12","name":"_vanity","type":"bytes12"},{"internalType":"address","name":"_spender","type":"address"}],"name":"vanityAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526305f5e100600a553480156200001957600080fd5b5060405162005b6138038062005b61833981810160405260a08110156200003f57600080fd5b81019080805160405193929190846401000000008211156200006057600080fd5b838201915060208201858111156200007757600080fd5b82518660018202830111640100000000821117156200009557600080fd5b8083526020830192505050908051906020019080838360005b83811015620000cb578082015181840152602081019050620000ae565b50505050905090810190601f168015620000f95780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011d57600080fd5b838201915060208201858111156200013457600080fd5b82518660018202830111640100000000821117156200015257600080fd5b8083526020830192505050908051906020019080838360005b83811015620001885780820151818401526020810190506200016b565b50505050905090810190601f168015620001b65780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919080519060200190929190805190602001909291905050508185858160039080519060200190620001f992919062000839565b5080600490805190602001906200021292919062000839565b506012600560006101000a81548160ff021916908360ff160217905550505060008111620002a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f45524332304361707065643a206361702069732030000000000000000000000081525060200191505060405180910390fd5b80600681905550506000620002c26200038f60201b60201c565b905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200037381836200039760201b60201c565b62000384836200057560201b60201c565b5050505050620008ef565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200043b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6200044f600083836200059360201b60201c565b6200046b816002546200069560201b620042771790919060201c565b600281905550620004c9816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200069560201b620042771790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b80600560006101000a81548160ff021916908360ff16021790555050565b620005ab8383836200071e60201b620042ff1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200069057620005f16200082060201b60201c565b6200061a82620006066200082a60201b60201c565b6200069560201b620042771790919060201c565b11156200068f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b60008082840190508381101562000714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b620007368383836200083460201b620043db1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200081b576200077c6200082060201b60201c565b620007a582620007916200082a60201b60201c565b6200069560201b620042771790919060201c565b11156200081a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b6000600654905090565b6000600254905090565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620008715760008555620008bd565b82601f106200088c57805160ff1916838001178555620008bd565b82800160010185558215620008bd579182015b82811115620008bc5782518255916020019190600101906200089f565b5b509050620008cc9190620008d0565b5090565b5b80821115620008eb576000816000905550600101620008d1565b5090565b61526280620008ff6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636a04c38111610130578063a3b59c86116100b8578063da8f44e41161007c578063da8f44e414610db4578063dd62ed3e14610df8578063e2af4cad14610e70578063f2fde38b14610ecb578063f66d8aa314610f0f57610232565b8063a3b59c8614610b67578063a457c2d714610bf6578063a9059cbb14610c5a578063ba5011fa14610cbe578063ce086ec114610d1957610232565b80637f6f3d79116100ff5780637f6f3d791461099e5780638da5cb5b14610a175780638eacf71314610a4b57806395d89b4114610ac65780639da20c5614610b4957610232565b80636a04c3811461086257806370a08231146108dd578063715018a6146109355780637beea4bf1461093f57610232565b80632bf5eabb116101be5780633618bdab116101825780633618bdab1461066757806339509351146106c65780633bd86d2d1461072a57806350b04085146107c557806360f39d18146107f357610232565b80632bf5eabb146105945780632c83e86f146105c4578063313ce56714610608578063315ff78214610629578063355274ea1461064957610232565b806318160ddd1161020557806318160ddd146103e657806323b872dd14610404578063259e488d14610488578063261ea7a4146104cc57806329bf81e41461051b57610232565b806306fdde0314610237578063095ea7b3146102ba5780630c5cc0a21461031e57806316166f891461038d575b600080fd5b61023f610f93565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561027f578082015181840152602081019050610264565b50505050905090810190601f1680156102ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610306600480360360408110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611035565b60405180821515815260200191505060405180910390f35b6103616004803603602081101561033457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff191690602001909291905050506111ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103d0600480360360208110156103a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611235565b6040518082815260200191505060405180910390f35b6103ee611280565b6040518082815260200191505060405180910390f35b6104706004803603606081101561041a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061128a565b60405180821515815260200191505060405180910390f35b6104ca6004803603602081101561049e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611358565b005b610519600480360360408110156104e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803590602001909291905050506114d1565b005b6105676004803603604081101561053157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b6105c2600480360360208110156105aa57600080fd5b81019080803515159060200190929190505050611610565b005b610606600480360360208110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116dc565b005b610610611855565b604051808260ff16815260200191505060405180910390f35b61063161186c565b60405180821515815260200191505060405180910390f35b610651611883565b6040518082815260200191505060405180910390f35b61066f61188d565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106b2578082015181840152602081019050610697565b505050509050019250505060405180910390f35b610712600480360360408110156106dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061191f565b60405180821515815260200191505060405180910390f35b6107ad6004803603606081101561074057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119d2565b60405180821515815260200191505060405180910390f35b6107f1600480360360208110156107db57600080fd5b8101908080359060200190929190505050611aaa565b005b6108366004803603602081101561080957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611c10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108c56004803603604081101561087857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611c43565b60405180821515815260200191505060405180910390f35b61091f600480360360208110156108f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ef2565b6040518082815260200191505060405180910390f35b61093d611f3a565b005b6109476120aa565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561098a57808201518184015260208101905061096f565b505050509050019250505060405180910390f35b610a01600480360360408110156109b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050612179565b6040518082815260200191505060405180910390f35b610a1f61219e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610aae60048036036040811015610a6157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121c8565b60405180821515815260200191505060405180910390f35b610ace6128fb565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b0e578082015181840152602081019050610af3565b50505050905090810190601f168015610b3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b5161299d565b6040518082815260200191505060405180910390f35b610bde60048036036020811015610b7d57600080fd5b8101908080359060200190640100000000811115610b9a57600080fd5b820183602082011115610bac57600080fd5b80359060200191846020830284011164010000000083111715610bce57600080fd5b90919293919293905050506129a7565b60405180821515815260200191505060405180910390f35b610c4260048036036040811015610c0c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612a63565b60405180821515815260200191505060405180910390f35b610ca660048036036040811015610c7057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612c5f565b60405180821515815260200191505060405180910390f35b610d0160048036036020811015610cd457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050612cd5565b60405180821515815260200191505060405180910390f35b610d9c60048036036060811015610d2f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050613317565b60405180821515815260200191505060405180910390f35b610df660048036036020811015610dca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613b6d565b005b610e5a60048036036040811015610e0e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613ce6565b6040518082815260200191505060405180910390f35b610eb360048036036020811015610e8657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050613d6d565b60405180821515815260200191505060405180910390f35b610f0d60048036036020811015610ee157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613efe565b005b610f7b60048036036060811015610f2557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506140f3565b60405180821515815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561102b5780601f106110005761010080835404028352916020019161102b565b820191906000526020600020905b81548152906001019060200180831161100e57829003601f168201915b5050505050905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111b557600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b457600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561116c57600080fd5b505afa158015611180573d6000803e3d6000fd5b505050506040513d602081101561119657600080fd5b81019080805190602001909291905050508210156111b357600080fd5b5b5b6111c03384846143e0565b6001905092915050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020549050919050565b6000600254905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611341576112eb84836145d7565b611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614ff2602b913960400191505060405180910390fd5b5b61134c84848461476f565b50600190509392505050565b611360614848565b73ffffffffffffffffffffffffffffffffffffffff1661137e61219e565b73ffffffffffffffffffffffffffffffffffffffff1614611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561148d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806151d16028913960400191505060405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114d9614848565b73ffffffffffffffffffffffffffffffffffffffff166114f761219e565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055505050565b600e60205281600052604060002081815481106115e657600080fd5b9060005260206000209060029182820401919006600c02915091509054906101000a900460a01b81565b611618614848565b73ffffffffffffffffffffffffffffffffffffffff1661163661219e565b73ffffffffffffffffffffffffffffffffffffffff16146116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760146101000a81548160ff02191690831515021790555050565b6116e4614848565b73ffffffffffffffffffffffffffffffffffffffff1661170261219e565b73ffffffffffffffffffffffffffffffffffffffff161461178b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806150ce6029913960400191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b6000600760149054906101000a900460ff16905090565b6000600654905090565b6060600b80548060200260200160405190810160405280929190818152602001828054801561191557602002820191906000526020600020906000905b82829054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff1916815260200190600c0190602082600b010492830192600103820291508084116118ca5790505b5050505050905090565b60006119c861192c614848565b846119c3856001600061193d614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461427790919063ffffffff16565b6143e0565b6001905092915050565b60008173ffffffffffffffffffffffffffffffffffffffff16601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161490509392505050565b611ab2614848565b73ffffffffffffffffffffffffffffffffffffffff16611ad061219e565b73ffffffffffffffffffffffffffffffffffffffff1614611b59576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611bcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f56616e69747920507572636861736520436f7374206d757374206265203e203081525060200191505060405180910390fd5b80600a819055507fe7f7e30dc8854e6ebc92875bf60e7edee7a5bda14b92b8d852db83d37e428ec6816040518082815260200191505060405180910390a150565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061501d6028913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9882ce26ee4b9d7f9cc08c2c2101323228f2412036c7a3a050c200eede86276c84604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a36001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f42614848565b73ffffffffffffffffffffffffffffffffffffffff16611f6061219e565b73ffffffffffffffffffffffffffffffffffffffff1614611fe9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6060600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561216f57602002820191906000526020600020906000905b82829054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff1916815260200190600c0190602082600b010492830192600103820291508084116121245790505b5050505050905090565b600f602052816000526040600020602052806000526040600020600091509150505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614fa5602a913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612334576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b81600d60008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020839080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c021790555061249a6001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002054905060006125f76001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b90506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061264557fe5b9060005260206000209060029182820401919006600c029054906101000a900460a01b905080600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106126b557fe5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061273557fe5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000905582600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167feaeb5d0421f302fc4986a95aad8ad429bc6fed08dfda4ca1e8ed110fb7f129d888604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a36001935050505092915050565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156129935780601f1061296857610100808354040283529160200191612993565b820191906000526020600020905b81548152906001019060200180831161297657829003601f168201915b5050505050905090565b6000600a54905090565b600080600090505b83839050811015612a5857600060388585848181106129ca57fe5b9050602002013564ffffffffff191664ffffffffff1916901c60281c9050600060a0808787868181106129f957fe5b9050602002013564ffffffffff191664ffffffffff1916901b64ffffffffff1916901c60281c9050612a4882827affffffffffffffffffffffffffffffffffffffffffffffffffffff16612c5f565b50505080806001019150506129af565b506001905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4a57600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c4957600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612b9a57600080fd5b505afa158015612bae573d6000803e3d6000fd5b505050506040513d6020811015612bc457600080fd5b8101908080519060200190929190505050612bf183612be33387613ce6565b61485090919063ffffffff16565b1015612c48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252606c815260200180614f39606c913960800191505060405180910390fd5b5b5b612c5483836148d3565b506001905092915050565b6000612c6b33836145d7565b612cc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806151f96034913960400191505060405180910390fd5b612cca83836149a0565b506001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d7e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806150456024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614fcf6023913960400191505060405180910390fd5b60005b600c8160ff161015612f14576030838260ff16600c8110612e8457fe5b1a60f81b60f81c60ff1610158015612eb557506039838260ff16600c8110612ea857fe5b1a60f81b60f81c60ff1611155b80612efe57506041838260ff16600c8110612ecc57fe5b1a60f81b60f81c60ff1610158015612efd5750605a838260ff16600c8110612ef057fe5b1a60f81b60f81c60ff1611155b5b612f0757600080fd5b8080600101915050612e67565b506000600a541115613010573073ffffffffffffffffffffffffffffffffffffffff166323b872dd33600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612fd357600080fd5b505af1158015612fe7573d6000803e3d6000fd5b505050506040513d6020811015612ffd57600080fd5b8101908080519060200190929190505050505b33600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c02179055506131766001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002081905550600b829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c02179055506132646001600b8054905061485090919063ffffffff16565b601060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f6828c0068cad8973e4a3a23e513d4f8842302b74ed927230e9523febaf4a22bc83604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a260019050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614fa5602a913960400191505060405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180614eaf603b913960400191505060405180910390fd5b601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146135a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061511c6039913960400191505060405180910390fd5b82600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c021790555061370b6001600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055506000600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002054905060006138686001600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b90506000600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106138b657fe5b9060005260206000209060029182820401919006600c029054906101000a900460a01b905080600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061392657fe5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806139a657fe5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055600f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000905582600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167feaeb5d0421f302fc4986a95aad8ad429bc6fed08dfda4ca1e8ed110fb7f129d887604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a3600193505050509392505050565b613b75614848565b73ffffffffffffffffffffffffffffffffffffffff16613b9361219e565b73ffffffffffffffffffffffffffffffffffffffff1614613c1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613ca2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806151796033913960400191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60003373ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560019050919050565b613f06614848565b73ffffffffffffffffffffffffffffffffffffffff16613f2461219e565b73ffffffffffffffffffffffffffffffffffffffff1614613fad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614033576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614e676026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156141ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4c656173652045786368616e6765206d7573742062652061637469766174656481525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614e39602e913960400191505060405180910390fd5b61426b84848461128a565b50600190509392505050565b6000808284019050838110156142f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b61430a8383836143db565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156143d657614347611883565b61436182614353611280565b61427790919063ffffffff16565b11156143d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806151556024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156144ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614e8d6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146147655761463783611ef2565b61470d600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156146c357600080fd5b505afa1580156146d7573d6000803e3d6000fd5b505050506040513d60208110156146ed57600080fd5b81019080805190602001909291905050508461427790919063ffffffff16565b1115614764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180615091603d913960400191505060405180910390fd5b5b6001905092915050565b600061477c8484846149be565b61483d84614788614848565b6148388560405180606001604052806028815260200161506960289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006147ee614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6143e0565b600190509392505050565b600033905090565b6000828211156148c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60006149966148e0614848565b84614991856040518060600160405280602581526020016151ac602591396001600061490a614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6143e0565b6001905092915050565b60006149b46149ad614848565b84846149be565b6001905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614a44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806150f76025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614e166023913960400191505060405180910390fd5b614ad5838383614d39565b614b4081604051806060016040528060268152602001614eea602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550614bd3816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461427790919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290614d2c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614cf1578082015181840152602081019050614cd6565b50505050905090810190601f168015614d1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b614d448383836142ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614e1057614d81611883565b614d9b82614d8d611280565b61427790919063ffffffff16565b1115614e0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573736f6e6c7920746865206c656173652065786368616e67652063616e2063616c6c20746869732066756e6374696f6e4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573737468652076616e697479206265696e67207472616e73666572726564206d757374206265206f776e65642062792061646472657373205f66726f6d45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63657472616e73616374696f6e20696e69746961746f72206d757374206f776e207468652076616e6974796966207370656e64657220697320746865206c656173652065786368616e67652c2074686520616c6c6f77616e6365206d7573742062652067726561746572207468616e2074686520616d6f756e74207468652075736572206973206d696e696e672077697468204c454d426e65772076616e697479206f776e65722063616e6e6f74206265206f662061646472657373207a65726f76616e697479206d757374206e6f742062652070757263686173656420736f2066617276616c7565206d757374206265207472616e7366657265642066726f6d2061646472657373205f66726f6d7370656e646572206f662076616e6974792063616e6e6f742062652061646472657373207a65726f76616e697479207075726368617365207265636569766572206d7573742062652073657445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636576616c7565206265696e672073656e742063616e6e6f742064697020696e746f20454d42206163717569726564207468726f756768206c656173696e674c656173652045786368616e676520616464726573732063616e6e6f742062652073657420746f203045524332303a207472616e736665722066726f6d20746865207a65726f20616464726573737472616e73616374696f6e20696e69746961746f72206d75737420626520617070726f76656420746f207472616e736665722076616e69747945524332303a20617070726f76652066726f6d20746865207a65726f206164647265737356616e69747920507572636861736520526563656976657220616464726573732063616e6e6f742062652073657420746f203045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4c656173656420456d626c656d20616464726573732063616e6e6f742062652073657420746f203076616c7565206d757374206265207472616e736665727261626c65206279207472616e73616374696f6e20696e69746961746f72a26469706673582212200653ca10542c16db85c0ba40f0fc4f7a94a7b271054e7d4b2845e3e12a72c37164736f6c6343000706003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000006a94d74f43000000000000000000000000000016673a035fb4f6e8e5fe1e50ae8d60376a9b04ed0000000000000000000000000000000000000000000000000000000000000006456d626c656d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454d420000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636a04c38111610130578063a3b59c86116100b8578063da8f44e41161007c578063da8f44e414610db4578063dd62ed3e14610df8578063e2af4cad14610e70578063f2fde38b14610ecb578063f66d8aa314610f0f57610232565b8063a3b59c8614610b67578063a457c2d714610bf6578063a9059cbb14610c5a578063ba5011fa14610cbe578063ce086ec114610d1957610232565b80637f6f3d79116100ff5780637f6f3d791461099e5780638da5cb5b14610a175780638eacf71314610a4b57806395d89b4114610ac65780639da20c5614610b4957610232565b80636a04c3811461086257806370a08231146108dd578063715018a6146109355780637beea4bf1461093f57610232565b80632bf5eabb116101be5780633618bdab116101825780633618bdab1461066757806339509351146106c65780633bd86d2d1461072a57806350b04085146107c557806360f39d18146107f357610232565b80632bf5eabb146105945780632c83e86f146105c4578063313ce56714610608578063315ff78214610629578063355274ea1461064957610232565b806318160ddd1161020557806318160ddd146103e657806323b872dd14610404578063259e488d14610488578063261ea7a4146104cc57806329bf81e41461051b57610232565b806306fdde0314610237578063095ea7b3146102ba5780630c5cc0a21461031e57806316166f891461038d575b600080fd5b61023f610f93565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561027f578082015181840152602081019050610264565b50505050905090810190601f1680156102ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610306600480360360408110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611035565b60405180821515815260200191505060405180910390f35b6103616004803603602081101561033457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff191690602001909291905050506111ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103d0600480360360208110156103a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611235565b6040518082815260200191505060405180910390f35b6103ee611280565b6040518082815260200191505060405180910390f35b6104706004803603606081101561041a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061128a565b60405180821515815260200191505060405180910390f35b6104ca6004803603602081101561049e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611358565b005b610519600480360360408110156104e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803590602001909291905050506114d1565b005b6105676004803603604081101561053157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115ca565b604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b6105c2600480360360208110156105aa57600080fd5b81019080803515159060200190929190505050611610565b005b610606600480360360208110156105da57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116dc565b005b610610611855565b604051808260ff16815260200191505060405180910390f35b61063161186c565b60405180821515815260200191505060405180910390f35b610651611883565b6040518082815260200191505060405180910390f35b61066f61188d565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156106b2578082015181840152602081019050610697565b505050509050019250505060405180910390f35b610712600480360360408110156106dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061191f565b60405180821515815260200191505060405180910390f35b6107ad6004803603606081101561074057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119d2565b60405180821515815260200191505060405180910390f35b6107f1600480360360208110156107db57600080fd5b8101908080359060200190929190505050611aaa565b005b6108366004803603602081101561080957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611c10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108c56004803603604081101561087857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611c43565b60405180821515815260200191505060405180910390f35b61091f600480360360208110156108f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ef2565b6040518082815260200191505060405180910390f35b61093d611f3a565b005b6109476120aa565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561098a57808201518184015260208101905061096f565b505050509050019250505060405180910390f35b610a01600480360360408110156109b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050612179565b6040518082815260200191505060405180910390f35b610a1f61219e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610aae60048036036040811015610a6157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121c8565b60405180821515815260200191505060405180910390f35b610ace6128fb565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b0e578082015181840152602081019050610af3565b50505050905090810190601f168015610b3b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b5161299d565b6040518082815260200191505060405180910390f35b610bde60048036036020811015610b7d57600080fd5b8101908080359060200190640100000000811115610b9a57600080fd5b820183602082011115610bac57600080fd5b80359060200191846020830284011164010000000083111715610bce57600080fd5b90919293919293905050506129a7565b60405180821515815260200191505060405180910390f35b610c4260048036036040811015610c0c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612a63565b60405180821515815260200191505060405180910390f35b610ca660048036036040811015610c7057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612c5f565b60405180821515815260200191505060405180910390f35b610d0160048036036020811015610cd457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050612cd5565b60405180821515815260200191505060405180910390f35b610d9c60048036036060811015610d2f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050613317565b60405180821515815260200191505060405180910390f35b610df660048036036020811015610dca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613b6d565b005b610e5a60048036036040811015610e0e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613ce6565b6040518082815260200191505060405180910390f35b610eb360048036036020811015610e8657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff19169060200190929190505050613d6d565b60405180821515815260200191505060405180910390f35b610f0d60048036036020811015610ee157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613efe565b005b610f7b60048036036060811015610f2557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506140f3565b60405180821515815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561102b5780601f106110005761010080835404028352916020019161102b565b820191906000526020600020905b81548152906001019060200180831161100e57829003601f168201915b5050505050905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111b557600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111b457600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561116c57600080fd5b505afa158015611180573d6000803e3d6000fd5b505050506040513d602081101561119657600080fd5b81019080805190602001909291905050508210156111b357600080fd5b5b5b6111c03384846143e0565b6001905092915050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020549050919050565b6000600254905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611341576112eb84836145d7565b611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614ff2602b913960400191505060405180910390fd5b5b61134c84848461476f565b50600190509392505050565b611360614848565b73ffffffffffffffffffffffffffffffffffffffff1661137e61219e565b73ffffffffffffffffffffffffffffffffffffffff1614611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561148d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806151d16028913960400191505060405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114d9614848565b73ffffffffffffffffffffffffffffffffffffffff166114f761219e565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055505050565b600e60205281600052604060002081815481106115e657600080fd5b9060005260206000209060029182820401919006600c02915091509054906101000a900460a01b81565b611618614848565b73ffffffffffffffffffffffffffffffffffffffff1661163661219e565b73ffffffffffffffffffffffffffffffffffffffff16146116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760146101000a81548160ff02191690831515021790555050565b6116e4614848565b73ffffffffffffffffffffffffffffffffffffffff1661170261219e565b73ffffffffffffffffffffffffffffffffffffffff161461178b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806150ce6029913960400191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b6000600760149054906101000a900460ff16905090565b6000600654905090565b6060600b80548060200260200160405190810160405280929190818152602001828054801561191557602002820191906000526020600020906000905b82829054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff1916815260200190600c0190602082600b010492830192600103820291508084116118ca5790505b5050505050905090565b60006119c861192c614848565b846119c3856001600061193d614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461427790919063ffffffff16565b6143e0565b6001905092915050565b60008173ffffffffffffffffffffffffffffffffffffffff16601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161490509392505050565b611ab2614848565b73ffffffffffffffffffffffffffffffffffffffff16611ad061219e565b73ffffffffffffffffffffffffffffffffffffffff1614611b59576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611bcf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f56616e69747920507572636861736520436f7374206d757374206265203e203081525060200191505060405180910390fd5b80600a819055507fe7f7e30dc8854e6ebc92875bf60e7edee7a5bda14b92b8d852db83d37e428ec6816040518082815260200191505060405180910390a150565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061501d6028913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f9882ce26ee4b9d7f9cc08c2c2101323228f2412036c7a3a050c200eede86276c84604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a36001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f42614848565b73ffffffffffffffffffffffffffffffffffffffff16611f6061219e565b73ffffffffffffffffffffffffffffffffffffffff1614611fe9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6060600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561216f57602002820191906000526020600020906000905b82829054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff1916815260200190600c0190602082600b010492830192600103820291508084116121245790505b5050505050905090565b600f602052816000526040600020602052806000526040600020600091509150505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614fa5602a913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612334576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b81600d60008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020839080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c021790555061249a6001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002054905060006125f76001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b90506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061264557fe5b9060005260206000209060029182820401919006600c029054906101000a900460a01b905080600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106126b557fe5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061273557fe5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000905582600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167feaeb5d0421f302fc4986a95aad8ad429bc6fed08dfda4ca1e8ed110fb7f129d888604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a36001935050505092915050565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156129935780601f1061296857610100808354040283529160200191612993565b820191906000526020600020905b81548152906001019060200180831161297657829003601f168201915b5050505050905090565b6000600a54905090565b600080600090505b83839050811015612a5857600060388585848181106129ca57fe5b9050602002013564ffffffffff191664ffffffffff1916901c60281c9050600060a0808787868181106129f957fe5b9050602002013564ffffffffff191664ffffffffff1916901b64ffffffffff1916901c60281c9050612a4882827affffffffffffffffffffffffffffffffffffffffffffffffffffff16612c5f565b50505080806001019150506129af565b506001905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4a57600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c4957600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612b9a57600080fd5b505afa158015612bae573d6000803e3d6000fd5b505050506040513d6020811015612bc457600080fd5b8101908080519060200190929190505050612bf183612be33387613ce6565b61485090919063ffffffff16565b1015612c48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252606c815260200180614f39606c913960800191505060405180910390fd5b5b5b612c5483836148d3565b506001905092915050565b6000612c6b33836145d7565b612cc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806151f96034913960400191505060405180910390fd5b612cca83836149a0565b506001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d7e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806150456024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614fcf6023913960400191505060405180910390fd5b60005b600c8160ff161015612f14576030838260ff16600c8110612e8457fe5b1a60f81b60f81c60ff1610158015612eb557506039838260ff16600c8110612ea857fe5b1a60f81b60f81c60ff1611155b80612efe57506041838260ff16600c8110612ecc57fe5b1a60f81b60f81c60ff1610158015612efd5750605a838260ff16600c8110612ef057fe5b1a60f81b60f81c60ff1611155b5b612f0757600080fd5b8080600101915050612e67565b506000600a541115613010573073ffffffffffffffffffffffffffffffffffffffff166323b872dd33600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612fd357600080fd5b505af1158015612fe7573d6000803e3d6000fd5b505050506040513d6020811015612ffd57600080fd5b8101908080519060200190929190505050505b33600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c02179055506131766001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002081905550600b829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c02179055506132646001600b8054905061485090919063ffffffff16565b601060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f6828c0068cad8973e4a3a23e513d4f8842302b74ed927230e9523febaf4a22bc83604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a260019050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614fa5602a913960400191505060405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180614eaf603b913960400191505060405180910390fd5b601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146135a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061511c6039913960400191505060405180910390fd5b82600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000209060029182820401919006600c029091909190916101000a8154816bffffffffffffffffffffffff021916908360a01c021790555061370b6001600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055506000600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002054905060006138686001600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061485090919063ffffffff16565b90506000600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106138b657fe5b9060005260206000209060029182820401919006600c029054906101000a900460a01b905080600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061392657fe5b9060005260206000209060029182820401919006600c026101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806139a657fe5b6001900381819060005260206000209060029182820401919006600c026101000a8154906bffffffffffffffffffffffff02191690559055600f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000905582600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167feaeb5d0421f302fc4986a95aad8ad429bc6fed08dfda4ca1e8ed110fb7f129d887604051808273ffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390a3600193505050509392505050565b613b75614848565b73ffffffffffffffffffffffffffffffffffffffff16613b9361219e565b73ffffffffffffffffffffffffffffffffffffffff1614613c1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613ca2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806151796033913960400191505060405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60003373ffffffffffffffffffffffffffffffffffffffff16600d60008473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f106029913960400191505060405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560019050919050565b613f06614848565b73ffffffffffffffffffffffffffffffffffffffff16613f2461219e565b73ffffffffffffffffffffffffffffffffffffffff1614613fad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614033576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614e676026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156141ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4c656173652045786368616e6765206d7573742062652061637469766174656481525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614614260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614e39602e913960400191505060405180910390fd5b61426b84848461128a565b50600190509392505050565b6000808284019050838110156142f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b61430a8383836143db565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156143d657614347611883565b61436182614353611280565b61427790919063ffffffff16565b11156143d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806151556024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156144ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614e8d6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b60008073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146147655761463783611ef2565b61470d600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304426db4866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156146c357600080fd5b505afa1580156146d7573d6000803e3d6000fd5b505050506040513d60208110156146ed57600080fd5b81019080805190602001909291905050508461427790919063ffffffff16565b1115614764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180615091603d913960400191505060405180910390fd5b5b6001905092915050565b600061477c8484846149be565b61483d84614788614848565b6148388560405180606001604052806028815260200161506960289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006147ee614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6143e0565b600190509392505050565b600033905090565b6000828211156148c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60006149966148e0614848565b84614991856040518060600160405280602581526020016151ac602591396001600061490a614848565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6143e0565b6001905092915050565b60006149b46149ad614848565b84846149be565b6001905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614a44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806150f76025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614e166023913960400191505060405180910390fd5b614ad5838383614d39565b614b4081604051806060016040528060268152602001614eea602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054614c7f9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550614bd3816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461427790919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290614d2c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614cf1578082015181840152602081019050614cd6565b50505050905090810190601f168015614d1e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b614d448383836142ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614e1057614d81611883565b614d9b82614d8d611280565b61427790919063ffffffff16565b1115614e0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f45524332304361707065643a206361702065786365656465640000000000000081525060200191505060405180910390fd5b5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573736f6e6c7920746865206c656173652065786368616e67652063616e2063616c6c20746869732066756e6374696f6e4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573737468652076616e697479206265696e67207472616e73666572726564206d757374206265206f776e65642062792061646472657373205f66726f6d45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63657472616e73616374696f6e20696e69746961746f72206d757374206f776e207468652076616e6974796966207370656e64657220697320746865206c656173652065786368616e67652c2074686520616c6c6f77616e6365206d7573742062652067726561746572207468616e2074686520616d6f756e74207468652075736572206973206d696e696e672077697468204c454d426e65772076616e697479206f776e65722063616e6e6f74206265206f662061646472657373207a65726f76616e697479206d757374206e6f742062652070757263686173656420736f2066617276616c7565206d757374206265207472616e7366657265642066726f6d2061646472657373205f66726f6d7370656e646572206f662076616e6974792063616e6e6f742062652061646472657373207a65726f76616e697479207075726368617365207265636569766572206d7573742062652073657445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636576616c7565206265696e672073656e742063616e6e6f742064697020696e746f20454d42206163717569726564207468726f756768206c656173696e674c656173652045786368616e676520616464726573732063616e6e6f742062652073657420746f203045524332303a207472616e736665722066726f6d20746865207a65726f20616464726573737472616e73616374696f6e20696e69746961746f72206d75737420626520617070726f76656420746f207472616e736665722076616e69747945524332303a20617070726f76652066726f6d20746865207a65726f206164647265737356616e69747920507572636861736520526563656976657220616464726573732063616e6e6f742062652073657420746f203045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4c656173656420456d626c656d20616464726573732063616e6e6f742062652073657420746f203076616c7565206d757374206265207472616e736665727261626c65206279207472616e73616374696f6e20696e69746961746f72a26469706673582212200653ca10542c16db85c0ba40f0fc4f7a94a7b271054e7d4b2845e3e12a72c37164736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000006a94d74f43000000000000000000000000000016673a035fb4f6e8e5fe1e50ae8d60376a9b04ed0000000000000000000000000000000000000000000000000000000000000006456d626c656d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454d420000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Emblem
Arg [1] : _ticker (string): EMB
Arg [2] : _decimal (uint8): 8
Arg [3] : _supply (uint256): 30000000000000000
Arg [4] : _wallet (address): 0x16673A035FB4F6e8E5Fe1e50AE8D60376A9b04ed
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 000000000000000000000000000000000000000000000000006a94d74f430000
Arg [4] : 00000000000000000000000016673a035fb4f6e8e5fe1e50ae8d60376a9b04ed
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 456d626c656d0000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 454d420000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
89078:9498:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13464:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98252:319;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;91826:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;91446:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14563:108;;;:::i;:::-;;;;;;;;;;;;;;;;;;;97103:289;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;91155:170;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;91332:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;89470:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;90840:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;90314:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14407:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;91554:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22974:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;91950:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16991:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;91650:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;90523:200;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;89413:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;92171:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14734:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25332:148;;;:::i;:::-;;92054:110;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89527:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24681:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;92832:929;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13674:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90730:103;;;:::i;:::-;;;;;;;;;;;;;;;;;;;96393:371;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;97399:508;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;96144:242;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;94855:873;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;93768:1080;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;90936:212;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;15312:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;92582:243;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25635:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;96771:325;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13464:91;13509:13;13542:5;13535:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13464:91;:::o;98252:319::-;98328:4;98357:13;;;;;;;;;;;98345:25;;:8;:25;;;98342:158;;;98408:1;98384:26;;98392:4;;;;;;;;;;;98384:26;;;98381:111;;98441:4;;;;;;;;;;;:27;;;98469:10;98441:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98431:6;:49;;98423:58;;;;;;98381:111;98342:158;98507:38;98516:10;98528:8;98538:6;98507:8;:38::i;:::-;98560:4;98553:11;;98252:319;;;;:::o;91826:117::-;91888:7;91912:15;:24;91928:7;91912:24;;;;;;;;;;;;;;;;;;;;;;;;;;;91905:31;;91826:117;;;:::o;91446:101::-;91498:7;91522:10;:18;91533:6;91522:18;;;;;;;;;;;;;;;;;;91515:25;;91446:101;;;:::o;14563:108::-;14624:7;14651:12;;14644:19;;14563:108;:::o;97103:289::-;97194:4;97225:13;;;;;;;;;;;97211:27;;:10;:27;;;97208:112;;97248:25;97260:5;97266:6;97248:11;:25::i;:::-;97240:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97208:112;97329:36;97348:5;97354:3;97358:6;97329:18;:36::i;:::-;;97381:4;97374:11;;97103:289;;;;;:::o;91155:170::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91237:1:::1;91220:19;;:5;:19;;;;91212:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91312:5;91292:4;;:26;;;;;;;;;;;;;;;;;;91155:170:::0;:::o;91332:107::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91429:3:::1;91408:10;:18;91419:6;91408:18;;;;;;;;;;;;;;;;;:24;;;;91332:107:::0;;:::o;89470:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;90840:89::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90915:7:::1;90899:13;;:23;;;;;;;;;;;;;;;;;;90840:89:::0;:::o;90314:202::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90423:1:::1;90397:28;;:14;:28;;;;90389:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90495:14;90479:13;;:30;;;;;;;;;;;;;;;;;;90314:202:::0;:::o;14407:91::-;14456:5;14481:9;;;;;;;;;;;14474:16;;14407:91;:::o;91554:89::-;91602:4;91623:13;;;;;;;;;;;91616:20;;91554:89;:::o;22974:83::-;23018:7;23045:4;;23038:11;;22974:83;:::o;91950:97::-;91997:16;92029:11;92022:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91950:97;:::o;16991:218::-;17079:4;17096:83;17105:12;:10;:12::i;:::-;17119:7;17128:50;17167:10;17128:11;:25;17140:12;:10;:12::i;:::-;17128:25;;;;;;;;;;;;;;;:34;17154:7;17128:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;17096:8;:83::i;:::-;17197:4;17190:11;;16991:218;;;;:::o;91650:169::-;91747:4;91804:8;91768:44;;:15;:23;91784:6;91768:23;;;;;;;;;;;;;;;:32;91792:7;91768:32;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;;;91761:51;;91650:169;;;;;:::o;90523:200::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90608:1:::1;90601:4;:8;90593:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;90675:4;90654:18;:25;;;;90692:24;90711:4;90692:24;;;;;;;;;;;;;;;;;;90523:200:::0;:::o;89413:51::-;;;;;;;;;;;;;;;;;;;;;;:::o;92171:404::-;92245:4;92287:1;92267:22;;:8;:22;;;;92259:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92378:10;92350:38;;:15;:24;92366:7;92350:24;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;;;92342:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92481:8;92442:15;:27;92458:10;92442:27;;;;;;;;;;;;;;;:36;92470:7;92442:36;;;;;;;;;;;;;;;;;;:47;;;;;;;;;;;;;;;;;;92531:8;92504:45;;92519:10;92504:45;;;92541:7;92504:45;;;;;;;;;;;;;;;;;;;;;92564:4;92557:11;;92171:404;;;;:::o;14734:127::-;14808:7;14835:9;:18;14845:7;14835:18;;;;;;;;;;;;;;;;14828:25;;14734:127;;;:::o;25332:148::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25439:1:::1;25402:40;;25423:6;;;;;;;;;;;25402:40;;;;;;;;;;;;25470:1;25453:6;;:19;;;;;;;;;;;;;;;;;;25332:148::o:0;92054:110::-;92100:16;92132:13;:25;92146:10;92132:25;;;;;;;;;;;;;;;92125:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92054:110;:::o;89527:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24681:87::-;24727:7;24754:6;;;;;;;;;;;24747:13;;24681:87;:::o;92832:929::-;92903:4;92945:1;92925:22;;:8;:22;;;;92917:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93033:10;93009:34;;:15;:20;93025:3;93009:20;;;;;;;;;;;;;;;;;;;;;;;;;;;:34;;;93001:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93121:8;93098:15;:20;93114:3;93098:20;;;;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;93137:13;:23;93151:8;93137:23;;;;;;;;;;;;;;;93166:3;93137:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93214:37;93249:1;93214:13;:23;93228:8;93214:23;;;;;;;;;;;;;;;:30;;;;:34;;:37;;;;:::i;:::-;93178:18;:28;93197:8;93178:28;;;;;;;;;;;;;;;:33;93207:3;93178:33;;;;;;;;;;;;;;;;;:73;;;;93261:19;93283:18;:30;93302:10;93283:30;;;;;;;;;;;;;;;:35;93314:3;93283:35;;;;;;;;;;;;;;;;;;93261:57;;93326:23;93352:39;93389:1;93352:13;:25;93366:10;93352:25;;;;;;;;;;;;;;;:32;;;;:36;;:39;;;;:::i;:::-;93326:65;;93399:18;93420:13;:25;93434:10;93420:25;;;;;;;;;;;;;;;93446:15;93420:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93399:63;;93513:10;93472:13;:25;93486:10;93472:25;;;;;;;;;;;;;;;93498:11;93472:38;;;;;;;;;;;;;;;;;;;;;;;;;;:51;;;;;;;;;;;;;;;;;;93531:13;:25;93545:10;93531:25;;;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93579:18;:30;93598:10;93579:30;;;;;;;;;;;;;;;:35;93610:3;93579:35;;;;;;;;;;;;;;;;;93572:42;;;93667:11;93622:18;:30;93641:10;93622:30;;;;;;;;;;;;;;;:42;93653:10;93622:42;;;;;;;;;;;;;;;;;:56;;;;93720:8;93693:40;;93708:10;93693:40;;;93729:3;93693:40;;;;;;;;;;;;;;;;;;;;;93750:4;93743:11;;;;;92832:929;;;;:::o;13674:95::-;13721:13;13754:7;13747:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13674:95;:::o;90730:103::-;90784:7;90808:18;;90801:25;;90730:103;:::o;96393:371::-;96475:4;96494:6;96503:1;96494:10;;96489:249;96510:20;;:27;;96506:1;:31;96489:249;;;96557:10;96613:2;96586:20;;96607:1;96586:23;;;;;;;;;;;;;;;;:29;;;;;96578:38;;96557:60;;96630:14;96691:3;96683;96656:20;;96677:1;96656:23;;;;;;;;;;;;;;;;:30;;;;;96655:39;;;;;96647:48;;96630:65;;96708:20;96717:2;96721:6;96708:20;;:8;:20::i;:::-;;96489:249;;96539:3;;;;;;;96489:249;;;;96753:4;96746:11;;96393:371;;;;:::o;97399:508::-;97494:4;97523:13;;;;;;;;;;;97511:25;;:8;:25;;;97508:316;;;97575:1;97551:26;;97559:4;;;;;;;;;;;97551:26;;;97548:268;;97654:4;;;;;;;;;;;:27;;;97682:10;97654:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97598:52;97633:16;97598:30;97608:10;97619:8;97598:9;:30::i;:::-;:34;;:52;;;;:::i;:::-;:95;;97590:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97548:268;97508:316;97831:50;97855:8;97864:16;97831:23;:50::i;:::-;;97896:4;97889:11;;97399:508;;;;:::o;96144:242::-;96216:4;96238:30;96250:10;96261:6;96238:11;:30::i;:::-;96230:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96333:26;96348:3;96352:6;96333:14;:26::i;:::-;;96375:4;96368:11;;96144:242;;;;:::o;94855:873::-;94908:4;94964:1;94930:36;;:22;;;;;;;;;;;:36;;;;94922:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95054:1;95022:34;;:15;:20;95038:3;95022:20;;;;;;;;;;;;;;;;;;;;;;;;;;;:34;;;95014:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95109:7;95105:187;95126:2;95122:1;:6;;;95105:187;;;95208:2;95197:3;95201:1;95197:6;;;;;;;;;;;;95191:13;;:19;;;;:42;;;;;95231:2;95220:3;95224:1;95220:6;;;;;;;;;;;;95214:13;;:19;;;;95191:42;95190:92;;;;95256:2;95245:3;95249:1;95245:6;;;;;;;;;;;;95239:13;;:19;;;;:42;;;;;95279:2;95268:3;95272:1;95268:6;;;;;;;;;;;;95262:13;;:19;;;;95239:42;95190:92;95182:101;;;;;;95130:3;;;;;;;95105:187;;;;95323:1;95302:18;;:22;95299:99;;;95326:4;:17;;;95344:10;95355:22;;;;;;;;;;;95379:18;;95326:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95299:99;95431:10;95408:15;:20;95424:3;95408:20;;;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;95449:13;:25;95463:10;95449:25;;;;;;;;;;;;;;;95480:3;95449:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95530:39;95567:1;95530:13;:25;95544:10;95530:25;;;;;;;;;;;;;;;:32;;;;:36;;:39;;;;:::i;:::-;95492:18;:30;95511:10;95492:30;;;;;;;;;;;;;;;:35;95523:3;95492:35;;;;;;;;;;;;;;;;;:77;;;;95577:11;95594:3;95577:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95630:25;95653:1;95630:11;:18;;;;:22;;:25;;;;:::i;:::-;95606:16;:21;95623:3;95606:21;;;;;;;;;;;;;;;;;:49;;;;95686:10;95670:32;;;95698:3;95670:32;;;;;;;;;;;;;;;;;;;;;95717:4;95710:11;;94855:873;;;:::o;93768:1080::-;93893:4;93934:1;93919:17;;:3;:17;;;;93911:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94007:15;:24;94023:7;94007:24;;;;;;;;;;;;;;;;;;;;;;;;;;;93998:33;;:5;:33;;;93990:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94124:15;:22;94140:5;94124:22;;;;;;;;;;;;;;;:31;94147:7;94124:31;;;;;;;;;;;;;;;;;;;;;;;;;;;94110:45;;:10;:45;;;94102:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94253:3;94226:15;:24;94242:7;94226:24;;;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;94264:13;:18;94278:3;94264:18;;;;;;;;;;;;;;;94288:7;94264:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94339;94369:1;94339:13;:18;94353:3;94339:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;94304:18;:23;94323:3;94304:23;;;;;;;;;;;;;;;:32;94328:7;94304:32;;;;;;;;;;;;;;;;;:67;;;;94381:19;94403:18;:25;94422:5;94403:25;;;;;;;;;;;;;;;:34;94429:7;94403:34;;;;;;;;;;;;;;;;;;94381:56;;94445:23;94471:34;94503:1;94471:13;:20;94485:5;94471:20;;;;;;;;;;;;;;;:27;;;;:31;;:34;;;;:::i;:::-;94445:60;;94513:18;94534:13;:20;94548:5;94534:20;;;;;;;;;;;;;;;94555:15;94534:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94513:58;;94617:10;94581:13;:20;94595:5;94581:20;;;;;;;;;;;;;;;94602:11;94581:33;;;;;;;;;;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;94635:13;:20;94649:5;94635:20;;;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94678:18;:25;94697:5;94678:25;;;;;;;;;;;;;;;:34;94704:7;94678:34;;;;;;;;;;;;;;;;;94671:41;;;94760:11;94720:18;:25;94739:5;94720:25;;;;;;;;;;;;;;;:37;94746:10;94720:37;;;;;;;;;;;;;;;;;:51;;;;94808:3;94786:34;;94801:5;94786:34;;;94812:7;94786:34;;;;;;;;;;;;;;;;;;;;;94837:4;94830:11;;;;;93768:1080;;;;;:::o;90936:212::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91042:1:::1;91022:22;;:8;:22;;;;91014:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91133:8;91108:22;;:33;;;;;;;;;;;;;;;;;;90936:212:::0;:::o;15312:151::-;15401:7;15428:11;:18;15440:5;15428:18;;;;;;;;;;;;;;;:27;15447:7;15428:27;;;;;;;;;;;;;;;;15421:34;;15312:151;;;;:::o;92582:243::-;92644:4;92693:10;92665:38;;:15;:24;92681:7;92665:24;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;;;92657:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92763:15;:27;92779:10;92763:27;;;;;;;;;;;;;;;:36;92791:7;92763:36;;;;;;;;;;;;;;;;;;92756:43;;;;;;;;;;;92814:4;92807:11;;92582:243;;;:::o;25635:244::-;24912:12;:10;:12::i;:::-;24901:23;;:7;:5;:7::i;:::-;:23;;;24893:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25744:1:::1;25724:22;;:8;:22;;;;25716:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25834:8;25805:38;;25826:6;;;;;;;;;;;25805:38;;;;;;;;;;;;25863:8;25854:6;;:17;;;;;;;;;;;;;;;;;;25635:244:::0;:::o;96771:325::-;96853:4;96888:13;;;;;;;;;;;96874:27;;96882:1;96874:27;;;;96866:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96968:13;;;;;;;;;;;96954:27;;:10;:27;;;96946:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97040:30;97053:5;97059:3;97063:6;97040:12;:30::i;:::-;;97085:4;97078:11;;96771:325;;;;;:::o;6629:179::-;6687:7;6707:9;6723:1;6719;:5;6707:17;;6748:1;6743;:6;;6735:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6799:1;6792:8;;;6629:179;;;;:::o;23244:319::-;23353:44;23380:4;23386:2;23390:6;23353:26;:44::i;:::-;23430:1;23414:18;;:4;:18;;;23410:146;;;23509:5;:3;:5::i;:::-;23480:25;23498:6;23480:13;:11;:13::i;:::-;:17;;:25;;;;:::i;:::-;:34;;23472:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23410:146;23244:319;;;:::o;22238:92::-;;;;:::o;20859:346::-;20978:1;20961:19;;:5;:19;;;;20953:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21059:1;21040:21;;:7;:21;;;;21032:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21143:6;21113:11;:18;21125:5;21113:18;;;;;;;;;;;;;;;:27;21132:7;21113:27;;;;;;;;;;;;;;;:36;;;;21181:7;21165:32;;21174:5;21165:32;;;21190:6;21165:32;;;;;;;;;;;;;;;;;;20859:346;;;:::o;95821:316::-;95898:4;95940:1;95916:26;;95924:4;;;;;;;;;;;95916:26;;;95913:198;;96016:19;96026:8;96016:9;:19::i;:::-;95963:49;95974:4;;;;;;;;;;;:27;;;96002:8;95974:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95963:6;:10;;:49;;;;:::i;:::-;:72;;95954:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95913:198;96126:4;96119:11;;95821:316;;;;:::o;16261:321::-;16367:4;16384:36;16394:6;16402:9;16413:6;16384:9;:36::i;:::-;16431:121;16440:6;16448:12;:10;:12::i;:::-;16462:89;16500:6;16462:89;;;;;;;;;;;;;;;;;:11;:19;16474:6;16462:19;;;;;;;;;;;;;;;:33;16482:12;:10;:12::i;:::-;16462:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;16431:8;:121::i;:::-;16570:4;16563:11;;16261:321;;;;;:::o;667:106::-;720:15;755:10;748:17;;667:106;:::o;7091:158::-;7149:7;7182:1;7177;:6;;7169:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7240:1;7236;:5;7229:12;;7091:158;;;;:::o;17712:269::-;17805:4;17822:129;17831:12;:10;:12::i;:::-;17845:7;17854:96;17893:15;17854:96;;;;;;;;;;;;;;;;;:11;:25;17866:12;:10;:12::i;:::-;17854:25;;;;;;;;;;;;;;;:34;17880:7;17854:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;17822:8;:129::i;:::-;17969:4;17962:11;;17712:269;;;;:::o;15074:175::-;15160:4;15177:42;15187:12;:10;:12::i;:::-;15201:9;15212:6;15177:9;:42::i;:::-;15237:4;15230:11;;15074:175;;;;:::o;18471:539::-;18595:1;18577:20;;:6;:20;;;;18569:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18679:1;18658:23;;:9;:23;;;;18650:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18734:47;18755:6;18763:9;18774:6;18734:20;:47::i;:::-;18814:71;18836:6;18814:71;;;;;;;;;;;;;;;;;:9;:17;18824:6;18814:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;18794:9;:17;18804:6;18794:17;;;;;;;;;;;;;;;:91;;;;18919:32;18944:6;18919:9;:20;18929:9;18919:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;18896:9;:20;18906:9;18896:20;;;;;;;;;;;;;;;:55;;;;18984:9;18967:35;;18976:6;18967:35;;;18995:6;18967:35;;;;;;;;;;;;;;;;;;18471:539;;;:::o;9456:166::-;9542:7;9575:1;9570;:6;;9578:12;9562:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9613:1;9609;:5;9602:12;;9456:166;;;;;:::o;97914:331::-;98041:44;98068:4;98074:2;98078:6;98041:26;:44::i;:::-;98116:1;98100:18;;:4;:18;;;98096:142;;;98193:5;:3;:5::i;:::-;98164:25;98182:6;98164:13;:11;:13::i;:::-;:17;;:25;;;;:::i;:::-;:34;;98156:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98096:142;97914:331;;;:::o
Swarm Source
ipfs://0653ca10542c16db85c0ba40f0fc4f7a94a7b271054e7d4b2845e3e12a72c371
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.