ERC-20
Overview
Max Total Supply
327,040.839988425925925146 HOOT
Holders
552
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
85.290277777777777777 HOOTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OwlToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Address.sol"; import "./CollaborativeOwnable.sol"; import "./ERC20Pausable.sol"; import "./IERC721.sol"; import "./SafeMath.sol"; import "./Strings.sol"; contract OwlToken is ERC20Pausable, CollaborativeOwnable { using SafeMath for uint256; using Address for address; using Strings for uint256; address public nightOwlsAddress = address(0); mapping(address => bool) public redeemSources; uint256 public startTimestamp; uint256 public constant interval = 86400; uint256 public rate = 5000000000000000000; mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; constructor() ERC20("Owl Token", "HOOT") { startTimestamp = block.timestamp; _pause(); } // // Public / External // function redeemTokens(address addr, uint256 tokenAmount) external { require(redeemSources[_msgSender()], "forbidden"); _claimRewardsForAddress(addr); require(balanceOf(addr) >= tokenAmount, "insufficent"); _burn(addr, tokenAmount); } // Called by the NightOwls contract when a token is transferred function onNightOwlTransfer(address from, address to) external { require(_msgSender() == nightOwlsAddress, "forbidden"); if (!paused()) { if (from != address(0)) { rewards[from] += getPendingReward(from); lastUpdate[from] = block.timestamp; } if (to != address(0)) { rewards[to] += getPendingReward(to); lastUpdate[to] = block.timestamp; } } } function claimRewards() public whenNotPaused { _claimRewardsForAddress(_msgSender()); } function getAvailableRewards(address addr) external view returns(uint256) { return rewards[addr] + getPendingReward(addr); } function getlastUpdate(address user) external view returns(uint256) { return lastUpdate[user]; } // // Private / internal // function getPendingReward(address addr) internal view returns(uint256) { require(nightOwlsAddress != address(0), "night owls address"); return IERC721(nightOwlsAddress).balanceOf(addr) * rate * (block.timestamp - (lastUpdate[addr] >= startTimestamp ? lastUpdate[addr] : startTimestamp)) / interval; } function _claimRewardsForAddress(address addr) internal { _mint(addr, rewards[addr] + getPendingReward(addr)); rewards[addr] = 0; lastUpdate[addr] = block.timestamp; } // // Collaborator Access // function pause() public onlyCollaborator { _pause(); } function unpause() public onlyCollaborator { _unpause(); } function burn(address addr, uint256 amount) external onlyCollaborator { require(addr != address(0), "zero"); _burn(addr, amount); } function airDrop(address addr, uint256 amount) external onlyCollaborator { require(addr != address(0), "zero"); _mint(addr, amount); } function setStartTimestamp(uint256 timestamp) external onlyCollaborator { if (timestamp == 0) { startTimestamp = block.timestamp; } else { startTimestamp = timestamp; } } function setRewardRate(uint256 newRate) external onlyCollaborator { rate = newRate; } function setNightOwlsAddress(address newContractAddress) external onlyCollaborator { nightOwlsAddress = newContractAddress; } function addRedeemSource(address addr) external onlyCollaborator { redeemSources[addr] = true; } function removeRedeemSource(address addr) external onlyCollaborator { redeemSources[addr] = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.0; import "./ERC20.sol"; import "./Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 override returns (uint8) { return 18; } /** * @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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./Address.sol"; abstract contract CollaborativeOwnable is Ownable { using Address for address; mapping(address => bool) private _collaborators; uint256 private _collaboratorCount; constructor() { } function isCollaborator(address collaboratorAddress) public view virtual returns (bool) { return _collaborators[collaboratorAddress]; } modifier onlyCollaborator() { require(owner() == _msgSender() || _collaborators[_msgSender()], "CO1"); _; } function addCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO2"); require(!_collaborators[collaboratorAddress], "CO3"); _collaborators[collaboratorAddress] = true; _collaboratorCount++; } function removeCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO4"); require(_collaborators[collaboratorAddress], "CO4"); require(_collaboratorCount > 1, "CO4"); _collaborators[collaboratorAddress] = false; _collaboratorCount--; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 20000 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"addCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addRedeemSource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"amount","type":"uint256"}],"name":"approve","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":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"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":"address","name":"addr","type":"address"}],"name":"getAvailableRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getlastUpdate","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":[],"name":"interval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"isCollaborator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nightOwlsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"onNightOwlTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"redeemSources","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"redeemTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"removeCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeRedeemSource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newContractAddress","type":"address"}],"name":"setNightOwlsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550674563918244f40000600b553480156200005f57600080fd5b506040518060400160405280600981526020017f4f776c20546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f484f4f54000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000e4929190620002f5565b508060049080519060200190620000fd929190620002f5565b5050506000600560006101000a81548160ff0219169083151502179055506200013b6200012f6200015860201b60201c565b6200016060201b60201c565b42600a81905550620001526200022660201b60201c565b620004ef565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000236620002de60201b60201c565b1562000279576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002709062000406565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002c56200015860201b60201c565b604051620002d491906200046d565b60405180910390a1565b6000600560009054906101000a900460ff16905090565b8280546200030390620004b9565b90600052602060002090601f01602090048101928262000327576000855562000373565b82601f106200034257805160ff191683800117855562000373565b8280016001018555821562000373579182015b828111156200037257825182559160200191906001019062000355565b5b50905062000382919062000386565b5090565b5b80821115620003a157600081600090555060010162000387565b5090565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620003ee601083620003a5565b9150620003fb82620003b6565b602082019050919050565b600060208201905081810360008301526200042181620003df565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004558262000428565b9050919050565b620004678162000448565b82525050565b60006020820190506200048460008301846200045c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004d257607f821691505b60208210811415620004e957620004e86200048a565b5b50919050565b61404580620004ff6000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c80638456cb591161017b578063ac40b4db116100d8578063d35b21b11161008c578063dd62ed3e11610071578063dd62ed3e1461075c578063e6fd48bc1461078c578063f2fde38b146107aa576102ad565b8063d35b21b114610724578063dad7f11014610740576102ad565b8063c6080fe4116100bd578063c6080fe4146106a8578063cb03fb1e146106d8578063ccdbe6a614610708576102ad565b8063ac40b4db14610670578063c44bef751461068c576102ad565b806395d89b411161012f5780639e447fc6116101145780639e447fc6146105f4578063a457c2d714610610578063a9059cbb14610640576102ad565b806395d89b41146105ba5780639dc29fac146105d8576102ad565b806387d92a4d1161016057806387d92a4d146105605780638da5cb5b1461057e578063947a36fb1461059c576102ad565b80638456cb5914610526578063873e31fa14610530576102ad565b8063313ce567116102295780635c975abb116101dd57806370a08231116101c257806370a08231146104d0578063715018a6146105005780637b3518551461050a576102ad565b80635c975abb146104825780636af8c4e7146104a0576102ad565b8063395093511161020e578063395093511461042c5780633f4ba83a1461045c5780634de25c0e14610466576102ad565b8063313ce56714610404578063372500ab14610422576102ad565b806315935a9c1161028057806323b872dd1161026557806323b872dd1461039a5780632c4e722e146103ca5780633109c19d146103e8576102ad565b806315935a9c1461034c57806318160ddd1461037c576102ad565b8063045f7850146102b257806306fdde03146102ce5780630700037d146102ec578063095ea7b31461031c575b600080fd5b6102cc60048036038101906102c79190612f87565b6107c6565b005b6102d661091b565b6040516102e39190613060565b60405180910390f35b61030660048036038101906103019190613082565b6109ad565b60405161031391906130be565b60405180910390f35b61033660048036038101906103319190612f87565b6109c5565b60405161034391906130f4565b60405180910390f35b61036660048036038101906103619190613082565b6109e3565b60405161037391906130f4565b60405180910390f35b610384610a03565b60405161039191906130be565b60405180910390f35b6103b460048036038101906103af919061310f565b610a0d565b6040516103c191906130f4565b60405180910390f35b6103d2610b05565b6040516103df91906130be565b60405180910390f35b61040260048036038101906103fd9190613082565b610b0b565b005b61040c610d96565b604051610419919061317e565b60405180910390f35b61042a610d9f565b005b61044660048036038101906104419190612f87565b610df9565b60405161045391906130f4565b60405180910390f35b610464610ea5565b005b610480600480360381019061047b9190613082565b610f86565b005b61048a6110a1565b60405161049791906130f4565b60405180910390f35b6104ba60048036038101906104b59190613082565b6110b8565b6040516104c791906130f4565b60405180910390f35b6104ea60048036038101906104e59190613082565b61110e565b6040516104f791906130be565b60405180910390f35b610508611156565b005b610524600480360381019061051f9190613199565b6111de565b005b61052e611434565b005b61054a60048036038101906105459190613082565b611515565b60405161055791906130be565b60405180910390f35b610568611571565b60405161057591906131e8565b60405180910390f35b610586611597565b60405161059391906131e8565b60405180910390f35b6105a46115c1565b6040516105b191906130be565b60405180910390f35b6105c26115c8565b6040516105cf9190613060565b60405180910390f35b6105f260048036038101906105ed9190612f87565b61165a565b005b61060e60048036038101906106099190613203565b6117af565b005b61062a60048036038101906106259190612f87565b611890565b60405161063791906130f4565b60405180910390f35b61065a60048036038101906106559190612f87565b61197b565b60405161066791906130f4565b60405180910390f35b61068a60048036038101906106859190613082565b611999565b005b6106a660048036038101906106a19190613203565b611acb565b005b6106c260048036038101906106bd9190613082565b611bc2565b6040516106cf91906130be565b60405180910390f35b6106f260048036038101906106ed9190613082565b611c0b565b6040516106ff91906130be565b60405180910390f35b610722600480360381019061071d9190613082565b611c23565b005b61073e60048036038101906107399190613082565b611e6a565b005b61075a60048036038101906107559190612f87565b611f9c565b005b61077660048036038101906107719190613199565b612091565b60405161078391906130be565b60405180910390f35b610794612118565b6040516107a191906130be565b60405180910390f35b6107c460048036038101906107bf9190613082565b61211e565b005b6107ce612216565b73ffffffffffffffffffffffffffffffffffffffff166107ec611597565b73ffffffffffffffffffffffffffffffffffffffff16148061085e575060066000610815612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61089d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108949061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906132e8565b60405180910390fd5b610917828261221e565b5050565b60606003805461092a90613337565b80601f016020809104026020016040519081016040528092919081815260200182805461095690613337565b80156109a35780601f10610978576101008083540402835291602001916109a3565b820191906000526020600020905b81548152906001019060200180831161098657829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b60006109d96109d2612216565b848461237e565b6001905092915050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600254905090565b6000610a1a848484612549565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a65612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906133db565b60405180910390fd5b610af985610af1612216565b85840361237e565b60019150509392505050565b600b5481565b610b13612216565b73ffffffffffffffffffffffffffffffffffffffff16610b31611597565b73ffffffffffffffffffffffffffffffffffffffff161480610ba3575060066000610b5a612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613447565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd590613447565b60405180910390fd5b600160075411610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90613447565b60405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060076000815480929190610d8e90613496565b919050555050565b60006012905090565b610da76110a1565b15610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde9061350c565b60405180910390fd5b610df7610df2612216565b6127ca565b565b6000610e9b610e06612216565b848460016000610e14612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e96919061352c565b61237e565b6001905092915050565b610ead612216565b73ffffffffffffffffffffffffffffffffffffffff16610ecb611597565b73ffffffffffffffffffffffffffffffffffffffff161480610f3d575060066000610ef4612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f739061327c565b60405180910390fd5b610f846128b2565b565b610f8e612216565b73ffffffffffffffffffffffffffffffffffffffff16610fac611597565b73ffffffffffffffffffffffffffffffffffffffff16148061101e575060066000610fd5612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61105d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110549061327c565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61115e612216565b73ffffffffffffffffffffffffffffffffffffffff1661117c611597565b73ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906135ce565b60405180910390fd5b6111dc6000612954565b565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661121f612216565b73ffffffffffffffffffffffffffffffffffffffff1614611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c9061363a565b60405180910390fd5b61127d6110a1565b61143057600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611358576112be82612a1a565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c919061352c565b9250508190555042600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142f5761139581612a1a565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e3919061352c565b9250508190555042600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5050565b61143c612216565b73ffffffffffffffffffffffffffffffffffffffff1661145a611597565b73ffffffffffffffffffffffffffffffffffffffff1614806114cc575060066000611483612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61150b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115029061327c565b60405180910390fd5b611513612c12565b565b600061152082612a1a565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461156a919061352c565b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6201518081565b6060600480546115d790613337565b80601f016020809104026020016040519081016040528092919081815260200182805461160390613337565b80156116505780601f1061162557610100808354040283529160200191611650565b820191906000526020600020905b81548152906001019060200180831161163357829003601f168201915b5050505050905090565b611662612216565b73ffffffffffffffffffffffffffffffffffffffff16611680611597565b73ffffffffffffffffffffffffffffffffffffffff1614806116f25750600660006116a9612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611731576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117289061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611798906132e8565b60405180910390fd5b6117ab8282612cb5565b5050565b6117b7612216565b73ffffffffffffffffffffffffffffffffffffffff166117d5611597565b73ffffffffffffffffffffffffffffffffffffffff1614806118475750600660006117fe612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d9061327c565b60405180910390fd5b80600b8190555050565b6000806001600061189f612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561195c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611953906136cc565b60405180910390fd5b611970611967612216565b8585840361237e565b600191505092915050565b600061198f611988612216565b8484612549565b6001905092915050565b6119a1612216565b73ffffffffffffffffffffffffffffffffffffffff166119bf611597565b73ffffffffffffffffffffffffffffffffffffffff161480611a315750600660006119e8612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a679061327c565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ad3612216565b73ffffffffffffffffffffffffffffffffffffffff16611af1611597565b73ffffffffffffffffffffffffffffffffffffffff161480611b63575060066000611b1a612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b999061327c565b60405180910390fd5b6000811415611bb75742600a81905550611bbf565b80600a819055505b50565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d6020528060005260406000206000915090505481565b611c2b612216565b73ffffffffffffffffffffffffffffffffffffffff16611c49611597565b73ffffffffffffffffffffffffffffffffffffffff161480611cbb575060066000611c72612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf19061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613738565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee906137a4565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060076000815480929190611e62906137c4565b919050555050565b611e72612216565b73ffffffffffffffffffffffffffffffffffffffff16611e90611597565b73ffffffffffffffffffffffffffffffffffffffff161480611f02575060066000611eb9612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f389061327c565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60096000611fa8612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661202f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120269061363a565b60405180910390fd5b612038826127ca565b806120428361110e565b1015612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a90613859565b60405180910390fd5b61208d8282612cb5565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b612126612216565b73ffffffffffffffffffffffffffffffffffffffff16612144611597565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612191906135ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612201906138eb565b60405180910390fd5b61221381612954565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228590613957565b60405180910390fd5b61229a60008383612e8c565b80600260008282546122ac919061352c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612301919061352c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161236691906130be565b60405180910390a361237a60008383612ee4565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e5906139e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561245e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245590613a7b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161253c91906130be565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b090613b0d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090613b9f565b60405180910390fd5b612634838383612e8c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190613c31565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461274d919061352c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127b191906130be565b60405180910390a36127c4848484612ee4565b50505050565b612826816127d783612a1a565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612821919061352c565b61221e565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6128ba6110a1565b6128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090613c9d565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61293d612216565b60405161294a91906131e8565b60405180910390a1565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa490613d09565b60405180910390fd5b62015180600a54600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612b0257600a54612b43565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b42612b4e9190613d29565b600b54600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401612bac91906131e8565b602060405180830381865afa158015612bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bed9190613d72565b612bf79190613d9f565b612c019190613d9f565b612c0b9190613e28565b9050919050565b612c1a6110a1565b15612c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c519061350c565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c9e612216565b604051612cab91906131e8565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1c90613ecb565b60405180910390fd5b612d3182600083612e8c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dae90613f5d565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612e0e9190613d29565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612e7391906130be565b60405180910390a3612e8783600084612ee4565b505050565b612e97838383612ee9565b612e9f6110a1565b15612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed690613fef565b60405180910390fd5b505050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f1e82612ef3565b9050919050565b612f2e81612f13565b8114612f3957600080fd5b50565b600081359050612f4b81612f25565b92915050565b6000819050919050565b612f6481612f51565b8114612f6f57600080fd5b50565b600081359050612f8181612f5b565b92915050565b60008060408385031215612f9e57612f9d612eee565b5b6000612fac85828601612f3c565b9250506020612fbd85828601612f72565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613001578082015181840152602081019050612fe6565b83811115613010576000848401525b50505050565b6000601f19601f8301169050919050565b600061303282612fc7565b61303c8185612fd2565b935061304c818560208601612fe3565b61305581613016565b840191505092915050565b6000602082019050818103600083015261307a8184613027565b905092915050565b60006020828403121561309857613097612eee565b5b60006130a684828501612f3c565b91505092915050565b6130b881612f51565b82525050565b60006020820190506130d360008301846130af565b92915050565b60008115159050919050565b6130ee816130d9565b82525050565b600060208201905061310960008301846130e5565b92915050565b60008060006060848603121561312857613127612eee565b5b600061313686828701612f3c565b935050602061314786828701612f3c565b925050604061315886828701612f72565b9150509250925092565b600060ff82169050919050565b61317881613162565b82525050565b6000602082019050613193600083018461316f565b92915050565b600080604083850312156131b0576131af612eee565b5b60006131be85828601612f3c565b92505060206131cf85828601612f3c565b9150509250929050565b6131e281612f13565b82525050565b60006020820190506131fd60008301846131d9565b92915050565b60006020828403121561321957613218612eee565b5b600061322784828501612f72565b91505092915050565b7f434f310000000000000000000000000000000000000000000000000000000000600082015250565b6000613266600383612fd2565b915061327182613230565b602082019050919050565b6000602082019050818103600083015261329581613259565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b60006132d2600483612fd2565b91506132dd8261329c565b602082019050919050565b60006020820190508181036000830152613301816132c5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061334f57607f821691505b6020821081141561336357613362613308565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006133c5602883612fd2565b91506133d082613369565b604082019050919050565b600060208201905081810360008301526133f4816133b8565b9050919050565b7f434f340000000000000000000000000000000000000000000000000000000000600082015250565b6000613431600383612fd2565b915061343c826133fb565b602082019050919050565b6000602082019050818103600083015261346081613424565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134a182612f51565b915060008214156134b5576134b4613467565b5b600182039050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006134f6601083612fd2565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b600061353782612f51565b915061354283612f51565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561357757613576613467565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135b8602083612fd2565b91506135c382613582565b602082019050919050565b600060208201905081810360008301526135e7816135ab565b9050919050565b7f666f7262696464656e0000000000000000000000000000000000000000000000600082015250565b6000613624600983612fd2565b915061362f826135ee565b602082019050919050565b6000602082019050818103600083015261365381613617565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006136b6602583612fd2565b91506136c18261365a565b604082019050919050565b600060208201905081810360008301526136e5816136a9565b9050919050565b7f434f320000000000000000000000000000000000000000000000000000000000600082015250565b6000613722600383612fd2565b915061372d826136ec565b602082019050919050565b6000602082019050818103600083015261375181613715565b9050919050565b7f434f330000000000000000000000000000000000000000000000000000000000600082015250565b600061378e600383612fd2565b915061379982613758565b602082019050919050565b600060208201905081810360008301526137bd81613781565b9050919050565b60006137cf82612f51565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561380257613801613467565b5b600182019050919050565b7f696e737566666963656e74000000000000000000000000000000000000000000600082015250565b6000613843600b83612fd2565b915061384e8261380d565b602082019050919050565b6000602082019050818103600083015261387281613836565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d5602683612fd2565b91506138e082613879565b604082019050919050565b60006020820190508181036000830152613904816138c8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613941601f83612fd2565b915061394c8261390b565b602082019050919050565b6000602082019050818103600083015261397081613934565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006139d3602483612fd2565b91506139de82613977565b604082019050919050565b60006020820190508181036000830152613a02816139c6565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a65602283612fd2565b9150613a7082613a09565b604082019050919050565b60006020820190508181036000830152613a9481613a58565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613af7602583612fd2565b9150613b0282613a9b565b604082019050919050565b60006020820190508181036000830152613b2681613aea565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b89602383612fd2565b9150613b9482613b2d565b604082019050919050565b60006020820190508181036000830152613bb881613b7c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613c1b602683612fd2565b9150613c2682613bbf565b604082019050919050565b60006020820190508181036000830152613c4a81613c0e565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613c87601483612fd2565b9150613c9282613c51565b602082019050919050565b60006020820190508181036000830152613cb681613c7a565b9050919050565b7f6e69676874206f776c7320616464726573730000000000000000000000000000600082015250565b6000613cf3601283612fd2565b9150613cfe82613cbd565b602082019050919050565b60006020820190508181036000830152613d2281613ce6565b9050919050565b6000613d3482612f51565b9150613d3f83612f51565b925082821015613d5257613d51613467565b5b828203905092915050565b600081519050613d6c81612f5b565b92915050565b600060208284031215613d8857613d87612eee565b5b6000613d9684828501613d5d565b91505092915050565b6000613daa82612f51565b9150613db583612f51565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dee57613ded613467565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e3382612f51565b9150613e3e83612f51565b925082613e4e57613e4d613df9565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613eb5602183612fd2565b9150613ec082613e59565b604082019050919050565b60006020820190508181036000830152613ee481613ea8565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f47602283612fd2565b9150613f5282613eeb565b604082019050919050565b60006020820190508181036000830152613f7681613f3a565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000613fd9602a83612fd2565b9150613fe482613f7d565b604082019050919050565b6000602082019050818103600083015261400881613fcc565b905091905056fea2646970667358221220e27879f764740966f790be170e29713a477bf40aee67807513434ed2f3f152c864736f6c634300080a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102ad5760003560e01c80638456cb591161017b578063ac40b4db116100d8578063d35b21b11161008c578063dd62ed3e11610071578063dd62ed3e1461075c578063e6fd48bc1461078c578063f2fde38b146107aa576102ad565b8063d35b21b114610724578063dad7f11014610740576102ad565b8063c6080fe4116100bd578063c6080fe4146106a8578063cb03fb1e146106d8578063ccdbe6a614610708576102ad565b8063ac40b4db14610670578063c44bef751461068c576102ad565b806395d89b411161012f5780639e447fc6116101145780639e447fc6146105f4578063a457c2d714610610578063a9059cbb14610640576102ad565b806395d89b41146105ba5780639dc29fac146105d8576102ad565b806387d92a4d1161016057806387d92a4d146105605780638da5cb5b1461057e578063947a36fb1461059c576102ad565b80638456cb5914610526578063873e31fa14610530576102ad565b8063313ce567116102295780635c975abb116101dd57806370a08231116101c257806370a08231146104d0578063715018a6146105005780637b3518551461050a576102ad565b80635c975abb146104825780636af8c4e7146104a0576102ad565b8063395093511161020e578063395093511461042c5780633f4ba83a1461045c5780634de25c0e14610466576102ad565b8063313ce56714610404578063372500ab14610422576102ad565b806315935a9c1161028057806323b872dd1161026557806323b872dd1461039a5780632c4e722e146103ca5780633109c19d146103e8576102ad565b806315935a9c1461034c57806318160ddd1461037c576102ad565b8063045f7850146102b257806306fdde03146102ce5780630700037d146102ec578063095ea7b31461031c575b600080fd5b6102cc60048036038101906102c79190612f87565b6107c6565b005b6102d661091b565b6040516102e39190613060565b60405180910390f35b61030660048036038101906103019190613082565b6109ad565b60405161031391906130be565b60405180910390f35b61033660048036038101906103319190612f87565b6109c5565b60405161034391906130f4565b60405180910390f35b61036660048036038101906103619190613082565b6109e3565b60405161037391906130f4565b60405180910390f35b610384610a03565b60405161039191906130be565b60405180910390f35b6103b460048036038101906103af919061310f565b610a0d565b6040516103c191906130f4565b60405180910390f35b6103d2610b05565b6040516103df91906130be565b60405180910390f35b61040260048036038101906103fd9190613082565b610b0b565b005b61040c610d96565b604051610419919061317e565b60405180910390f35b61042a610d9f565b005b61044660048036038101906104419190612f87565b610df9565b60405161045391906130f4565b60405180910390f35b610464610ea5565b005b610480600480360381019061047b9190613082565b610f86565b005b61048a6110a1565b60405161049791906130f4565b60405180910390f35b6104ba60048036038101906104b59190613082565b6110b8565b6040516104c791906130f4565b60405180910390f35b6104ea60048036038101906104e59190613082565b61110e565b6040516104f791906130be565b60405180910390f35b610508611156565b005b610524600480360381019061051f9190613199565b6111de565b005b61052e611434565b005b61054a60048036038101906105459190613082565b611515565b60405161055791906130be565b60405180910390f35b610568611571565b60405161057591906131e8565b60405180910390f35b610586611597565b60405161059391906131e8565b60405180910390f35b6105a46115c1565b6040516105b191906130be565b60405180910390f35b6105c26115c8565b6040516105cf9190613060565b60405180910390f35b6105f260048036038101906105ed9190612f87565b61165a565b005b61060e60048036038101906106099190613203565b6117af565b005b61062a60048036038101906106259190612f87565b611890565b60405161063791906130f4565b60405180910390f35b61065a60048036038101906106559190612f87565b61197b565b60405161066791906130f4565b60405180910390f35b61068a60048036038101906106859190613082565b611999565b005b6106a660048036038101906106a19190613203565b611acb565b005b6106c260048036038101906106bd9190613082565b611bc2565b6040516106cf91906130be565b60405180910390f35b6106f260048036038101906106ed9190613082565b611c0b565b6040516106ff91906130be565b60405180910390f35b610722600480360381019061071d9190613082565b611c23565b005b61073e60048036038101906107399190613082565b611e6a565b005b61075a60048036038101906107559190612f87565b611f9c565b005b61077660048036038101906107719190613199565b612091565b60405161078391906130be565b60405180910390f35b610794612118565b6040516107a191906130be565b60405180910390f35b6107c460048036038101906107bf9190613082565b61211e565b005b6107ce612216565b73ffffffffffffffffffffffffffffffffffffffff166107ec611597565b73ffffffffffffffffffffffffffffffffffffffff16148061085e575060066000610815612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61089d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108949061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906132e8565b60405180910390fd5b610917828261221e565b5050565b60606003805461092a90613337565b80601f016020809104026020016040519081016040528092919081815260200182805461095690613337565b80156109a35780601f10610978576101008083540402835291602001916109a3565b820191906000526020600020905b81548152906001019060200180831161098657829003601f168201915b5050505050905090565b600c6020528060005260406000206000915090505481565b60006109d96109d2612216565b848461237e565b6001905092915050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600254905090565b6000610a1a848484612549565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a65612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906133db565b60405180910390fd5b610af985610af1612216565b85840361237e565b60019150509392505050565b600b5481565b610b13612216565b73ffffffffffffffffffffffffffffffffffffffff16610b31611597565b73ffffffffffffffffffffffffffffffffffffffff161480610ba3575060066000610b5a612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd99061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990613447565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd590613447565b60405180910390fd5b600160075411610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90613447565b60405180910390fd5b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060076000815480929190610d8e90613496565b919050555050565b60006012905090565b610da76110a1565b15610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde9061350c565b60405180910390fd5b610df7610df2612216565b6127ca565b565b6000610e9b610e06612216565b848460016000610e14612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e96919061352c565b61237e565b6001905092915050565b610ead612216565b73ffffffffffffffffffffffffffffffffffffffff16610ecb611597565b73ffffffffffffffffffffffffffffffffffffffff161480610f3d575060066000610ef4612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f739061327c565b60405180910390fd5b610f846128b2565b565b610f8e612216565b73ffffffffffffffffffffffffffffffffffffffff16610fac611597565b73ffffffffffffffffffffffffffffffffffffffff16148061101e575060066000610fd5612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61105d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110549061327c565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900460ff16905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61115e612216565b73ffffffffffffffffffffffffffffffffffffffff1661117c611597565b73ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906135ce565b60405180910390fd5b6111dc6000612954565b565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661121f612216565b73ffffffffffffffffffffffffffffffffffffffff1614611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c9061363a565b60405180910390fd5b61127d6110a1565b61143057600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611358576112be82612a1a565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461130c919061352c565b9250508190555042600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142f5761139581612a1a565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e3919061352c565b9250508190555042600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5050565b61143c612216565b73ffffffffffffffffffffffffffffffffffffffff1661145a611597565b73ffffffffffffffffffffffffffffffffffffffff1614806114cc575060066000611483612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61150b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115029061327c565b60405180910390fd5b611513612c12565b565b600061152082612a1a565b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461156a919061352c565b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6201518081565b6060600480546115d790613337565b80601f016020809104026020016040519081016040528092919081815260200182805461160390613337565b80156116505780601f1061162557610100808354040283529160200191611650565b820191906000526020600020905b81548152906001019060200180831161163357829003601f168201915b5050505050905090565b611662612216565b73ffffffffffffffffffffffffffffffffffffffff16611680611597565b73ffffffffffffffffffffffffffffffffffffffff1614806116f25750600660006116a9612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611731576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117289061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611798906132e8565b60405180910390fd5b6117ab8282612cb5565b5050565b6117b7612216565b73ffffffffffffffffffffffffffffffffffffffff166117d5611597565b73ffffffffffffffffffffffffffffffffffffffff1614806118475750600660006117fe612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d9061327c565b60405180910390fd5b80600b8190555050565b6000806001600061189f612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561195c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611953906136cc565b60405180910390fd5b611970611967612216565b8585840361237e565b600191505092915050565b600061198f611988612216565b8484612549565b6001905092915050565b6119a1612216565b73ffffffffffffffffffffffffffffffffffffffff166119bf611597565b73ffffffffffffffffffffffffffffffffffffffff161480611a315750600660006119e8612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a679061327c565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611ad3612216565b73ffffffffffffffffffffffffffffffffffffffff16611af1611597565b73ffffffffffffffffffffffffffffffffffffffff161480611b63575060066000611b1a612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b999061327c565b60405180910390fd5b6000811415611bb75742600a81905550611bbf565b80600a819055505b50565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d6020528060005260406000206000915090505481565b611c2b612216565b73ffffffffffffffffffffffffffffffffffffffff16611c49611597565b73ffffffffffffffffffffffffffffffffffffffff161480611cbb575060066000611c72612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf19061327c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190613738565b60405180910390fd5b600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee906137a4565b60405180910390fd5b6001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060076000815480929190611e62906137c4565b919050555050565b611e72612216565b73ffffffffffffffffffffffffffffffffffffffff16611e90611597565b73ffffffffffffffffffffffffffffffffffffffff161480611f02575060066000611eb9612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f389061327c565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60096000611fa8612216565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661202f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120269061363a565b60405180910390fd5b612038826127ca565b806120428361110e565b1015612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a90613859565b60405180910390fd5b61208d8282612cb5565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b612126612216565b73ffffffffffffffffffffffffffffffffffffffff16612144611597565b73ffffffffffffffffffffffffffffffffffffffff161461219a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612191906135ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612201906138eb565b60405180910390fd5b61221381612954565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561228e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228590613957565b60405180910390fd5b61229a60008383612e8c565b80600260008282546122ac919061352c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612301919061352c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161236691906130be565b60405180910390a361237a60008383612ee4565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e5906139e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561245e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245590613a7b565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161253c91906130be565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b090613b0d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262090613b9f565b60405180910390fd5b612634838383612e8c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190613c31565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461274d919061352c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516127b191906130be565b60405180910390a36127c4848484612ee4565b50505050565b612826816127d783612a1a565b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612821919061352c565b61221e565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6128ba6110a1565b6128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090613c9d565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61293d612216565b60405161294a91906131e8565b60405180910390a1565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa490613d09565b60405180910390fd5b62015180600a54600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612b0257600a54612b43565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b42612b4e9190613d29565b600b54600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401612bac91906131e8565b602060405180830381865afa158015612bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bed9190613d72565b612bf79190613d9f565b612c019190613d9f565b612c0b9190613e28565b9050919050565b612c1a6110a1565b15612c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c519061350c565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c9e612216565b604051612cab91906131e8565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1c90613ecb565b60405180910390fd5b612d3182600083612e8c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dae90613f5d565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612e0e9190613d29565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612e7391906130be565b60405180910390a3612e8783600084612ee4565b505050565b612e97838383612ee9565b612e9f6110a1565b15612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed690613fef565b60405180910390fd5b505050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f1e82612ef3565b9050919050565b612f2e81612f13565b8114612f3957600080fd5b50565b600081359050612f4b81612f25565b92915050565b6000819050919050565b612f6481612f51565b8114612f6f57600080fd5b50565b600081359050612f8181612f5b565b92915050565b60008060408385031215612f9e57612f9d612eee565b5b6000612fac85828601612f3c565b9250506020612fbd85828601612f72565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613001578082015181840152602081019050612fe6565b83811115613010576000848401525b50505050565b6000601f19601f8301169050919050565b600061303282612fc7565b61303c8185612fd2565b935061304c818560208601612fe3565b61305581613016565b840191505092915050565b6000602082019050818103600083015261307a8184613027565b905092915050565b60006020828403121561309857613097612eee565b5b60006130a684828501612f3c565b91505092915050565b6130b881612f51565b82525050565b60006020820190506130d360008301846130af565b92915050565b60008115159050919050565b6130ee816130d9565b82525050565b600060208201905061310960008301846130e5565b92915050565b60008060006060848603121561312857613127612eee565b5b600061313686828701612f3c565b935050602061314786828701612f3c565b925050604061315886828701612f72565b9150509250925092565b600060ff82169050919050565b61317881613162565b82525050565b6000602082019050613193600083018461316f565b92915050565b600080604083850312156131b0576131af612eee565b5b60006131be85828601612f3c565b92505060206131cf85828601612f3c565b9150509250929050565b6131e281612f13565b82525050565b60006020820190506131fd60008301846131d9565b92915050565b60006020828403121561321957613218612eee565b5b600061322784828501612f72565b91505092915050565b7f434f310000000000000000000000000000000000000000000000000000000000600082015250565b6000613266600383612fd2565b915061327182613230565b602082019050919050565b6000602082019050818103600083015261329581613259565b9050919050565b7f7a65726f00000000000000000000000000000000000000000000000000000000600082015250565b60006132d2600483612fd2565b91506132dd8261329c565b602082019050919050565b60006020820190508181036000830152613301816132c5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061334f57607f821691505b6020821081141561336357613362613308565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006133c5602883612fd2565b91506133d082613369565b604082019050919050565b600060208201905081810360008301526133f4816133b8565b9050919050565b7f434f340000000000000000000000000000000000000000000000000000000000600082015250565b6000613431600383612fd2565b915061343c826133fb565b602082019050919050565b6000602082019050818103600083015261346081613424565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134a182612f51565b915060008214156134b5576134b4613467565b5b600182039050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006134f6601083612fd2565b9150613501826134c0565b602082019050919050565b60006020820190508181036000830152613525816134e9565b9050919050565b600061353782612f51565b915061354283612f51565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561357757613576613467565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135b8602083612fd2565b91506135c382613582565b602082019050919050565b600060208201905081810360008301526135e7816135ab565b9050919050565b7f666f7262696464656e0000000000000000000000000000000000000000000000600082015250565b6000613624600983612fd2565b915061362f826135ee565b602082019050919050565b6000602082019050818103600083015261365381613617565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006136b6602583612fd2565b91506136c18261365a565b604082019050919050565b600060208201905081810360008301526136e5816136a9565b9050919050565b7f434f320000000000000000000000000000000000000000000000000000000000600082015250565b6000613722600383612fd2565b915061372d826136ec565b602082019050919050565b6000602082019050818103600083015261375181613715565b9050919050565b7f434f330000000000000000000000000000000000000000000000000000000000600082015250565b600061378e600383612fd2565b915061379982613758565b602082019050919050565b600060208201905081810360008301526137bd81613781565b9050919050565b60006137cf82612f51565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561380257613801613467565b5b600182019050919050565b7f696e737566666963656e74000000000000000000000000000000000000000000600082015250565b6000613843600b83612fd2565b915061384e8261380d565b602082019050919050565b6000602082019050818103600083015261387281613836565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138d5602683612fd2565b91506138e082613879565b604082019050919050565b60006020820190508181036000830152613904816138c8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613941601f83612fd2565b915061394c8261390b565b602082019050919050565b6000602082019050818103600083015261397081613934565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006139d3602483612fd2565b91506139de82613977565b604082019050919050565b60006020820190508181036000830152613a02816139c6565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a65602283612fd2565b9150613a7082613a09565b604082019050919050565b60006020820190508181036000830152613a9481613a58565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613af7602583612fd2565b9150613b0282613a9b565b604082019050919050565b60006020820190508181036000830152613b2681613aea565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613b89602383612fd2565b9150613b9482613b2d565b604082019050919050565b60006020820190508181036000830152613bb881613b7c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613c1b602683612fd2565b9150613c2682613bbf565b604082019050919050565b60006020820190508181036000830152613c4a81613c0e565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613c87601483612fd2565b9150613c9282613c51565b602082019050919050565b60006020820190508181036000830152613cb681613c7a565b9050919050565b7f6e69676874206f776c7320616464726573730000000000000000000000000000600082015250565b6000613cf3601283612fd2565b9150613cfe82613cbd565b602082019050919050565b60006020820190508181036000830152613d2281613ce6565b9050919050565b6000613d3482612f51565b9150613d3f83612f51565b925082821015613d5257613d51613467565b5b828203905092915050565b600081519050613d6c81612f5b565b92915050565b600060208284031215613d8857613d87612eee565b5b6000613d9684828501613d5d565b91505092915050565b6000613daa82612f51565b9150613db583612f51565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dee57613ded613467565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e3382612f51565b9150613e3e83612f51565b925082613e4e57613e4d613df9565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613eb5602183612fd2565b9150613ec082613e59565b604082019050919050565b60006020820190508181036000830152613ee481613ea8565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f47602283612fd2565b9150613f5282613eeb565b604082019050919050565b60006020820190508181036000830152613f7681613f3a565b9050919050565b7f45524332305061757361626c653a20746f6b656e207472616e7366657220776860008201527f696c652070617573656400000000000000000000000000000000000000000000602082015250565b6000613fd9602a83612fd2565b9150613fe482613f7d565b604082019050919050565b6000602082019050818103600083015261400881613fcc565b905091905056fea2646970667358221220e27879f764740966f790be170e29713a477bf40aee67807513434ed2f3f152c864736f6c634300080a0033
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.