Contract Address Details
0x1aFDf61BA7faf619696e203F144039445AB53a9F
- Token
- Huske Dog (HUD)
- Creator
- 0xef9ad1–03d83f at 0x3917c4–725016
- Balance
- 21,613.149760409888715197 Doge
- Tokens
-
Fetching tokens...
- Transactions
- 241 Transactions
- Transfers
- 1,905 Transfers
- Gas Used
- 12,193,621
- Last Balance Update
- 26894990
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
- Contract name:
- HuskeDogeChain
- Optimization enabled
- false
- Compiler version
- v0.8.16+commit.07a7930e
- EVM Version
- default
- Verified at
- 2022-08-17T17:38:29.812119Z
Contract source code
// SPDX-License-Identifier: MIT // File: contracts/interfaces/IDogeSwapV2Factory.sol pragma solidity >=0.5.0; interface IDogeSwapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: contracts/interfaces/IDogeSwapV2Router01.sol pragma solidity >=0.6.2; interface IDogeSwapV2Router01 { function factory() external view returns (address); function WWDOGE() external view returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityWDOGE( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountWDOGEMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountWDOGE, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityWDOGE( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountWDOGEMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountWDOGE); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityWDOGEWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountWDOGEMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountWDOGE); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactWDOGEForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactWDOGE( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForWDOGE( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapWDOGEForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } // File: contracts/interfaces/IDogeSwapV2Router02.sol pragma solidity >=0.6.2; interface IDogeSwapV2Router02 is IDogeSwapV2Router01 { function removeLiquidityWDOGESupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountWDOGEMin, address to, uint256 deadline ) external returns (uint256 amountWDOGE); function removeLiquidityWDOGEWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountWDOGEMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountWDOGE); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactWDOGEForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForWDOGESupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } // 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/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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/HuskeDogeChain.sol pragma solidity ^0.8.16; contract HuskeDogeChain is ERC20, Ownable { mapping(address => uint256) _rBalance; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFees; uint256 public liquidityBuyFee; uint256 public treasuryBuyFee; uint256 public totalBuyFee; uint256 public liquiditySellFee; uint256 public treasurySellFee; uint256 public firePitSellFee; uint256 public totalSellFee; IDogeSwapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public sustainabilityWallet; address public treasuryWallet; address private DEAD = 0x000000000000000000000000000000000000dEaD; mapping(address => bool) public automatedMarketMakerPairs; uint256 private initialSupply; uint256 private rSupply; uint256 private constant MAX = type(uint256).max; uint256 private _totalSupply; bool public swapEnabled = true; bool private inSwap; uint256 private swapThreshold; uint256 public lastSwapTime; uint256 public swapInterval; modifier swapping() { inSwap = true; _; inSwap = false; } uint256 private launchTime; event ExcludeFromFees(address indexed account, bool isExcluded); event BuyFeesUpdated(uint256 liquidityBuyFee, uint256 treasuryBuyFee); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify(uint256 tokensSwapped, uint256 bnbReceived, uint256 tokensIntoLiqudity); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); constructor() ERC20('Huske Dog', 'HUD') { liquidityBuyFee = 1; treasuryBuyFee = 1; totalBuyFee = liquidityBuyFee + treasuryBuyFee; liquiditySellFee = 3; treasurySellFee = 1; firePitSellFee = 1; totalSellFee = liquiditySellFee + treasurySellFee + firePitSellFee; treasuryWallet = 0x3745DB326959f58FC420Cc61F39822D598b9558a; IDogeSwapV2Router02 _uniswapV2Router = IDogeSwapV2Router02(0xa4EE06Ce40cb7e8c04E127c1F7D3dFB7F7039C81); address _uniswapV2Pair = IDogeSwapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WWDOGE() ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); _allowances[address(this)][address(uniswapV2Router)] = MAX; initialSupply = 83_950_000_000 * (10**18); _mint(_msgSender(), initialSupply); _totalSupply = initialSupply; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[_msgSender()] = true; _isExcludedFromFees[DEAD] = true; _isExcludedFromFees[address(this)] = true; swapThreshold = 100000 * (10**18); swapInterval = 10 minutes; _rBalance[_msgSender()] = _totalSupply; } receive() external payable {} function sendBNB(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, 'Address: insufficient balance'); (bool success, ) = recipient.call{ value: amount }(''); require(success, 'Address: unable to send value, recipient may have reverted'); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require(pair != uniswapV2Pair, 'The PancakeSwap pair cannot be removed from automatedMarketMakerPairs'); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, 'Automated market maker pair is already set to that value'); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function approve(address spender, uint256 value) public override returns (bool) { _allowances[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function allowance(address owner_, address spender) public view override returns (uint256) { return _allowances[owner_][spender]; } function decreaseAllowance(address spender, uint256 subtractedValue) public override returns (bool) { uint256 oldValue = _allowances[msg.sender][spender]; if (subtractedValue >= oldValue) { _allowances[msg.sender][spender] = 0; } else { _allowances[msg.sender][spender] = oldValue - subtractedValue; } emit Approval(msg.sender, spender, _allowances[msg.sender][spender]); return true; } function increaseAllowance(address spender, uint256 addedValue) public override returns (bool) { _allowances[msg.sender][spender] = _allowances[msg.sender][spender] + addedValue; emit Approval(msg.sender, spender, _allowances[msg.sender][spender]); return true; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _rBalance[account]; } function transfer(address to, uint256 value) public override returns (bool) { _transferFrom(msg.sender, to, value); return true; } function transferFrom( address from, address to, uint256 value ) public override returns (bool) { if (_allowances[from][msg.sender] != MAX) { _allowances[from][msg.sender] = _allowances[from][msg.sender] - value; } _transferFrom(from, to, value); return true; } function _basicTransfer( address from, address to, uint256 amount ) internal returns (bool) { _rBalance[from] = _rBalance[from] - amount; _rBalance[to] = _rBalance[to] + amount; emit Transfer(from, to, amount); return true; } function _transferFrom( address sender, address recipient, uint256 amount ) internal returns (bool) { require(recipient != address(0), 'ERC20: transfer to the zero address'); if (inSwap) { return _basicTransfer(sender, recipient, amount); } if (recipient == uniswapV2Pair && launchTime == 0 && amount > 0) { launchTime = block.timestamp; } if (shouldSwapBack()) { swapBack(); } _rBalance[sender] = _rBalance[sender] - amount; uint256 amountReceived = (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) ? amount : takeFee(sender, amount, recipient); _rBalance[recipient] = _rBalance[recipient] + amountReceived; emit Transfer(sender, recipient, amountReceived); return true; } function takeFee( address sender, uint256 rAmount, address recipient ) internal returns (uint256) { uint256 _finalFee; if ( block.timestamp - launchTime < 10 && launchTime != 0 && (uniswapV2Pair == recipient || uniswapV2Pair == sender) ) { _finalFee = 75; } else if (uniswapV2Pair == recipient) { _finalFee = totalSellFee; } else if (uniswapV2Pair == sender) { _finalFee = totalBuyFee; } else { _finalFee = 0; } uint256 feeAmount = (rAmount * _finalFee) / 100; _rBalance[address(this)] = _rBalance[address(this)] + feeAmount; emit Transfer(sender, address(this), feeAmount); return rAmount - feeAmount; } function excludeFromFees(address account, bool excluded) external onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateSellFees( uint256 _liquiditySellFee, uint256 _treasurySellFee, uint256 _firePitSellFee ) external onlyOwner { liquiditySellFee = _liquiditySellFee; treasurySellFee = _treasurySellFee; firePitSellFee = _firePitSellFee; totalSellFee = liquiditySellFee + treasurySellFee + firePitSellFee; require(totalSellFee <= 10, 'Fees must be less than 10%'); } function updateBuyFees(uint256 _liquidityBuyFee, uint256 _treasuryBuyFee) external onlyOwner { liquidityBuyFee = _liquidityBuyFee; treasuryBuyFee = _treasuryBuyFee; totalBuyFee = liquidityBuyFee + treasuryBuyFee; require(totalBuyFee <= 10, 'Fees must be less than 10%'); emit BuyFeesUpdated(liquidityBuyFee, treasuryBuyFee); } function changeTreasuryWallet(address _treasuryWallet) external onlyOwner { require(_treasuryWallet != treasuryWallet, 'Treasury wallet is already that address'); treasuryWallet = _treasuryWallet; } function shouldSwapBack() internal view returns (bool) { return (msg.sender != uniswapV2Pair && !inSwap && swapEnabled && _rBalance[address(this)] >= swapThreshold && lastSwapTime + swapInterval < block.timestamp); } function swapBack() internal swapping { uint256 total = balanceOf(address(this)); uint256 totalFee = totalBuyFee + totalSellFee; uint256 liquidityShare = liquidityBuyFee + liquiditySellFee; uint256 treasuryShare = treasurySellFee + treasuryBuyFee; uint256 firePitShare = firePitSellFee; uint256 liquidityTokens; uint256 firePitTokens; if (liquidityShare > 0) { liquidityTokens = (total * liquidityShare) / totalFee; swapAndLiquify(liquidityTokens); } if (firePitShare > 0) { firePitTokens = (total * firePitShare) / totalFee; _basicTransfer(address(this), DEAD, firePitTokens); } total -= liquidityTokens + firePitTokens; uint256 bnbShare = treasuryShare; if (total > 0 && bnbShare > 0) { uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WWDOGE(); uniswapV2Router.swapExactTokensForWDOGESupportingFeeOnTransferTokens( total, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; if (treasuryShare > 0) { uint256 marketingBNB = (newBalance * treasuryShare) / bnbShare; sendBNB(payable(treasuryWallet), marketingBNB); } } lastSwapTime = block.timestamp; } function swapAndLiquify(uint256 tokens) private { uint256 half = tokens / 2; uint256 otherHalf = tokens - half; uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WWDOGE(); uniswapV2Router.swapExactTokensForWDOGESupportingFeeOnTransferTokens( half, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; uniswapV2Router.addLiquidityWDOGE{ value: newBalance }( address(this), otherHalf, 0, 0, DEAD, block.timestamp ); emit SwapAndLiquify(half, newBalance, otherHalf); } function setSwapBackSettings( bool _enabled, uint256 _amount, uint256 _interval ) external onlyOwner { swapEnabled = _enabled; swapThreshold = _amount; swapInterval = _interval; } function checkSwapThreshold() external view returns (uint256) { return swapThreshold; } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"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":"BuyFeesUpdated","inputs":[{"type":"uint256","name":"liquidityBuyFee","internalType":"uint256","indexed":false},{"type":"uint256","name":"treasuryBuyFee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ExcludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"bool","name":"isExcluded","internalType":"bool","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":"SetAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address","indexed":true},{"type":"bool","name":"value","internalType":"bool","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"bnbReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiqudity","internalType":"uint256","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":"UpdateUniswapV2Router","inputs":[{"type":"address","name":"newAddress","internalType":"address","indexed":true},{"type":"address","name":"oldAddress","internalType":"address","indexed":true}],"anonymous":false},{"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":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"automatedMarketMakerPairs","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"changeTreasuryWallet","inputs":[{"type":"address","name":"_treasuryWallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"checkSwapThreshold","inputs":[]},{"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":"nonpayable","outputs":[],"name":"excludeFromFees","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"bool","name":"excluded","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"firePitSellFee","inputs":[]},{"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":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFees","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lastSwapTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquidityBuyFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"liquiditySellFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAutomatedMarketMakerPair","inputs":[{"type":"address","name":"pair","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapBackSettings","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"},{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"uint256","name":"_interval","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"sustainabilityWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"swapInterval","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalBuyFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSellFee","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":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"treasuryBuyFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"treasurySellFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"treasuryWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IDogeSwapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateBuyFees","inputs":[{"type":"uint256","name":"_liquidityBuyFee","internalType":"uint256"},{"type":"uint256","name":"_treasuryBuyFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSellFees","inputs":[{"type":"uint256","name":"_liquiditySellFee","internalType":"uint256"},{"type":"uint256","name":"_treasurySellFee","internalType":"uint256"},{"type":"uint256","name":"_firePitSellFee","internalType":"uint256"}]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x608060405261dead601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601960006101000a81548160ff0219169083151502179055503480156200006f57600080fd5b506040518060400160405280600981526020017f4875736b6520446f6700000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f48554400000000000000000000000000000000000000000000000000000000008152508160039081620000ed919062000d39565b508060049081620000ff919062000d39565b50505062000122620001166200070f60201b60201c565b6200071760201b60201c565b60016009819055506001600a81905550600a5460095462000144919062000e4f565b600b819055506003600c819055506001600d819055506001600e81905550600e54600d54600c5462000177919062000e4f565b62000183919062000e4f565b600f81905550733745db326959f58fc420cc61f39822d598b9558a601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073a4ee06ce40cb7e8c04e127c1f7d3dfb7f7039c81905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000245573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026b919062000ef4565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff16634ed154606040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f9919062000ef4565b6040518363ffffffff1660e01b81526004016200031892919062000f37565b6020604051808303816000875af115801562000338573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035e919062000ef4565b905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003f5816001620007dd60201b60201c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600760003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506c010f41cffb02060d92ae000000601681905550620004ef620004e06200070f60201b60201c565b6016546200091360201b60201c565b6016546018819055506001600860006200050e62000a8b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000620005756200070f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160086000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600860003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555069152d02c7e14af6800000601a81905550610258601c8190555060185460066000620006c96200070f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050620010ad565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b801515601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615150362000872576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008699062000feb565b60405180910390fd5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000985576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200097c906200105d565b60405180910390fd5b620009996000838362000ab560201b60201c565b8060026000828254620009ad919062000e4f565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000a04919062000e4f565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000a6b919062001090565b60405180910390a362000a876000838362000aba60201b60201c565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b4157607f821691505b60208210810362000b575762000b5662000af9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000bc17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b82565b62000bcd868362000b82565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000c1a62000c1462000c0e8462000be5565b62000bef565b62000be5565b9050919050565b6000819050919050565b62000c368362000bf9565b62000c4e62000c458262000c21565b84845462000b8f565b825550505050565b600090565b62000c6562000c56565b62000c7281848462000c2b565b505050565b5b8181101562000c9a5762000c8e60008262000c5b565b60018101905062000c78565b5050565b601f82111562000ce95762000cb38162000b5d565b62000cbe8462000b72565b8101602085101562000cce578190505b62000ce662000cdd8562000b72565b83018262000c77565b50505b505050565b600082821c905092915050565b600062000d0e6000198460080262000cee565b1980831691505092915050565b600062000d29838362000cfb565b9150826002028217905092915050565b62000d448262000abf565b67ffffffffffffffff81111562000d605762000d5f62000aca565b5b62000d6c825462000b28565b62000d7982828562000c9e565b600060209050601f83116001811462000db1576000841562000d9c578287015190505b62000da8858262000d1b565b86555062000e18565b601f19841662000dc18662000b5d565b60005b8281101562000deb5784890151825560018201915060208501945060208101905062000dc4565b8683101562000e0b578489015162000e07601f89168262000cfb565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e5c8262000be5565b915062000e698362000be5565b925082820190508082111562000e845762000e8362000e20565b5b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000ebc8262000e8f565b9050919050565b62000ece8162000eaf565b811462000eda57600080fd5b50565b60008151905062000eee8162000ec3565b92915050565b60006020828403121562000f0d5762000f0c62000e8a565b5b600062000f1d8482850162000edd565b91505092915050565b62000f318162000eaf565b82525050565b600060408201905062000f4e600083018562000f26565b62000f5d602083018462000f26565b9392505050565b600082825260208201905092915050565b7f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160008201527f6c72656164792073657420746f20746861742076616c75650000000000000000602082015250565b600062000fd360388362000f64565b915062000fe08262000f75565b604082019050919050565b60006020820190508181036000830152620010068162000fc4565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001045601f8362000f64565b915062001052826200100d565b602082019050919050565b60006020820190508181036000830152620010788162001036565b9050919050565b6200108a8162000be5565b82525050565b6000602082019050620010a760008301846200107f565b92915050565b613a4280620010bd6000396000f3fe60806040526004361061021e5760003560e01c80636ddd171311610123578063b1283c1c116100ab578063d08893581161006f578063d0889358146107fc578063dd62ed3e14610825578063ed0d213714610862578063f2fde38b1461088d578063fedcb861146108b657610225565b8063b1283c1c14610717578063b62496f514610742578063c02466681461077f578063c17b5b8c146107a8578063ccb61358146107d157610225565b806395d89b41116100f257806395d89b411461061e5780639a7a23d6146106495780639d9241ec14610672578063a457c2d71461069d578063a9059cbb146106da57610225565b80636ddd17131461057457806370a082311461059f578063715018a6146105dc5780638da5cb5b146105f357610225565b8063313ce567116101a65780634fbee193116101755780634fbee1931461048f578063537c1ac7146104cc57806359b107b9146104f557806366ca9b83146105205780636d351d1a1461054957610225565b8063313ce567146103d157806339509351146103fc5780634626402b1461043957806349bd5a5e1461046457610225565b80630dd87157116101ed5780630dd87157146102e85780631694505e1461031357806318160ddd1461033e57806323b872dd146103695780632c10508c146103a657610225565b806306fdde031461022a578063095ea7b314610255578063099d0d30146102925780630a944b70146102bd57610225565b3661022557005b600080fd5b34801561023657600080fd5b5061023f6108e1565b60405161024c9190612bdb565b60405180910390f35b34801561026157600080fd5b5061027c60048036038101906102779190612c96565b610973565b6040516102899190612cf1565b60405180910390f35b34801561029e57600080fd5b506102a7610a65565b6040516102b49190612d1b565b60405180910390f35b3480156102c957600080fd5b506102d2610a6b565b6040516102df9190612d1b565b60405180910390f35b3480156102f457600080fd5b506102fd610a71565b60405161030a9190612d1b565b60405180910390f35b34801561031f57600080fd5b50610328610a77565b6040516103359190612d95565b60405180910390f35b34801561034a57600080fd5b50610353610a9d565b6040516103609190612d1b565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b9190612db0565b610aa7565b60405161039d9190612cf1565b60405180910390f35b3480156103b257600080fd5b506103bb610c6c565b6040516103c89190612d1b565b60405180910390f35b3480156103dd57600080fd5b506103e6610c72565b6040516103f39190612e1f565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190612c96565b610c7b565b6040516104309190612cf1565b60405180910390f35b34801561044557600080fd5b5061044e610e70565b60405161045b9190612e49565b60405180910390f35b34801561047057600080fd5b50610479610e96565b6040516104869190612e49565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612e64565b610ebc565b6040516104c39190612cf1565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190612e64565b610f12565b005b34801561050157600080fd5b5061050a610fee565b6040516105179190612d1b565b60405180910390f35b34801561052c57600080fd5b5061054760048036038101906105429190612e91565b610ff4565b005b34801561055557600080fd5b5061055e6110a7565b60405161056b9190612d1b565b60405180910390f35b34801561058057600080fd5b506105896110b1565b6040516105969190612cf1565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c19190612e64565b6110c4565b6040516105d39190612d1b565b60405180910390f35b3480156105e857600080fd5b506105f161110d565b005b3480156105ff57600080fd5b50610608611121565b6040516106159190612e49565b60405180910390f35b34801561062a57600080fd5b5061063361114b565b6040516106409190612bdb565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190612efd565b6111dd565b005b34801561067e57600080fd5b50610687611283565b6040516106949190612d1b565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190612c96565b611289565b6040516106d19190612cf1565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190612c96565b611512565b60405161070e9190612cf1565b60405180910390f35b34801561072357600080fd5b5061072c61152a565b6040516107399190612d1b565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190612e64565b611530565b6040516107769190612cf1565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a19190612efd565b611550565b005b3480156107b457600080fd5b506107cf60048036038101906107ca9190612f3d565b611601565b005b3480156107dd57600080fd5b506107e661168c565b6040516107f39190612d1b565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612f90565b611692565b005b34801561083157600080fd5b5061084c60048036038101906108479190612fe3565b6116c7565b6040516108599190612d1b565b60405180910390f35b34801561086e57600080fd5b5061087761174e565b6040516108849190612d1b565b60405180910390f35b34801561089957600080fd5b506108b460048036038101906108af9190612e64565b611754565b005b3480156108c257600080fd5b506108cb6117d7565b6040516108d89190612e49565b60405180910390f35b6060600380546108f090613052565b80601f016020809104026020016040519081016040528092919081815260200182805461091c90613052565b80156109695780601f1061093e57610100808354040283529160200191610969565b820191906000526020600020905b81548152906001019060200180831161094c57829003601f168201915b5050505050905090565b600081600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a539190612d1b565b60405180910390a36001905092915050565b600c5481565b600e5481565b601b5481565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601854905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610c555781600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bd491906130b2565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610c608484846117fd565b50600190509392505050565b600a5481565b60006012905090565b600081600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d0591906130e6565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051610e5e9190612d1b565b60405180910390a36001905092915050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f1a611b6b565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa19061318c565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b610ffc611b6b565b8160098190555080600a81905550600a5460095461101a91906130e6565b600b81905550600a600b541115611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906131f8565b60405180910390fd5b7f480af1f773972b1df72af32ec463e0fdeb1b49f1ca37d07982f677919d5fdd0c600954600a5460405161109b929190613218565b60405180910390a15050565b6000601a54905090565b601960009054906101000a900460ff1681565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611115611b6b565b61111f6000611be9565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461115a90613052565b80601f016020809104026020016040519081016040528092919081815260200182805461118690613052565b80156111d35780601f106111a8576101008083540402835291602001916111d3565b820191906000526020600020905b8154815290600101906020018083116111b657829003601f168201915b5050505050905090565b6111e5611b6b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c906132d9565b60405180910390fd5b61127f8282611caf565b5050565b600f5481565b600080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050808310611399576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611426565b82816113a591906130b2565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040516114ff9190612d1b565b60405180910390a3600191505092915050565b600061151f3384846117fd565b506001905092915050565b601c5481565b60156020528060005260406000206000915054906101000a900460ff1681565b611558611b6b565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516115f59190612cf1565b60405180910390a25050565b611609611b6b565b82600c8190555081600d8190555080600e81905550600e54600d54600c5461163191906130e6565b61163b91906130e6565b600f81905550600a600f541115611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e906131f8565b60405180910390fd5b505050565b60095481565b61169a611b6b565b82601960006101000a81548160ff02191690831515021790555081601a8190555080601c81905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600d5481565b61175c611b6b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c29061336b565b60405180910390fd5b6117d481611be9565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906133fd565b60405180910390fd5b601960019054906101000a900460ff16156118945761188d848484611de2565b9050611b64565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156118f357506000601d54145b80156118ff5750600082115b1561190c5742601d819055505b611914611f70565b1561192257611921612061565b5b81600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196d91906130b2565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a535750600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611a6757611a62858486612428565b611a69565b825b905080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ab691906130e6565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b569190612d1b565b60405180910390a360019150505b9392505050565b611b736126f5565b73ffffffffffffffffffffffffffffffffffffffff16611b91611121565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde90613469565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b801515601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151503611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d38906134fb565b60405180910390fd5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e2f91906130b2565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ebd91906130e6565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f5d9190612d1b565b60405180910390a3600190509392505050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611fdd5750601960019054906101000a900460ff16155b8015611ff55750601960009054906101000a900460ff165b80156120425750601a54600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b801561205c575042601c54601b5461205a91906130e6565b105b905090565b6001601960016101000a81548160ff0219169083151502179055506000612087306110c4565b90506000600f54600b5461209b91906130e6565b90506000600c546009546120af91906130e6565b90506000600a54600d546120c391906130e6565b90506000600e54905060008060008511156120fb578585886120e5919061351b565b6120ef91906135a4565b91506120fa826126fd565b5b600083111561214c57858388612111919061351b565b61211b91906135a4565b905061214a30601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611de2565b505b808261215891906130e6565b8761216391906130b2565b9650600084905060008811801561217a5750600081115b156123fc5760004790506000600267ffffffffffffffff8111156121a1576121a06135d5565b5b6040519080825280602002602001820160405280156121cf5781602001602082028036833780820191505090505b50905030816000815181106121e7576121e6613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ed154606040518163ffffffff1660e01b8152600401602060405180830381865afa15801561228e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b29190613648565b816001815181106122c6576122c5613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b43d9bbb8b60008430426040518663ffffffff1660e01b815260040161236495949392919061376e565b600060405180830381600087803b15801561237e57600080fd5b505af1158015612392573d6000803e3d6000fd5b50505050600082476123a491906130b2565b905060008811156123f85760008489836123be919061351b565b6123c891906135a4565b90506123f6601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612a57565b505b5050505b42601b8190555050505050505050506000601960016101000a81548160ff021916908315150217905550565b600080600a601d544261243b91906130b2565b10801561244b57506000601d5414155b80156124fc57508273ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806124fb57508473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b5b1561250a57604b90506125cf565b8273ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361256957600f5490506125ce565b8473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125c857600b5490506125cd565b600090505b5b5b6000606482866125df919061351b565b6125e991906135a4565b905080600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263691906130e6565b600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516126d69190612d1b565b60405180910390a380856126ea91906130b2565b925050509392505050565b600033905090565b600060028261270c91906135a4565b90506000818361271c91906130b2565b905060004790506000600267ffffffffffffffff8111156127405761273f6135d5565b5b60405190808252806020026020018201604052801561276e5781602001602082028036833780820191505090505b509050308160008151811061278657612785613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ed154606040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128519190613648565b8160018151811061286557612864613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b43d9bbb8560008430426040518663ffffffff1660e01b815260040161290395949392919061376e565b600060405180830381600087803b15801561291d57600080fd5b505af1158015612931573d6000803e3d6000fd5b505050506000824761294391906130b2565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6529ab4823087600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b81526004016129ce969594939291906137c8565b60606040518083038185885af11580156129ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a11919061383e565b5050507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561858286604051612a4793929190613891565b60405180910390a1505050505050565b80471015612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190613914565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ac090613965565b60006040518083038185875af1925050503d8060008114612afd576040519150601f19603f3d011682016040523d82523d6000602084013e612b02565b606091505b5050905080612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d906139ec565b60405180910390fd5b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b85578082015181840152602081019050612b6a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612bad82612b4b565b612bb78185612b56565b9350612bc7818560208601612b67565b612bd081612b91565b840191505092915050565b60006020820190508181036000830152612bf58184612ba2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c2d82612c02565b9050919050565b612c3d81612c22565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b6000819050919050565b612c7381612c60565b8114612c7e57600080fd5b50565b600081359050612c9081612c6a565b92915050565b60008060408385031215612cad57612cac612bfd565b5b6000612cbb85828601612c4b565b9250506020612ccc85828601612c81565b9150509250929050565b60008115159050919050565b612ceb81612cd6565b82525050565b6000602082019050612d066000830184612ce2565b92915050565b612d1581612c60565b82525050565b6000602082019050612d306000830184612d0c565b92915050565b6000819050919050565b6000612d5b612d56612d5184612c02565b612d36565b612c02565b9050919050565b6000612d6d82612d40565b9050919050565b6000612d7f82612d62565b9050919050565b612d8f81612d74565b82525050565b6000602082019050612daa6000830184612d86565b92915050565b600080600060608486031215612dc957612dc8612bfd565b5b6000612dd786828701612c4b565b9350506020612de886828701612c4b565b9250506040612df986828701612c81565b9150509250925092565b600060ff82169050919050565b612e1981612e03565b82525050565b6000602082019050612e346000830184612e10565b92915050565b612e4381612c22565b82525050565b6000602082019050612e5e6000830184612e3a565b92915050565b600060208284031215612e7a57612e79612bfd565b5b6000612e8884828501612c4b565b91505092915050565b60008060408385031215612ea857612ea7612bfd565b5b6000612eb685828601612c81565b9250506020612ec785828601612c81565b9150509250929050565b612eda81612cd6565b8114612ee557600080fd5b50565b600081359050612ef781612ed1565b92915050565b60008060408385031215612f1457612f13612bfd565b5b6000612f2285828601612c4b565b9250506020612f3385828601612ee8565b9150509250929050565b600080600060608486031215612f5657612f55612bfd565b5b6000612f6486828701612c81565b9350506020612f7586828701612c81565b9250506040612f8686828701612c81565b9150509250925092565b600080600060608486031215612fa957612fa8612bfd565b5b6000612fb786828701612ee8565b9350506020612fc886828701612c81565b9250506040612fd986828701612c81565b9150509250925092565b60008060408385031215612ffa57612ff9612bfd565b5b600061300885828601612c4b565b925050602061301985828601612c4b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061306a57607f821691505b60208210810361307d5761307c613023565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130bd82612c60565b91506130c883612c60565b92508282039050818111156130e0576130df613083565b5b92915050565b60006130f182612c60565b91506130fc83612c60565b925082820190508082111561311457613113613083565b5b92915050565b7f54726561737572792077616c6c657420697320616c726561647920746861742060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000613176602783612b56565b91506131818261311a565b604082019050919050565b600060208201905081810360008301526131a581613169565b9050919050565b7f46656573206d757374206265206c657373207468616e20313025000000000000600082015250565b60006131e2601a83612b56565b91506131ed826131ac565b602082019050919050565b60006020820190508181036000830152613211816131d5565b9050919050565b600060408201905061322d6000830185612d0c565b61323a6020830184612d0c565b9392505050565b7f5468652050616e63616b655377617020706169722063616e6e6f74206265207260008201527f656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657260208201527f5061697273000000000000000000000000000000000000000000000000000000604082015250565b60006132c3604583612b56565b91506132ce82613241565b606082019050919050565b600060208201905081810360008301526132f2816132b6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613355602683612b56565b9150613360826132f9565b604082019050919050565b6000602082019050818103600083015261338481613348565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006133e7602383612b56565b91506133f28261338b565b604082019050919050565b60006020820190508181036000830152613416816133da565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613453602083612b56565b915061345e8261341d565b602082019050919050565b6000602082019050818103600083015261348281613446565b9050919050565b7f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160008201527f6c72656164792073657420746f20746861742076616c75650000000000000000602082015250565b60006134e5603883612b56565b91506134f082613489565b604082019050919050565b60006020820190508181036000830152613514816134d8565b9050919050565b600061352682612c60565b915061353183612c60565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561356a57613569613083565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135af82612c60565b91506135ba83612c60565b9250826135ca576135c9613575565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061364281612c34565b92915050565b60006020828403121561365e5761365d612bfd565b5b600061366c84828501613633565b91505092915050565b6000819050919050565b600061369a61369561369084613675565b612d36565b612c60565b9050919050565b6136aa8161367f565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6136e581612c22565b82525050565b60006136f783836136dc565b60208301905092915050565b6000602082019050919050565b600061371b826136b0565b61372581856136bb565b9350613730836136cc565b8060005b8381101561376157815161374888826136eb565b975061375383613703565b925050600181019050613734565b5085935050505092915050565b600060a0820190506137836000830188612d0c565b61379060208301876136a1565b81810360408301526137a28186613710565b90506137b16060830185612e3a565b6137be6080830184612d0c565b9695505050505050565b600060c0820190506137dd6000830189612e3a565b6137ea6020830188612d0c565b6137f760408301876136a1565b61380460608301866136a1565b6138116080830185612e3a565b61381e60a0830184612d0c565b979650505050505050565b60008151905061383881612c6a565b92915050565b60008060006060848603121561385757613856612bfd565b5b600061386586828701613829565b935050602061387686828701613829565b925050604061388786828701613829565b9150509250925092565b60006060820190506138a66000830186612d0c565b6138b36020830185612d0c565b6138c06040830184612d0c565b949350505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006138fe601d83612b56565b9150613909826138c8565b602082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b600081905092915050565b50565b600061394f600083613934565b915061395a8261393f565b600082019050919050565b600061397082613942565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006139d6603a83612b56565b91506139e18261397a565b604082019050919050565b60006020820190508181036000830152613a05816139c9565b905091905056fea264697066735822122033a07b58515716894627c09c383bb221371437b6f88db7cc358ae398b354b86364736f6c63430008100033
Deployed ByteCode
0x60806040526004361061021e5760003560e01c80636ddd171311610123578063b1283c1c116100ab578063d08893581161006f578063d0889358146107fc578063dd62ed3e14610825578063ed0d213714610862578063f2fde38b1461088d578063fedcb861146108b657610225565b8063b1283c1c14610717578063b62496f514610742578063c02466681461077f578063c17b5b8c146107a8578063ccb61358146107d157610225565b806395d89b41116100f257806395d89b411461061e5780639a7a23d6146106495780639d9241ec14610672578063a457c2d71461069d578063a9059cbb146106da57610225565b80636ddd17131461057457806370a082311461059f578063715018a6146105dc5780638da5cb5b146105f357610225565b8063313ce567116101a65780634fbee193116101755780634fbee1931461048f578063537c1ac7146104cc57806359b107b9146104f557806366ca9b83146105205780636d351d1a1461054957610225565b8063313ce567146103d157806339509351146103fc5780634626402b1461043957806349bd5a5e1461046457610225565b80630dd87157116101ed5780630dd87157146102e85780631694505e1461031357806318160ddd1461033e57806323b872dd146103695780632c10508c146103a657610225565b806306fdde031461022a578063095ea7b314610255578063099d0d30146102925780630a944b70146102bd57610225565b3661022557005b600080fd5b34801561023657600080fd5b5061023f6108e1565b60405161024c9190612bdb565b60405180910390f35b34801561026157600080fd5b5061027c60048036038101906102779190612c96565b610973565b6040516102899190612cf1565b60405180910390f35b34801561029e57600080fd5b506102a7610a65565b6040516102b49190612d1b565b60405180910390f35b3480156102c957600080fd5b506102d2610a6b565b6040516102df9190612d1b565b60405180910390f35b3480156102f457600080fd5b506102fd610a71565b60405161030a9190612d1b565b60405180910390f35b34801561031f57600080fd5b50610328610a77565b6040516103359190612d95565b60405180910390f35b34801561034a57600080fd5b50610353610a9d565b6040516103609190612d1b565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b9190612db0565b610aa7565b60405161039d9190612cf1565b60405180910390f35b3480156103b257600080fd5b506103bb610c6c565b6040516103c89190612d1b565b60405180910390f35b3480156103dd57600080fd5b506103e6610c72565b6040516103f39190612e1f565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190612c96565b610c7b565b6040516104309190612cf1565b60405180910390f35b34801561044557600080fd5b5061044e610e70565b60405161045b9190612e49565b60405180910390f35b34801561047057600080fd5b50610479610e96565b6040516104869190612e49565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612e64565b610ebc565b6040516104c39190612cf1565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190612e64565b610f12565b005b34801561050157600080fd5b5061050a610fee565b6040516105179190612d1b565b60405180910390f35b34801561052c57600080fd5b5061054760048036038101906105429190612e91565b610ff4565b005b34801561055557600080fd5b5061055e6110a7565b60405161056b9190612d1b565b60405180910390f35b34801561058057600080fd5b506105896110b1565b6040516105969190612cf1565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c19190612e64565b6110c4565b6040516105d39190612d1b565b60405180910390f35b3480156105e857600080fd5b506105f161110d565b005b3480156105ff57600080fd5b50610608611121565b6040516106159190612e49565b60405180910390f35b34801561062a57600080fd5b5061063361114b565b6040516106409190612bdb565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190612efd565b6111dd565b005b34801561067e57600080fd5b50610687611283565b6040516106949190612d1b565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf9190612c96565b611289565b6040516106d19190612cf1565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc9190612c96565b611512565b60405161070e9190612cf1565b60405180910390f35b34801561072357600080fd5b5061072c61152a565b6040516107399190612d1b565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190612e64565b611530565b6040516107769190612cf1565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a19190612efd565b611550565b005b3480156107b457600080fd5b506107cf60048036038101906107ca9190612f3d565b611601565b005b3480156107dd57600080fd5b506107e661168c565b6040516107f39190612d1b565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e9190612f90565b611692565b005b34801561083157600080fd5b5061084c60048036038101906108479190612fe3565b6116c7565b6040516108599190612d1b565b60405180910390f35b34801561086e57600080fd5b5061087761174e565b6040516108849190612d1b565b60405180910390f35b34801561089957600080fd5b506108b460048036038101906108af9190612e64565b611754565b005b3480156108c257600080fd5b506108cb6117d7565b6040516108d89190612e49565b60405180910390f35b6060600380546108f090613052565b80601f016020809104026020016040519081016040528092919081815260200182805461091c90613052565b80156109695780601f1061093e57610100808354040283529160200191610969565b820191906000526020600020905b81548152906001019060200180831161094c57829003601f168201915b5050505050905090565b600081600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a539190612d1b565b60405180910390a36001905092915050565b600c5481565b600e5481565b601b5481565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601854905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610c555781600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bd491906130b2565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610c608484846117fd565b50600190509392505050565b600a5481565b60006012905090565b600081600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d0591906130e6565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051610e5e9190612d1b565b60405180910390a36001905092915050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f1a611b6b565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa19061318c565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b610ffc611b6b565b8160098190555080600a81905550600a5460095461101a91906130e6565b600b81905550600a600b541115611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906131f8565b60405180910390fd5b7f480af1f773972b1df72af32ec463e0fdeb1b49f1ca37d07982f677919d5fdd0c600954600a5460405161109b929190613218565b60405180910390a15050565b6000601a54905090565b601960009054906101000a900460ff1681565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611115611b6b565b61111f6000611be9565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461115a90613052565b80601f016020809104026020016040519081016040528092919081815260200182805461118690613052565b80156111d35780601f106111a8576101008083540402835291602001916111d3565b820191906000526020600020905b8154815290600101906020018083116111b657829003601f168201915b5050505050905090565b6111e5611b6b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c906132d9565b60405180910390fd5b61127f8282611caf565b5050565b600f5481565b600080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050808310611399576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611426565b82816113a591906130b2565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040516114ff9190612d1b565b60405180910390a3600191505092915050565b600061151f3384846117fd565b506001905092915050565b601c5481565b60156020528060005260406000206000915054906101000a900460ff1681565b611558611b6b565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516115f59190612cf1565b60405180910390a25050565b611609611b6b565b82600c8190555081600d8190555080600e81905550600e54600d54600c5461163191906130e6565b61163b91906130e6565b600f81905550600a600f541115611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e906131f8565b60405180910390fd5b505050565b60095481565b61169a611b6b565b82601960006101000a81548160ff02191690831515021790555081601a8190555080601c81905550505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600d5481565b61175c611b6b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c29061336b565b60405180910390fd5b6117d481611be9565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361186d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611864906133fd565b60405180910390fd5b601960019054906101000a900460ff16156118945761188d848484611de2565b9050611b64565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156118f357506000601d54145b80156118ff5750600082115b1561190c5742601d819055505b611914611f70565b1561192257611921612061565b5b81600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196d91906130b2565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a535750600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611a6757611a62858486612428565b611a69565b825b905080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ab691906130e6565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b569190612d1b565b60405180910390a360019150505b9392505050565b611b736126f5565b73ffffffffffffffffffffffffffffffffffffffff16611b91611121565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde90613469565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b801515601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151503611d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d38906134fb565b60405180910390fd5b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e2f91906130b2565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ebd91906130e6565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f5d9190612d1b565b60405180910390a3600190509392505050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611fdd5750601960019054906101000a900460ff16155b8015611ff55750601960009054906101000a900460ff165b80156120425750601a54600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b801561205c575042601c54601b5461205a91906130e6565b105b905090565b6001601960016101000a81548160ff0219169083151502179055506000612087306110c4565b90506000600f54600b5461209b91906130e6565b90506000600c546009546120af91906130e6565b90506000600a54600d546120c391906130e6565b90506000600e54905060008060008511156120fb578585886120e5919061351b565b6120ef91906135a4565b91506120fa826126fd565b5b600083111561214c57858388612111919061351b565b61211b91906135a4565b905061214a30601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611de2565b505b808261215891906130e6565b8761216391906130b2565b9650600084905060008811801561217a5750600081115b156123fc5760004790506000600267ffffffffffffffff8111156121a1576121a06135d5565b5b6040519080825280602002602001820160405280156121cf5781602001602082028036833780820191505090505b50905030816000815181106121e7576121e6613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ed154606040518163ffffffff1660e01b8152600401602060405180830381865afa15801561228e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b29190613648565b816001815181106122c6576122c5613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b43d9bbb8b60008430426040518663ffffffff1660e01b815260040161236495949392919061376e565b600060405180830381600087803b15801561237e57600080fd5b505af1158015612392573d6000803e3d6000fd5b50505050600082476123a491906130b2565b905060008811156123f85760008489836123be919061351b565b6123c891906135a4565b90506123f6601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612a57565b505b5050505b42601b8190555050505050505050506000601960016101000a81548160ff021916908315150217905550565b600080600a601d544261243b91906130b2565b10801561244b57506000601d5414155b80156124fc57508273ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806124fb57508473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b5b1561250a57604b90506125cf565b8273ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361256957600f5490506125ce565b8473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125c857600b5490506125cd565b600090505b5b5b6000606482866125df919061351b565b6125e991906135a4565b905080600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263691906130e6565b600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516126d69190612d1b565b60405180910390a380856126ea91906130b2565b925050509392505050565b600033905090565b600060028261270c91906135a4565b90506000818361271c91906130b2565b905060004790506000600267ffffffffffffffff8111156127405761273f6135d5565b5b60405190808252806020026020018201604052801561276e5781602001602082028036833780820191505090505b509050308160008151811061278657612785613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ed154606040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128519190613648565b8160018151811061286557612864613604565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b43d9bbb8560008430426040518663ffffffff1660e01b815260040161290395949392919061376e565b600060405180830381600087803b15801561291d57600080fd5b505af1158015612931573d6000803e3d6000fd5b505050506000824761294391906130b2565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6529ab4823087600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b81526004016129ce969594939291906137c8565b60606040518083038185885af11580156129ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a11919061383e565b5050507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561858286604051612a4793929190613891565b60405180910390a1505050505050565b80471015612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190613914565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ac090613965565b60006040518083038185875af1925050503d8060008114612afd576040519150601f19603f3d011682016040523d82523d6000602084013e612b02565b606091505b5050905080612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d906139ec565b60405180910390fd5b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b85578082015181840152602081019050612b6a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612bad82612b4b565b612bb78185612b56565b9350612bc7818560208601612b67565b612bd081612b91565b840191505092915050565b60006020820190508181036000830152612bf58184612ba2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c2d82612c02565b9050919050565b612c3d81612c22565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b6000819050919050565b612c7381612c60565b8114612c7e57600080fd5b50565b600081359050612c9081612c6a565b92915050565b60008060408385031215612cad57612cac612bfd565b5b6000612cbb85828601612c4b565b9250506020612ccc85828601612c81565b9150509250929050565b60008115159050919050565b612ceb81612cd6565b82525050565b6000602082019050612d066000830184612ce2565b92915050565b612d1581612c60565b82525050565b6000602082019050612d306000830184612d0c565b92915050565b6000819050919050565b6000612d5b612d56612d5184612c02565b612d36565b612c02565b9050919050565b6000612d6d82612d40565b9050919050565b6000612d7f82612d62565b9050919050565b612d8f81612d74565b82525050565b6000602082019050612daa6000830184612d86565b92915050565b600080600060608486031215612dc957612dc8612bfd565b5b6000612dd786828701612c4b565b9350506020612de886828701612c4b565b9250506040612df986828701612c81565b9150509250925092565b600060ff82169050919050565b612e1981612e03565b82525050565b6000602082019050612e346000830184612e10565b92915050565b612e4381612c22565b82525050565b6000602082019050612e5e6000830184612e3a565b92915050565b600060208284031215612e7a57612e79612bfd565b5b6000612e8884828501612c4b565b91505092915050565b60008060408385031215612ea857612ea7612bfd565b5b6000612eb685828601612c81565b9250506020612ec785828601612c81565b9150509250929050565b612eda81612cd6565b8114612ee557600080fd5b50565b600081359050612ef781612ed1565b92915050565b60008060408385031215612f1457612f13612bfd565b5b6000612f2285828601612c4b565b9250506020612f3385828601612ee8565b9150509250929050565b600080600060608486031215612f5657612f55612bfd565b5b6000612f6486828701612c81565b9350506020612f7586828701612c81565b9250506040612f8686828701612c81565b9150509250925092565b600080600060608486031215612fa957612fa8612bfd565b5b6000612fb786828701612ee8565b9350506020612fc886828701612c81565b9250506040612fd986828701612c81565b9150509250925092565b60008060408385031215612ffa57612ff9612bfd565b5b600061300885828601612c4b565b925050602061301985828601612c4b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061306a57607f821691505b60208210810361307d5761307c613023565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130bd82612c60565b91506130c883612c60565b92508282039050818111156130e0576130df613083565b5b92915050565b60006130f182612c60565b91506130fc83612c60565b925082820190508082111561311457613113613083565b5b92915050565b7f54726561737572792077616c6c657420697320616c726561647920746861742060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000613176602783612b56565b91506131818261311a565b604082019050919050565b600060208201905081810360008301526131a581613169565b9050919050565b7f46656573206d757374206265206c657373207468616e20313025000000000000600082015250565b60006131e2601a83612b56565b91506131ed826131ac565b602082019050919050565b60006020820190508181036000830152613211816131d5565b9050919050565b600060408201905061322d6000830185612d0c565b61323a6020830184612d0c565b9392505050565b7f5468652050616e63616b655377617020706169722063616e6e6f74206265207260008201527f656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b657260208201527f5061697273000000000000000000000000000000000000000000000000000000604082015250565b60006132c3604583612b56565b91506132ce82613241565b606082019050919050565b600060208201905081810360008301526132f2816132b6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613355602683612b56565b9150613360826132f9565b604082019050919050565b6000602082019050818103600083015261338481613348565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006133e7602383612b56565b91506133f28261338b565b604082019050919050565b60006020820190508181036000830152613416816133da565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613453602083612b56565b915061345e8261341d565b602082019050919050565b6000602082019050818103600083015261348281613446565b9050919050565b7f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160008201527f6c72656164792073657420746f20746861742076616c75650000000000000000602082015250565b60006134e5603883612b56565b91506134f082613489565b604082019050919050565b60006020820190508181036000830152613514816134d8565b9050919050565b600061352682612c60565b915061353183612c60565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561356a57613569613083565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135af82612c60565b91506135ba83612c60565b9250826135ca576135c9613575565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061364281612c34565b92915050565b60006020828403121561365e5761365d612bfd565b5b600061366c84828501613633565b91505092915050565b6000819050919050565b600061369a61369561369084613675565b612d36565b612c60565b9050919050565b6136aa8161367f565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6136e581612c22565b82525050565b60006136f783836136dc565b60208301905092915050565b6000602082019050919050565b600061371b826136b0565b61372581856136bb565b9350613730836136cc565b8060005b8381101561376157815161374888826136eb565b975061375383613703565b925050600181019050613734565b5085935050505092915050565b600060a0820190506137836000830188612d0c565b61379060208301876136a1565b81810360408301526137a28186613710565b90506137b16060830185612e3a565b6137be6080830184612d0c565b9695505050505050565b600060c0820190506137dd6000830189612e3a565b6137ea6020830188612d0c565b6137f760408301876136a1565b61380460608301866136a1565b6138116080830185612e3a565b61381e60a0830184612d0c565b979650505050505050565b60008151905061383881612c6a565b92915050565b60008060006060848603121561385757613856612bfd565b5b600061386586828701613829565b935050602061387686828701613829565b925050604061388786828701613829565b9150509250925092565b60006060820190506138a66000830186612d0c565b6138b36020830185612d0c565b6138c06040830184612d0c565b949350505050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006138fe601d83612b56565b9150613909826138c8565b602082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b600081905092915050565b50565b600061394f600083613934565b915061395a8261393f565b600082019050919050565b600061397082613942565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006139d6603a83612b56565b91506139e18261397a565b604082019050919050565b60006020820190508181036000830152613a05816139c9565b905091905056fea264697066735822122033a07b58515716894627c09c383bb221371437b6f88db7cc358ae398b354b86364736f6c63430008100033