Contract Address Details
0x5d4B6528b9c8aB4cE15C69A014166e2884C6eaB3
- Token
- Sweets (Sweets)
- Creator
- 0x3ce8a0–2f3d3e at 0x1dac09–eab589
- Balance
- 0 Doge
- Tokens
-
Fetching tokens...
- Transactions
- 646 Transactions
- Transfers
- 93 Transfers
- Gas Used
- 37,353,142
- Last Balance Update
- 27502375
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
- Contract name:
- Sweets
- Optimization enabled
- false
- Compiler version
- v0.8.0+commit.c7dfd78e
- EVM Version
- default
- Verified at
- 2022-09-04T21:02:53.821489Z
Constructor Arguments
0000000000000000000000009394eb84ac14593f6cd10b9f8bc478a204b1f780
Arg [0] (address) : 0x9394eb84ac14593f6cd10b9f8bc478a204b1f780
Contract source code
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.1 (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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; /** * @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()); } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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 {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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); } } // File: contracts/WastelandStaking.sol //SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; contract Sweets is ERC20, Ownable, Pausable, ReentrancyGuard { IERC721 public NftNinjas; uint256 constant public MAX_SUPPLY = type(uint256).max; uint256 constant public MAX_PER_TX = 25; uint256 constant public BASE_RATE = 10 ether; uint256 public totalStaked; uint256 public totalClaimed; mapping(address => uint256) public stash; mapping(address => uint256) public lastUpdate; mapping(uint256 => address) public tokenOwners; mapping(address => mapping(uint256 => uint256)) public ownedTokens; mapping(address => uint256) public stakedTokens; mapping(address => uint256) public specialStakedTokens; mapping (uint256 => bool) public specialTokens; mapping(uint256 => uint256) public tokenIndex; mapping(address => bool) public allowed; constructor(address nftNinjas) ERC20("Sweets", "Sweets") { NftNinjas = IERC721(nftNinjas); NftNinjas.setApprovalForAll(msg.sender, true); } modifier onlyAllowed() { require(allowed[msg.sender], "Caller not allowed"); _; } modifier isApprovedForAll() { require( NftNinjas.isApprovedForAll(msg.sender, address(this)), "Contract not approved" ); _; } function setSpecialTokens(uint256[] calldata tokenIds, bool state) public onlyOwner { require(tokenIds.length > 0, "No tokens selected"); for(uint256 i = 0; i < tokenIds.length; i++) { specialTokens[tokenIds[i]] = state; } } /// @notice Get NFTNINJAS token ID by account and index /// @param account The address of the token owner /// @param index Index of the owned token /// @return The token ID of the owned token at that index function getOwnedByIndex(address account, uint256 index) public view returns (uint256) { require(index < stakedTokens[account], "Nonexistent token"); return ownedTokens[account][index]; } /// @notice Get amount of claimable STEALTH tokens /// @param account The address to return claimable token amount for /// @return The amount of claimable tokens function getClaimable(address account) public view returns (uint256) { return stash[account] + _getPending(account); } function _getPending(address account) internal view returns (uint256) { return (stakedTokens[account] + specialStakedTokens[account]) * BASE_RATE * (block.timestamp - lastUpdate[account]) / 1 days; } function _update(address account) internal { stash[account] += _getPending(account); lastUpdate[account] = block.timestamp; } /// @notice Claim available STEALTH tokens /// @param account The address to claim tokens for function claim(address account) public nonReentrant { _claim(account); } function _claim(address account) internal whenNotPaused { require(msg.sender == account || allowed[msg.sender], "Caller not allowed"); require(totalClaimed < MAX_SUPPLY, "Max supply has been claimed"); uint256 claimable = getClaimable(account); uint256 claimAmount = totalClaimed + claimable > MAX_SUPPLY ? MAX_SUPPLY - totalClaimed : claimable; _mint(account, claimAmount); stash[account] = 0; lastUpdate[account] = block.timestamp; totalClaimed += claimAmount; } /// @notice Remove NFTNINJAS tokens from staking contract and optionally collect STEALTH tokens /// @param account The address to change permissions for /// @param isAllowed Whether the address is allowed to use privileged functionality function setAllowed(address account, bool isAllowed) external onlyOwner { allowed[account] = isAllowed; } /// @notice Stake NFTNINJAS tokens /// @param tokenIds The tokens IDs to stake function stake(uint256[] calldata tokenIds) external isApprovedForAll whenNotPaused { require(tokenIds.length <= MAX_PER_TX, "Exceeds max tokens per transaction"); _update(msg.sender); for (uint256 i = 0; i < tokenIds.length; i++) { require(NftNinjas.ownerOf(tokenIds[i]) == msg.sender, "Caller is not token owner"); uint256 current = tokenIds[i]; if(specialTokens[current]) { specialStakedTokens[msg.sender] += 1; } tokenOwners[current] = msg.sender; tokenIndex[current] = stakedTokens[msg.sender]; ownedTokens[msg.sender][tokenIndex[current]] = current; stakedTokens[msg.sender] += 1; NftNinjas.transferFrom(msg.sender, address(this), tokenIds[i]); } totalStaked += tokenIds.length; } /// @notice Remove NFTNINJAS tokens and optionally collect STEALTH tokens /// @param tokenIds The tokens IDs to unstake /// @param claimTokens Whether STEALTH tokens should be claimed function unstake(uint256[] calldata tokenIds, bool claimTokens) external nonReentrant { require(tokenIds.length <= MAX_PER_TX, "Exceeds max tokens per transaction"); if (claimTokens) _claim(msg.sender); else _update(msg.sender); for (uint256 i = 0; i < tokenIds.length; i++) { require(tokenOwners[tokenIds[i]] == msg.sender, "Caller is not token owner"); uint256 last = ownedTokens[msg.sender][stakedTokens[msg.sender] - 1]; if(specialTokens[tokenIds[i]]) { specialStakedTokens[msg.sender] -= 1; } tokenOwners[tokenIds[i]] = address(0); tokenIndex[last] = tokenIndex[tokenIds[i]]; ownedTokens[msg.sender][tokenIndex[tokenIds[i]]] = last; stakedTokens[msg.sender] -= 1; NftNinjas.transferFrom(address(this), msg.sender, tokenIds[i]); } totalStaked -= tokenIds.length; } /// @notice Burn a specified amount of STEALTH tokens /// @dev Used only by contracts for extending token utility /// @param from The account to burn tokens from /// @param amount The amount of tokens to burn function burn(address from, uint256 amount) external onlyAllowed { _burn(from, amount); } /// @notice Mint a specified amount of STEALTH tokens /// @dev Used only by owner for creating treasury /// @param to The account to mint tokens to /// @param amount The amount of tokens to mint function mint(address to, uint256 amount) external onlyOwner { _mint(to, amount); totalClaimed += amount; } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"nftNinjas","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"BASE_RATE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_PER_TX","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_SUPPLY","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC721"}],"name":"NftNinjas","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"allowed","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claim","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getClaimable","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getOwnedByIndex","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lastUpdate","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"ownedTokens","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAllowed","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"isAllowed","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSpecialTokens","inputs":[{"type":"uint256[]","name":"tokenIds","internalType":"uint256[]"},{"type":"bool","name":"state","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"specialStakedTokens","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"specialTokens","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"stake","inputs":[{"type":"uint256[]","name":"tokenIds","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"stakedTokens","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"stash","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenIndex","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"tokenOwners","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalClaimed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalStaked","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unstake","inputs":[{"type":"uint256[]","name":"tokenIds","internalType":"uint256[]"},{"type":"bool","name":"claimTokens","internalType":"bool"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b506040516200440a3803806200440a83398181016040528101906200003791906200038b565b6040518060400160405280600681526020017f53776565747300000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f53776565747300000000000000000000000000000000000000000000000000008152508160039080519060200190620000bb929190620002c4565b508060049080519060200190620000d4929190620002c4565b505050620000f7620000eb620001f660201b60201c565b620001fe60201b60201c565b6000600560146101000a81548160ff021916908315150217905550600160068190555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a22cb4653360016040518363ffffffff1660e01b8152600401620001bb929190620003d9565b600060405180830381600087803b158015620001d657600080fd5b505af1158015620001eb573d6000803e3d6000fd5b5050505050620004c5565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002d29062000446565b90600052602060002090601f016020900481019282620002f6576000855562000342565b82601f106200031157805160ff191683800117855562000342565b8280016001018555821562000342579182015b828111156200034157825182559160200191906001019062000324565b5b50905062000351919062000355565b5090565b5b808211156200037057600081600090555060010162000356565b5090565b6000815190506200038581620004ab565b92915050565b6000602082840312156200039e57600080fd5b6000620003ae8482850162000374565b91505092915050565b620003c28162000406565b82525050565b620003d3816200041a565b82525050565b6000604082019050620003f06000830185620003b7565b620003ff6020830184620003c8565b9392505050565b6000620004138262000426565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200045f57607f821691505b602082108114156200047657620004756200047c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620004b68162000406565b8114620004c257600080fd5b50565b613f3580620004d56000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370e87aac1161013b578063a9059cbb116100b8578063e149f0361161007c578063e149f0361461072a578063e80fadcd1461075a578063f2fde38b1461078a578063f43a22dc146107a6578063f8a14f46146107c45761023d565b8063a9059cbb1461064c578063cb03fb1e1461067c578063d54ad2a1146106ac578063d63a8e11146106ca578063dd62ed3e146106fa5761023d565b80639dc29fac116100ff5780639dc29fac146105705780639e97f7d01461058c578063a457c2d7146105bc578063a583024b146105ec578063a5b39cfb1461061c5761023d565b806370e87aac146104ee578063715018a61461050c578063817b1cd2146105165780638da5cb5b1461053457806395d89b41146105525761023d565b8063313ce567116101c957806341910f901161018d57806341910f901461044a5780634697f05d146104685780635c975abb14610484578063609866e4146104a257806370a08231146104be5761023d565b8063313ce567146103a65780633228337a146103c457806332cb6b0c146103e057806339509351146103fe57806340c10f191461042e5761023d565b806318160ddd1161021057806318160ddd146102dc5780631d0504a8146102fa5780631e83409a1461032a57806323b872dd146103465780632da74ccc146103765761023d565b80630583e9f81461024257806306fdde0314610272578063095ea7b3146102905780630fbf0a93146102c0575b600080fd5b61025c6004803603810190610257919061308c565b6107f4565b6040516102699190613b8e565b60405180910390f35b61027a61080c565b60405161028791906138cc565b60405180910390f35b6102aa60048036038101906102a59190612f8a565b61089e565b6040516102b79190613896565b60405180910390f35b6102da60048036038101906102d59190612fc6565b6108bc565b005b6102e4610ed4565b6040516102f19190613b8e565b60405180910390f35b610314600480360381019061030f9190612e71565b610ede565b6040516103219190613b8e565b60405180910390f35b610344600480360381019061033f9190612e71565b610ef6565b005b610360600480360381019061035b9190612eff565b610f58565b60405161036d9190613896565b60405180910390f35b610390600480360381019061038b9190612f8a565b611050565b60405161039d9190613b8e565b60405180910390f35b6103ae61112c565b6040516103bb9190613ba9565b60405180910390f35b6103de60048036038101906103d9919061300b565b611135565b005b6103e861173b565b6040516103f59190613b8e565b60405180910390f35b61041860048036038101906104139190612f8a565b61175f565b6040516104259190613896565b60405180910390f35b61044860048036038101906104439190612f8a565b61180b565b005b6104526118ae565b60405161045f9190613b8e565b60405180910390f35b610482600480360381019061047d9190612f4e565b6118ba565b005b61048c611991565b6040516104999190613896565b60405180910390f35b6104bc60048036038101906104b7919061300b565b6119a8565b005b6104d860048036038101906104d39190612e71565b611afb565b6040516104e59190613b8e565b60405180910390f35b6104f6611b43565b60405161050391906138b1565b60405180910390f35b610514611b69565b005b61051e611bf1565b60405161052b9190613b8e565b60405180910390f35b61053c611bf7565b604051610549919061381b565b60405180910390f35b61055a611c21565b60405161056791906138cc565b60405180910390f35b61058a60048036038101906105859190612f8a565b611cb3565b005b6105a660048036038101906105a1919061308c565b611d4d565b6040516105b39190613896565b60405180910390f35b6105d660048036038101906105d19190612f8a565b611d6d565b6040516105e39190613896565b60405180910390f35b61060660048036038101906106019190612e71565b611e58565b6040516106139190613b8e565b60405180910390f35b61063660048036038101906106319190612e71565b611eb4565b6040516106439190613b8e565b60405180910390f35b61066660048036038101906106619190612f8a565b611ecc565b6040516106739190613896565b60405180910390f35b61069660048036038101906106919190612e71565b611eea565b6040516106a39190613b8e565b60405180910390f35b6106b4611f02565b6040516106c19190613b8e565b60405180910390f35b6106e460048036038101906106df9190612e71565b611f08565b6040516106f19190613896565b60405180910390f35b610714600480360381019061070f9190612ec3565b611f28565b6040516107219190613b8e565b60405180910390f35b610744600480360381019061073f9190612f8a565b611faf565b6040516107519190613b8e565b60405180910390f35b610774600480360381019061076f9190612e71565b611fd4565b6040516107819190613b8e565b60405180910390f35b6107a4600480360381019061079f9190612e71565b611fec565b005b6107ae6120e4565b6040516107bb9190613b8e565b60405180910390f35b6107de60048036038101906107d9919061308c565b6120e9565b6040516107eb919061381b565b60405180910390f35b60116020528060005260406000206000915090505481565b60606003805461081b90613da1565b80601f016020809104026020016040519081016040528092919081815260200182805461084790613da1565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b5050505050905090565b60006108b26108ab61211c565b8484612124565b6001905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b8152600401610919929190613836565b60206040518083038186803b15801561093157600080fd5b505afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190613063565b6109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f906139ce565b60405180910390fd5b6109b0611991565b156109f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e790613a2e565b60405180910390fd5b6019828290501115610a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2e906139ee565b60405180910390fd5b610a40336122ef565b60005b82829050811015610eb3573373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110610adc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610aff9190613b8e565b60206040518083038186803b158015610b1757600080fd5b505afa158015610b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4f9190612e9a565b73ffffffffffffffffffffffffffffffffffffffff1614610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90613aae565b60405180910390fd5b6000838383818110610be0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506010600082815260200190815260200160002060009054906101000a900460ff1615610c67576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c5f9190613be0565b925050819055505b33600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160008381526020019081526020016000208190555080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060116000858152602001908152602001600020548152602001908152602001600020819055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610dc89190613be0565b92505081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330878787818110610e48577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610e6d9392919061385f565b600060405180830381600087803b158015610e8757600080fd5b505af1158015610e9b573d6000803e3d6000fd5b50505050508080610eab90613dd3565b915050610a43565b508181905060086000828254610ec99190613be0565b925050819055505050565b6000600254905090565b600a6020528060005260406000206000915090505481565b60026006541415610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390613b2e565b60405180910390fd5b6002600681905550610f4d81612394565b600160068190555050565b6000610f6584848461262d565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610fb061211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790613a6e565b60405180910390fd5b6110448561103c61211c565b858403612124565b60019150509392505050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482106110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613a4e565b60405180910390fd5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006012905090565b6002600654141561117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117290613b2e565b60405180910390fd5b600260068190555060198383905011156111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c1906139ee565b60405180910390fd5b80156111de576111d933612394565b6111e8565b6111e7336122ef565b5b60005b83839050811015611711573373ffffffffffffffffffffffffffffffffffffffff16600c600086868581811061124a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90613aae565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113659190613cc1565b8152602001908152602001600020549050601060008686858181106113b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900460ff1615611433576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461142b9190613cc1565b925050819055505b6000600c6000878786818110611472577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060116000868685818110611502577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002054601160008381526020019081526020016000208190555080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601160008989888181106115ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020548152602001908152602001600020819055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116269190613cc1565b92505081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30338888878181106116a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b81526004016116cb9392919061385f565b600060405180830381600087803b1580156116e557600080fd5b505af11580156116f9573d6000803e3d6000fd5b5050505050808061170990613dd3565b9150506111eb565b5082829050600860008282546117279190613cc1565b925050819055506001600681905550505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b600061180161176c61211c565b84846001600061177a61211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117fc9190613be0565b612124565b6001905092915050565b61181361211c565b73ffffffffffffffffffffffffffffffffffffffff16611831611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90613a8e565b60405180910390fd5b61189182826128ae565b80600960008282546118a39190613be0565b925050819055505050565b678ac7230489e8000081565b6118c261211c565b73ffffffffffffffffffffffffffffffffffffffff166118e0611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90613a8e565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560149054906101000a900460ff16905090565b6119b061211c565b73ffffffffffffffffffffffffffffffffffffffff166119ce611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b90613a8e565b60405180910390fd5b60008383905011611a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a619061390e565b60405180910390fd5b60005b83839050811015611af5578160106000868685818110611ab6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611aed90613dd3565b915050611a6d565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b7161211c565b73ffffffffffffffffffffffffffffffffffffffff16611b8f611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90613a8e565b60405180910390fd5b611bef6000612a0e565b565b60085481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611c3090613da1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5c90613da1565b8015611ca95780601f10611c7e57610100808354040283529160200191611ca9565b820191906000526020600020905b815481529060010190602001808311611c8c57829003601f168201915b5050505050905090565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d369061392e565b60405180910390fd5b611d498282612ad4565b5050565b60106020528060005260406000206000915054906101000a900460ff1681565b60008060016000611d7c61211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090613b4e565b60405180910390fd5b611e4d611e4461211c565b85858403612124565b600191505092915050565b6000611e6382612cab565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ead9190613be0565b9050919050565b600e6020528060005260406000206000915090505481565b6000611ee0611ed961211c565b848461262d565b6001905092915050565b600b6020528060005260406000206000915090505481565b60095481565b60126020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600d602052816000526040600020602052806000526040600020600091509150505481565b600f6020528060005260406000206000915090505481565b611ff461211c565b73ffffffffffffffffffffffffffffffffffffffff16612012611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613a8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf9061396e565b60405180910390fd5b6120e181612a0e565b50565b601981565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b90613b0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb9061398e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516122e29190613b8e565b60405180910390a3505050565b6122f881612cab565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123469190613be0565b9250508190555042600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61239c611991565b156123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390613a2e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061245f5750601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61249e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124959061392e565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60095410612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f990613a0e565b60405180910390fd5b600061250d82611e58565b905060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826009546125409190613be0565b1161254b578161257a565b6009547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6125799190613cc1565b5b905061258683826128ae565b6000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600960008282546126219190613be0565b92505081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490613aee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561270d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612704906138ee565b60405180910390fd5b612718838383612db4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561279e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612795906139ae565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128319190613be0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128959190613b8e565b60405180910390a36128a8848484612db9565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291590613b6e565b60405180910390fd5b61292a60008383612db4565b806002600082825461293c9190613be0565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129919190613be0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516129f69190613b8e565b60405180910390a3612a0a60008383612db9565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3b90613ace565b60405180910390fd5b612b5082600083612db4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd9061394e565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612c2d9190613cc1565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c929190613b8e565b60405180910390a3612ca683600084612db9565b505050565b600062015180600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442612cfc9190613cc1565b678ac7230489e80000600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d8f9190613be0565b612d999190613c67565b612da39190613c67565b612dad9190613c36565b9050919050565b505050565b505050565b600081359050612dcd81613eba565b92915050565b600081519050612de281613eba565b92915050565b60008083601f840112612dfa57600080fd5b8235905067ffffffffffffffff811115612e1357600080fd5b602083019150836020820283011115612e2b57600080fd5b9250929050565b600081359050612e4181613ed1565b92915050565b600081519050612e5681613ed1565b92915050565b600081359050612e6b81613ee8565b92915050565b600060208284031215612e8357600080fd5b6000612e9184828501612dbe565b91505092915050565b600060208284031215612eac57600080fd5b6000612eba84828501612dd3565b91505092915050565b60008060408385031215612ed657600080fd5b6000612ee485828601612dbe565b9250506020612ef585828601612dbe565b9150509250929050565b600080600060608486031215612f1457600080fd5b6000612f2286828701612dbe565b9350506020612f3386828701612dbe565b9250506040612f4486828701612e5c565b9150509250925092565b60008060408385031215612f6157600080fd5b6000612f6f85828601612dbe565b9250506020612f8085828601612e32565b9150509250929050565b60008060408385031215612f9d57600080fd5b6000612fab85828601612dbe565b9250506020612fbc85828601612e5c565b9150509250929050565b60008060208385031215612fd957600080fd5b600083013567ffffffffffffffff811115612ff357600080fd5b612fff85828601612de8565b92509250509250929050565b60008060006040848603121561302057600080fd5b600084013567ffffffffffffffff81111561303a57600080fd5b61304686828701612de8565b9350935050602061305986828701612e32565b9150509250925092565b60006020828403121561307557600080fd5b600061308384828501612e47565b91505092915050565b60006020828403121561309e57600080fd5b60006130ac84828501612e5c565b91505092915050565b6130be81613cf5565b82525050565b6130cd81613d07565b82525050565b6130dc81613d4a565b82525050565b60006130ed82613bc4565b6130f78185613bcf565b9350613107818560208601613d6e565b61311081613ea9565b840191505092915050565b6000613128602383613bcf565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061318e601283613bcf565b91507f4e6f20746f6b656e732073656c656374656400000000000000000000000000006000830152602082019050919050565b60006131ce601283613bcf565b91507f43616c6c6572206e6f7420616c6c6f77656400000000000000000000000000006000830152602082019050919050565b600061320e602283613bcf565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613274602683613bcf565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132da602283613bcf565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613340602683613bcf565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133a6601583613bcf565b91507f436f6e7472616374206e6f7420617070726f76656400000000000000000000006000830152602082019050919050565b60006133e6602283613bcf565b91507f45786365656473206d617820746f6b656e7320706572207472616e736163746960008301527f6f6e0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061344c601b83613bcf565b91507f4d617820737570706c7920686173206265656e20636c61696d656400000000006000830152602082019050919050565b600061348c601083613bcf565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006134cc601183613bcf565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b600061350c602883613bcf565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613572602083613bcf565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006135b2601983613bcf565b91507f43616c6c6572206973206e6f7420746f6b656e206f776e6572000000000000006000830152602082019050919050565b60006135f2602183613bcf565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613658602583613bcf565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136be602483613bcf565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613724601f83613bcf565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613764602583613bcf565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137ca601f83613bcf565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61380681613d33565b82525050565b61381581613d3d565b82525050565b600060208201905061383060008301846130b5565b92915050565b600060408201905061384b60008301856130b5565b61385860208301846130b5565b9392505050565b600060608201905061387460008301866130b5565b61388160208301856130b5565b61388e60408301846137fd565b949350505050565b60006020820190506138ab60008301846130c4565b92915050565b60006020820190506138c660008301846130d3565b92915050565b600060208201905081810360008301526138e681846130e2565b905092915050565b600060208201905081810360008301526139078161311b565b9050919050565b6000602082019050818103600083015261392781613181565b9050919050565b60006020820190508181036000830152613947816131c1565b9050919050565b6000602082019050818103600083015261396781613201565b9050919050565b6000602082019050818103600083015261398781613267565b9050919050565b600060208201905081810360008301526139a7816132cd565b9050919050565b600060208201905081810360008301526139c781613333565b9050919050565b600060208201905081810360008301526139e781613399565b9050919050565b60006020820190508181036000830152613a07816133d9565b9050919050565b60006020820190508181036000830152613a278161343f565b9050919050565b60006020820190508181036000830152613a478161347f565b9050919050565b60006020820190508181036000830152613a67816134bf565b9050919050565b60006020820190508181036000830152613a87816134ff565b9050919050565b60006020820190508181036000830152613aa781613565565b9050919050565b60006020820190508181036000830152613ac7816135a5565b9050919050565b60006020820190508181036000830152613ae7816135e5565b9050919050565b60006020820190508181036000830152613b078161364b565b9050919050565b60006020820190508181036000830152613b27816136b1565b9050919050565b60006020820190508181036000830152613b4781613717565b9050919050565b60006020820190508181036000830152613b6781613757565b9050919050565b60006020820190508181036000830152613b87816137bd565b9050919050565b6000602082019050613ba360008301846137fd565b92915050565b6000602082019050613bbe600083018461380c565b92915050565b600081519050919050565b600082825260208201905092915050565b6000613beb82613d33565b9150613bf683613d33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613e1c565b5b828201905092915050565b6000613c4182613d33565b9150613c4c83613d33565b925082613c5c57613c5b613e4b565b5b828204905092915050565b6000613c7282613d33565b9150613c7d83613d33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613e1c565b5b828202905092915050565b6000613ccc82613d33565b9150613cd783613d33565b925082821015613cea57613ce9613e1c565b5b828203905092915050565b6000613d0082613d13565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613d5582613d5c565b9050919050565b6000613d6782613d13565b9050919050565b60005b83811015613d8c578082015181840152602081019050613d71565b83811115613d9b576000848401525b50505050565b60006002820490506001821680613db957607f821691505b60208210811415613dcd57613dcc613e7a565b5b50919050565b6000613dde82613d33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e1157613e10613e1c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b613ec381613cf5565b8114613ece57600080fd5b50565b613eda81613d07565b8114613ee557600080fd5b50565b613ef181613d33565b8114613efc57600080fd5b5056fea26469706673582212201a4f1b1edf8a910bd249a272e04d3522cfadb6e9d9e9a5a177e3497fce6792b664736f6c634300080000330000000000000000000000009394eb84ac14593f6cd10b9f8bc478a204b1f780
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c806370e87aac1161013b578063a9059cbb116100b8578063e149f0361161007c578063e149f0361461072a578063e80fadcd1461075a578063f2fde38b1461078a578063f43a22dc146107a6578063f8a14f46146107c45761023d565b8063a9059cbb1461064c578063cb03fb1e1461067c578063d54ad2a1146106ac578063d63a8e11146106ca578063dd62ed3e146106fa5761023d565b80639dc29fac116100ff5780639dc29fac146105705780639e97f7d01461058c578063a457c2d7146105bc578063a583024b146105ec578063a5b39cfb1461061c5761023d565b806370e87aac146104ee578063715018a61461050c578063817b1cd2146105165780638da5cb5b1461053457806395d89b41146105525761023d565b8063313ce567116101c957806341910f901161018d57806341910f901461044a5780634697f05d146104685780635c975abb14610484578063609866e4146104a257806370a08231146104be5761023d565b8063313ce567146103a65780633228337a146103c457806332cb6b0c146103e057806339509351146103fe57806340c10f191461042e5761023d565b806318160ddd1161021057806318160ddd146102dc5780631d0504a8146102fa5780631e83409a1461032a57806323b872dd146103465780632da74ccc146103765761023d565b80630583e9f81461024257806306fdde0314610272578063095ea7b3146102905780630fbf0a93146102c0575b600080fd5b61025c6004803603810190610257919061308c565b6107f4565b6040516102699190613b8e565b60405180910390f35b61027a61080c565b60405161028791906138cc565b60405180910390f35b6102aa60048036038101906102a59190612f8a565b61089e565b6040516102b79190613896565b60405180910390f35b6102da60048036038101906102d59190612fc6565b6108bc565b005b6102e4610ed4565b6040516102f19190613b8e565b60405180910390f35b610314600480360381019061030f9190612e71565b610ede565b6040516103219190613b8e565b60405180910390f35b610344600480360381019061033f9190612e71565b610ef6565b005b610360600480360381019061035b9190612eff565b610f58565b60405161036d9190613896565b60405180910390f35b610390600480360381019061038b9190612f8a565b611050565b60405161039d9190613b8e565b60405180910390f35b6103ae61112c565b6040516103bb9190613ba9565b60405180910390f35b6103de60048036038101906103d9919061300b565b611135565b005b6103e861173b565b6040516103f59190613b8e565b60405180910390f35b61041860048036038101906104139190612f8a565b61175f565b6040516104259190613896565b60405180910390f35b61044860048036038101906104439190612f8a565b61180b565b005b6104526118ae565b60405161045f9190613b8e565b60405180910390f35b610482600480360381019061047d9190612f4e565b6118ba565b005b61048c611991565b6040516104999190613896565b60405180910390f35b6104bc60048036038101906104b7919061300b565b6119a8565b005b6104d860048036038101906104d39190612e71565b611afb565b6040516104e59190613b8e565b60405180910390f35b6104f6611b43565b60405161050391906138b1565b60405180910390f35b610514611b69565b005b61051e611bf1565b60405161052b9190613b8e565b60405180910390f35b61053c611bf7565b604051610549919061381b565b60405180910390f35b61055a611c21565b60405161056791906138cc565b60405180910390f35b61058a60048036038101906105859190612f8a565b611cb3565b005b6105a660048036038101906105a1919061308c565b611d4d565b6040516105b39190613896565b60405180910390f35b6105d660048036038101906105d19190612f8a565b611d6d565b6040516105e39190613896565b60405180910390f35b61060660048036038101906106019190612e71565b611e58565b6040516106139190613b8e565b60405180910390f35b61063660048036038101906106319190612e71565b611eb4565b6040516106439190613b8e565b60405180910390f35b61066660048036038101906106619190612f8a565b611ecc565b6040516106739190613896565b60405180910390f35b61069660048036038101906106919190612e71565b611eea565b6040516106a39190613b8e565b60405180910390f35b6106b4611f02565b6040516106c19190613b8e565b60405180910390f35b6106e460048036038101906106df9190612e71565b611f08565b6040516106f19190613896565b60405180910390f35b610714600480360381019061070f9190612ec3565b611f28565b6040516107219190613b8e565b60405180910390f35b610744600480360381019061073f9190612f8a565b611faf565b6040516107519190613b8e565b60405180910390f35b610774600480360381019061076f9190612e71565b611fd4565b6040516107819190613b8e565b60405180910390f35b6107a4600480360381019061079f9190612e71565b611fec565b005b6107ae6120e4565b6040516107bb9190613b8e565b60405180910390f35b6107de60048036038101906107d9919061308c565b6120e9565b6040516107eb919061381b565b60405180910390f35b60116020528060005260406000206000915090505481565b60606003805461081b90613da1565b80601f016020809104026020016040519081016040528092919081815260200182805461084790613da1565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b5050505050905090565b60006108b26108ab61211c565b8484612124565b6001905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b8152600401610919929190613836565b60206040518083038186803b15801561093157600080fd5b505afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190613063565b6109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f906139ce565b60405180910390fd5b6109b0611991565b156109f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e790613a2e565b60405180910390fd5b6019828290501115610a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2e906139ee565b60405180910390fd5b610a40336122ef565b60005b82829050811015610eb3573373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110610adc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518263ffffffff1660e01b8152600401610aff9190613b8e565b60206040518083038186803b158015610b1757600080fd5b505afa158015610b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4f9190612e9a565b73ffffffffffffffffffffffffffffffffffffffff1614610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90613aae565b60405180910390fd5b6000838383818110610be0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506010600082815260200190815260200160002060009054906101000a900460ff1615610c67576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c5f9190613be0565b925050819055505b33600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160008381526020019081526020016000208190555080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060116000858152602001908152602001600020548152602001908152602001600020819055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610dc89190613be0565b92505081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330878787818110610e48577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610e6d9392919061385f565b600060405180830381600087803b158015610e8757600080fd5b505af1158015610e9b573d6000803e3d6000fd5b50505050508080610eab90613dd3565b915050610a43565b508181905060086000828254610ec99190613be0565b925050819055505050565b6000600254905090565b600a6020528060005260406000206000915090505481565b60026006541415610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390613b2e565b60405180910390fd5b6002600681905550610f4d81612394565b600160068190555050565b6000610f6584848461262d565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610fb061211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790613a6e565b60405180910390fd5b6110448561103c61211c565b858403612124565b60019150509392505050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482106110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613a4e565b60405180910390fd5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006012905090565b6002600654141561117b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117290613b2e565b60405180910390fd5b600260068190555060198383905011156111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c1906139ee565b60405180910390fd5b80156111de576111d933612394565b6111e8565b6111e7336122ef565b5b60005b83839050811015611711573373ffffffffffffffffffffffffffffffffffffffff16600c600086868581811061124a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cd90613aae565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113659190613cc1565b8152602001908152602001600020549050601060008686858181106113b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900460ff1615611433576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461142b9190613cc1565b925050819055505b6000600c6000878786818110611472577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060116000868685818110611502577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002054601160008381526020019081526020016000208190555080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601160008989888181106115ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001908152602001600020548152602001908152602001600020819055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116269190613cc1565b92505081905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30338888878181106116a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b81526004016116cb9392919061385f565b600060405180830381600087803b1580156116e557600080fd5b505af11580156116f9573d6000803e3d6000fd5b5050505050808061170990613dd3565b9150506111eb565b5082829050600860008282546117279190613cc1565b925050819055506001600681905550505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b600061180161176c61211c565b84846001600061177a61211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117fc9190613be0565b612124565b6001905092915050565b61181361211c565b73ffffffffffffffffffffffffffffffffffffffff16611831611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90613a8e565b60405180910390fd5b61189182826128ae565b80600960008282546118a39190613be0565b925050819055505050565b678ac7230489e8000081565b6118c261211c565b73ffffffffffffffffffffffffffffffffffffffff166118e0611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90613a8e565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560149054906101000a900460ff16905090565b6119b061211c565b73ffffffffffffffffffffffffffffffffffffffff166119ce611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b90613a8e565b60405180910390fd5b60008383905011611a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a619061390e565b60405180910390fd5b60005b83839050811015611af5578160106000868685818110611ab6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611aed90613dd3565b915050611a6d565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b7161211c565b73ffffffffffffffffffffffffffffffffffffffff16611b8f611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc90613a8e565b60405180910390fd5b611bef6000612a0e565b565b60085481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611c3090613da1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5c90613da1565b8015611ca95780601f10611c7e57610100808354040283529160200191611ca9565b820191906000526020600020905b815481529060010190602001808311611c8c57829003601f168201915b5050505050905090565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d369061392e565b60405180910390fd5b611d498282612ad4565b5050565b60106020528060005260406000206000915054906101000a900460ff1681565b60008060016000611d7c61211c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090613b4e565b60405180910390fd5b611e4d611e4461211c565b85858403612124565b600191505092915050565b6000611e6382612cab565b600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ead9190613be0565b9050919050565b600e6020528060005260406000206000915090505481565b6000611ee0611ed961211c565b848461262d565b6001905092915050565b600b6020528060005260406000206000915090505481565b60095481565b60126020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600d602052816000526040600020602052806000526040600020600091509150505481565b600f6020528060005260406000206000915090505481565b611ff461211c565b73ffffffffffffffffffffffffffffffffffffffff16612012611bf7565b73ffffffffffffffffffffffffffffffffffffffff1614612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613a8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf9061396e565b60405180910390fd5b6120e181612a0e565b50565b601981565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b90613b0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb9061398e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516122e29190613b8e565b60405180910390a3505050565b6122f881612cab565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123469190613be0565b9250508190555042600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b61239c611991565b156123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390613a2e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061245f5750601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61249e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124959061392e565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60095410612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f990613a0e565b60405180910390fd5b600061250d82611e58565b905060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826009546125409190613be0565b1161254b578161257a565b6009547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6125799190613cc1565b5b905061258683826128ae565b6000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600960008282546126219190613be0565b92505081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490613aee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561270d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612704906138ee565b60405180910390fd5b612718838383612db4565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561279e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612795906139ae565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128319190613be0565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128959190613b8e565b60405180910390a36128a8848484612db9565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291590613b6e565b60405180910390fd5b61292a60008383612db4565b806002600082825461293c9190613be0565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129919190613be0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516129f69190613b8e565b60405180910390a3612a0a60008383612db9565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3b90613ace565b60405180910390fd5b612b5082600083612db4565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd9061394e565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612c2d9190613cc1565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c929190613b8e565b60405180910390a3612ca683600084612db9565b505050565b600062015180600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442612cfc9190613cc1565b678ac7230489e80000600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d8f9190613be0565b612d999190613c67565b612da39190613c67565b612dad9190613c36565b9050919050565b505050565b505050565b600081359050612dcd81613eba565b92915050565b600081519050612de281613eba565b92915050565b60008083601f840112612dfa57600080fd5b8235905067ffffffffffffffff811115612e1357600080fd5b602083019150836020820283011115612e2b57600080fd5b9250929050565b600081359050612e4181613ed1565b92915050565b600081519050612e5681613ed1565b92915050565b600081359050612e6b81613ee8565b92915050565b600060208284031215612e8357600080fd5b6000612e9184828501612dbe565b91505092915050565b600060208284031215612eac57600080fd5b6000612eba84828501612dd3565b91505092915050565b60008060408385031215612ed657600080fd5b6000612ee485828601612dbe565b9250506020612ef585828601612dbe565b9150509250929050565b600080600060608486031215612f1457600080fd5b6000612f2286828701612dbe565b9350506020612f3386828701612dbe565b9250506040612f4486828701612e5c565b9150509250925092565b60008060408385031215612f6157600080fd5b6000612f6f85828601612dbe565b9250506020612f8085828601612e32565b9150509250929050565b60008060408385031215612f9d57600080fd5b6000612fab85828601612dbe565b9250506020612fbc85828601612e5c565b9150509250929050565b60008060208385031215612fd957600080fd5b600083013567ffffffffffffffff811115612ff357600080fd5b612fff85828601612de8565b92509250509250929050565b60008060006040848603121561302057600080fd5b600084013567ffffffffffffffff81111561303a57600080fd5b61304686828701612de8565b9350935050602061305986828701612e32565b9150509250925092565b60006020828403121561307557600080fd5b600061308384828501612e47565b91505092915050565b60006020828403121561309e57600080fd5b60006130ac84828501612e5c565b91505092915050565b6130be81613cf5565b82525050565b6130cd81613d07565b82525050565b6130dc81613d4a565b82525050565b60006130ed82613bc4565b6130f78185613bcf565b9350613107818560208601613d6e565b61311081613ea9565b840191505092915050565b6000613128602383613bcf565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061318e601283613bcf565b91507f4e6f20746f6b656e732073656c656374656400000000000000000000000000006000830152602082019050919050565b60006131ce601283613bcf565b91507f43616c6c6572206e6f7420616c6c6f77656400000000000000000000000000006000830152602082019050919050565b600061320e602283613bcf565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613274602683613bcf565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132da602283613bcf565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613340602683613bcf565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133a6601583613bcf565b91507f436f6e7472616374206e6f7420617070726f76656400000000000000000000006000830152602082019050919050565b60006133e6602283613bcf565b91507f45786365656473206d617820746f6b656e7320706572207472616e736163746960008301527f6f6e0000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061344c601b83613bcf565b91507f4d617820737570706c7920686173206265656e20636c61696d656400000000006000830152602082019050919050565b600061348c601083613bcf565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b60006134cc601183613bcf565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b600061350c602883613bcf565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613572602083613bcf565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006135b2601983613bcf565b91507f43616c6c6572206973206e6f7420746f6b656e206f776e6572000000000000006000830152602082019050919050565b60006135f2602183613bcf565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613658602583613bcf565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136be602483613bcf565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613724601f83613bcf565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613764602583613bcf565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137ca601f83613bcf565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61380681613d33565b82525050565b61381581613d3d565b82525050565b600060208201905061383060008301846130b5565b92915050565b600060408201905061384b60008301856130b5565b61385860208301846130b5565b9392505050565b600060608201905061387460008301866130b5565b61388160208301856130b5565b61388e60408301846137fd565b949350505050565b60006020820190506138ab60008301846130c4565b92915050565b60006020820190506138c660008301846130d3565b92915050565b600060208201905081810360008301526138e681846130e2565b905092915050565b600060208201905081810360008301526139078161311b565b9050919050565b6000602082019050818103600083015261392781613181565b9050919050565b60006020820190508181036000830152613947816131c1565b9050919050565b6000602082019050818103600083015261396781613201565b9050919050565b6000602082019050818103600083015261398781613267565b9050919050565b600060208201905081810360008301526139a7816132cd565b9050919050565b600060208201905081810360008301526139c781613333565b9050919050565b600060208201905081810360008301526139e781613399565b9050919050565b60006020820190508181036000830152613a07816133d9565b9050919050565b60006020820190508181036000830152613a278161343f565b9050919050565b60006020820190508181036000830152613a478161347f565b9050919050565b60006020820190508181036000830152613a67816134bf565b9050919050565b60006020820190508181036000830152613a87816134ff565b9050919050565b60006020820190508181036000830152613aa781613565565b9050919050565b60006020820190508181036000830152613ac7816135a5565b9050919050565b60006020820190508181036000830152613ae7816135e5565b9050919050565b60006020820190508181036000830152613b078161364b565b9050919050565b60006020820190508181036000830152613b27816136b1565b9050919050565b60006020820190508181036000830152613b4781613717565b9050919050565b60006020820190508181036000830152613b6781613757565b9050919050565b60006020820190508181036000830152613b87816137bd565b9050919050565b6000602082019050613ba360008301846137fd565b92915050565b6000602082019050613bbe600083018461380c565b92915050565b600081519050919050565b600082825260208201905092915050565b6000613beb82613d33565b9150613bf683613d33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613e1c565b5b828201905092915050565b6000613c4182613d33565b9150613c4c83613d33565b925082613c5c57613c5b613e4b565b5b828204905092915050565b6000613c7282613d33565b9150613c7d83613d33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613e1c565b5b828202905092915050565b6000613ccc82613d33565b9150613cd783613d33565b925082821015613cea57613ce9613e1c565b5b828203905092915050565b6000613d0082613d13565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613d5582613d5c565b9050919050565b6000613d6782613d13565b9050919050565b60005b83811015613d8c578082015181840152602081019050613d71565b83811115613d9b576000848401525b50505050565b60006002820490506001821680613db957607f821691505b60208210811415613dcd57613dcc613e7a565b5b50919050565b6000613dde82613d33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e1157613e10613e1c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b613ec381613cf5565b8114613ece57600080fd5b50565b613eda81613d07565b8114613ee557600080fd5b50565b613ef181613d33565b8114613efc57600080fd5b5056fea26469706673582212201a4f1b1edf8a910bd249a272e04d3522cfadb6e9d9e9a5a177e3497fce6792b664736f6c63430008000033