Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- TShare
- Optimization enabled
- false
- Compiler version
- v0.6.12+commit.27d51765
- EVM Version
- default
- Verified at
- 2023-03-12T19:27:27.095562Z
Constructor Arguments
00000000000000000000000000000000000000000000000000000000631b7110000000000000000000000000333ff1e9909b1bec3e05d99979975eb176341d32000000000000000000000000333ff1e9909b1bec3e05d99979975eb176341d32
Arg [0] (uint256) : 1662742800
Arg [1] (address) : 0x333ff1e9909b1bec3e05d99979975eb176341d32
Arg [2] (address) : 0x333ff1e9909b1bec3e05d99979975eb176341d32
Contract source code
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; // Part: ITaxOffice interface ITaxOffice { function setMainTokenOracle(address _mainTokenOracle) external; function setMainTokenTaxTiers( uint256[] calldata _mainTokenTaxTwapTiers, uint256[] calldata _mainTokenTaxRateTiers ) external; function setShareTokenTaxTiers( uint256[] calldata _shareTokenTaxTwapTiers, uint256[] calldata _shareTokenTaxRateTiers ) external; function calculateMainTokenTax() external view returns(uint256 taxRate); function calculateShareTokenTax() external view returns(uint256 taxRate); function handleMainTokenTax(uint256 _amount) external; function handleShareTokenTax(uint256 _amount) external; function taxDiscount(address _sender, address _recipient) external returns(uint256); } // Part: openzeppelin/openzeppelin-contracts@3.2.0/Address /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Part: openzeppelin/openzeppelin-contracts@3.2.0/Context /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Part: openzeppelin/openzeppelin-contracts@3.2.0/IERC20 /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // Part: openzeppelin/openzeppelin-contracts@3.2.0/SafeMath /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // Part: openzeppelin/openzeppelin-contracts@3.2.0/ERC20 /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // Part: openzeppelin/openzeppelin-contracts@3.2.0/Ownable /** * @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. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Part: Operator contract Operator is Context, Ownable { address private _operator; event OperatorTransferred(address indexed previousOperator, address indexed newOperator); constructor() internal { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require(_operator == msg.sender, "operator: caller is not the operator"); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require(newOperator_ != address(0), "operator: zero address given for new operator"); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } } // Part: openzeppelin/openzeppelin-contracts@3.2.0/ERC20Burnable /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } // Part: ERC20Taxable contract ERC20Taxable is ERC20Burnable, Operator { using SafeMath for uint256; enum WhitelistType{ NONE, SENDER, RECIPIENT, BOTH } mapping(address => WhitelistType) public whitelistType; bool public enableDynamicTax; uint256 public constant BASIS_POINTS_DENOM = 10_000; uint256 public constant MAX_TAX_RATE = 3_500; uint256 public staticTaxRate; uint256 public dynamicTaxRate; address public taxOffice; constructor( string memory _name, string memory _symbol ) ERC20(_name, _symbol) public {} modifier onlyTaxOffice() { require(taxOffice == msg.sender, "Error: Caller is not the tax office"); _; } function setTaxOffice(address _taxOffice) external onlyOperator { taxOffice = _taxOffice; } function setStaticTaxRate(uint256 _taxRate) external onlyTaxOffice { require( _taxRate <= MAX_TAX_RATE, "Error: Max tax rate exceeded."); staticTaxRate = _taxRate; } function setEnableDynamicTax(bool _enableDynamicTax) external onlyTaxOffice { enableDynamicTax = _enableDynamicTax; } function setWhitelistType(address _account, uint8 _type) external onlyTaxOffice { whitelistType[_account] = WhitelistType(_type); } function isWhitelistedSender(address _account) public view returns(bool isWhitelisted) { isWhitelisted = whitelistType[_account] == WhitelistType.SENDER || whitelistType[_account] == WhitelistType.BOTH; } function isWhitelistedRecipient(address _account) public view returns(bool isWhitelisted) { isWhitelisted = whitelistType[_account] == WhitelistType.RECIPIENT || whitelistType[_account] == WhitelistType.BOTH; } function getCurrentTaxRate() public returns(uint256 taxRate) { taxRate = staticTaxRate; if (enableDynamicTax==true) { _updateDynamicTaxRate(); if (dynamicTaxRate > MAX_TAX_RATE ) { dynamicTaxRate = MAX_TAX_RATE; } taxRate = dynamicTaxRate; } } function transferFrom( address _sender, address _recipient, uint256 _amount ) public override returns (bool successFlag) { //If neither the sender or recipient are whitelisted then apply tax. if (!isWhitelistedSender(_sender) && !isWhitelistedRecipient(_recipient)){ //Calculate tax amount and then handle tax. uint256 taxRate = getCurrentTaxRate(); uint256 taxDiscount = BASIS_POINTS_DENOM.sub( ITaxOffice(taxOffice).taxDiscount(_sender, _recipient) ); taxRate = taxRate.mul(taxDiscount).div(BASIS_POINTS_DENOM); uint256 taxableAmount = _amount.mul(taxRate).div(BASIS_POINTS_DENOM); _amount = _amount.sub(taxableAmount); _handleTax(_sender, taxableAmount); } //Use inherited function to transferFrom. successFlag = ERC20.transferFrom(_sender, _recipient, _amount); } //Overrideable functions for the inheriting contract to dictate tax rates. function _updateDynamicTaxRate() internal virtual {} function _handleTax( address _sender, uint256 _amount ) internal virtual {} function governanceRecoverUnsupported( IERC20 _token, uint256 _amount, address _to ) external onlyOperator { _token.transfer(_to, _amount); } } // File: TShare.sol contract TShare is ERC20Taxable { using SafeMath for uint256; // TOTAL MAX SUPPLY = 37,000 TSHARE uint256 public constant FARMING_POOL_REWARD_ALLOCATION = 29_999 ether; uint256 public constant COMMUNITY_FUND_POOL_ALLOCATION = 3_500 ether; uint256 public constant DEV_FUND_POOL_ALLOCATION = 3_500 ether; uint256 public constant VESTING_DURATION = 160 days; uint256 public startTime; uint256 public endTime; uint256 public communityFundRewardRate; uint256 public devFundRewardRate; address public communityFund; address public devFund; uint256 public communityFundLastClaimed; uint256 public devFundLastClaimed; bool public rewardPoolDistributed = false; constructor( uint256 _startTime, address _communityFund, address _devFund ) public ERC20Taxable("TShare", "TSHARE") { _mint(msg.sender, 1 ether); // mint 1 TShare Share for initial pools deployment startTime = _startTime; endTime = startTime.add(VESTING_DURATION); communityFundLastClaimed = startTime; devFundLastClaimed = startTime; communityFundRewardRate = COMMUNITY_FUND_POOL_ALLOCATION.div(VESTING_DURATION); devFundRewardRate = DEV_FUND_POOL_ALLOCATION.div(VESTING_DURATION); require(_devFund != address(0), "Address cannot be 0"); devFund = _devFund; require(_communityFund != address(0), "Address cannot be 0"); communityFund = _communityFund; } function setCommunityFund(address _communityFund) external { require(msg.sender == devFund, "Error: TShare - you are not the dev"); communityFund = _communityFund; } function setDevFund(address _devFund) external { require(msg.sender == devFund, "Error: TShare - you are not the dev"); require(_devFund != address(0), "zero"); devFund = _devFund; } function unclaimedTreasuryFund() public view returns (uint256 _pending) { uint256 _now = block.timestamp; if (_now > endTime) { _now = endTime; } if (communityFundLastClaimed >= _now) { return 0; } _pending = _now.sub(communityFundLastClaimed).mul(communityFundRewardRate); } function unclaimedDevFund() public view returns (uint256 _pending) { uint256 _now = block.timestamp; if (_now > endTime) _now = endTime; if (devFundLastClaimed >= _now) return 0; _pending = _now.sub(devFundLastClaimed).mul(devFundRewardRate); } /** * @dev Claim pending rewards to community and dev fund */ function claimRewards() external { uint256 _pending = unclaimedTreasuryFund(); if (_pending > 0 && communityFund != address(0)) { _mint(communityFund, _pending); communityFundLastClaimed = block.timestamp; } _pending = unclaimedDevFund(); if (_pending > 0 && devFund != address(0)) { _mint(devFund, _pending); devFundLastClaimed = block.timestamp; } } /** * @notice distribute to reward pool (only once) */ function distributeReward(address _farmingIncentiveFund) external onlyOperator { require(!rewardPoolDistributed, "only can distribute once"); require(_farmingIncentiveFund != address(0), "!_farmingIncentiveFund"); rewardPoolDistributed = true; _mint(_farmingIncentiveFund, FARMING_POOL_REWARD_ALLOCATION); } //*================ TAX FUNCTIONS ================*// function _updateDynamicTaxRate() internal override { dynamicTaxRate = ITaxOffice(taxOffice).calculateShareTokenTax(); } function _handleTax( address _sender, uint256 _amount ) internal override { _approve(_sender, taxOffice, _amount); ERC20.transferFrom(_sender, taxOffice, _amount); ITaxOffice(taxOffice).handleShareTokenTax(_amount); } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"uint256","name":"_startTime","internalType":"uint256"},{"type":"address","name":"_communityFund","internalType":"address"},{"type":"address","name":"_devFund","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OperatorTransferred","inputs":[{"type":"address","name":"previousOperator","internalType":"address","indexed":true},{"type":"address","name":"newOperator","internalType":"address","indexed":true}],"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":"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":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"BASIS_POINTS_DENOM","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"COMMUNITY_FUND_POOL_ALLOCATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"DEV_FUND_POOL_ALLOCATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"FARMING_POOL_REWARD_ALLOCATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_TAX_RATE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"VESTING_DURATION","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnFrom","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"claimRewards","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"communityFund","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"communityFundLastClaimed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"communityFundRewardRate","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":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"devFund","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"devFundLastClaimed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"devFundRewardRate","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"distributeReward","inputs":[{"type":"address","name":"_farmingIncentiveFund","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"dynamicTaxRate","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"enableDynamicTax","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"endTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"taxRate","internalType":"uint256"}],"name":"getCurrentTaxRate","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"governanceRecoverUnsupported","inputs":[{"type":"address","name":"_token","internalType":"contract IERC20"},{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"address","name":"_to","internalType":"address"}]},{"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":"isOperator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"isWhitelisted","internalType":"bool"}],"name":"isWhitelistedRecipient","inputs":[{"type":"address","name":"_account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"isWhitelisted","internalType":"bool"}],"name":"isWhitelistedSender","inputs":[{"type":"address","name":"_account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"operator","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":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"rewardPoolDistributed","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setCommunityFund","inputs":[{"type":"address","name":"_communityFund","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevFund","inputs":[{"type":"address","name":"_devFund","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setEnableDynamicTax","inputs":[{"type":"bool","name":"_enableDynamicTax","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setStaticTaxRate","inputs":[{"type":"uint256","name":"_taxRate","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxOffice","inputs":[{"type":"address","name":"_taxOffice","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWhitelistType","inputs":[{"type":"address","name":"_account","internalType":"address"},{"type":"uint8","name":"_type","internalType":"uint8"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"startTime","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"staticTaxRate","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"taxOffice","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"successFlag","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"_sender","internalType":"address"},{"type":"address","name":"_recipient","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOperator","inputs":[{"type":"address","name":"newOperator_","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_pending","internalType":"uint256"}],"name":"unclaimedDevFund","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_pending","internalType":"uint256"}],"name":"unclaimedTreasuryFund","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"enum ERC20Taxable.WhitelistType"}],"name":"whitelistType","inputs":[{"type":"address","name":"","internalType":"address"}]}]
Contract Creation Code
0x60806040526000601460006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200443238038062004432833981810160405260608110156200005257600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050506040518060400160405280600681526020017f54536861726500000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f545348415245000000000000000000000000000000000000000000000000000081525081818160039080519060200190620000fd929190620008c9565b50806004908051906020019062000116929190620008c9565b506012600560006101000a81548160ff021916908360ff16021790555050506000620001476200053860201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001f66200053860201b60201c565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a35050620002cf33670de0b6b3a76400006200054060201b60201c565b82600c81905550620002f562d2f000600c546200071e60201b6200292a1790919060201c565b600d81905550600c54601281905550600c546013819055506200033362d2f00068bdbc41e0348b300000620007a760201b620029b21790919060201c565b600e819055506200035f62d2f00068bdbc41e0348b300000620007a760201b620029b21790919060201c565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416464726573732063616e6e6f7420626520300000000000000000000000000081525060200191505060405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f416464726573732063616e6e6f7420626520300000000000000000000000000081525060200191505060405180910390fd5b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200096f565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b620005f860008383620007f960201b60201c565b62000614816002546200071e60201b6200292a1790919060201c565b60028190555062000672816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200071e60201b6200292a1790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000808284019050838110156200079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000620007f183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620007fe60201b60201c565b905092915050565b505050565b60008083118290620008ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200087257808201518184015260208101905062000855565b50505050905090810190601f168015620008a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620008bb57fe5b049050809150509392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200090c57805160ff19168380011785556200093d565b828001600101855582156200093d579182015b828111156200093c5782518255916020019190600101906200091f565b5b5090506200094c919062000950565b5090565b5b808211156200096b57600081600090555060010162000951565b5090565b613ab3806200097f6000396000f3fe608060405234801561001057600080fd5b50600436106103265760003560e01c806348384640116101b85780638da5cb5b11610104578063abb4b1be116100a2578063e1ea1fa31161007c578063e1ea1fa314610e1d578063f1b15c9414610e4b578063f2fde38b14610e6b578063fe46be4414610eaf57610326565b8063abb4b1be14610d43578063ae4db91914610d61578063dd62ed3e14610da557610326565b80639662676c116100de5780639662676c14610c3d578063a06160fd14610c5d578063a457c2d714610c7b578063a9059cbb14610cdf57610326565b80638da5cb5b14610b685780638fa8173214610b9c57806395d89b4114610bba57610326565b806361482bed1161017157806370a082311161014b57806370a0823114610a9a578063715018a614610af257806378e9792514610afc57806379cc679014610b1a57610326565b806361482bed14610a4057806364f53f2e14610a5e578063678014b014610a7c57610326565b806348384640146108ea5780634cfc4d30146109445780634f337dd5146109625780635024ec1f1461098057806354575af41461099e578063570ca73514610a0c57610326565b8063313ce567116102775780633bba8eed1161023057806342966c681161020a57806342966c681461084a5780634390d2a8146108785780634456eda2146108ac57806344cdc454146108cc57610326565b80633bba8eed146107b45780633e5f13d4146107d25780633f07d76a1461080657610326565b8063313ce567146106935780633197cbb6146106b4578063372500ab146106d257806337339a16146106dc57806338d2776e14610720578063395093511461075057610326565b806318160ddd116102e457806323b872dd116102be57806323b872dd1461058f57806329605e77146106135780632c07a624146106575780632e3367ce1461067557610326565b806318160ddd146104c65780631b9e2fad146104e4578063232798df1461053e57610326565b8062f380f41461032b578063040173151461035f57806306fdde031461037d578063092193ab14610400578063095ea7b31461044457806317764782146104a8575b600080fd5b610333610f12565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610367610f38565b6040518082815260200191505060405180910390f35b610385610f3e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c55780820151818401526020810190506103aa565b50505050905090810190601f1680156103f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104426004803603602081101561041657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe0565b005b6104906004803603604081101561045a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111de565b60405180821515815260200191505060405180910390f35b6104b06111fc565b6040518082815260200191505060405180910390f35b6104ce611255565b6040518082815260200191505060405180910390f35b610526600480360360208110156104fa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061125f565b60405180821515815260200191505060405180910390f35b61058d6004803603604081101561055457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff16906020019092919050505061133a565b005b6105fb600480360360608110156105a557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611452565b60405180821515815260200191505060405180910390f35b6106556004803603602081101561062957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611608565b005b61065f6116de565b6040518082815260200191505060405180910390f35b61067d611737565b6040518082815260200191505060405180910390f35b61069b61173d565b604051808260ff16815260200191505060405180910390f35b6106bc611754565b6040518082815260200191505060405180910390f35b6106da61175a565b005b61071e600480360360208110156106f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118a3565b005b61074e6004803603602081101561073657600080fd5b8101908080351515906020019092919050505061198d565b005b61079c6004803603604081101561076657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a50565b60405180821515815260200191505060405180910390f35b6107bc611b03565b6040518082815260200191505060405180910390f35b6107da611b10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108486004803603602081101561081c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b36565b005b6108766004803603602081101561086057600080fd5b8101908080359060200190929190505050611c20565b005b610880611c34565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108b4611c5a565b60405180821515815260200191505060405180910390f35b6108d4611cb9565b6040518082815260200191505060405180910390f35b61092c6004803603602081101561090057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cbf565b60405180821515815260200191505060405180910390f35b61094c611d9a565b6040518082815260200191505060405180910390f35b61096a611da1565b6040518082815260200191505060405180910390f35b610988611dae565b6040518082815260200191505060405180910390f35b610a0a600480360360608110156109b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611db4565b005b610a14611f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a48611f36565b6040518082815260200191505060405180910390f35b610a66611f3c565b6040518082815260200191505060405180910390f35b610a84611f86565b6040518082815260200191505060405180910390f35b610adc60048036036020811015610ab057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f8c565b6040518082815260200191505060405180910390f35b610afa611fd4565b005b610b0461215f565b6040518082815260200191505060405180910390f35b610b6660048036036040811015610b3057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612165565b005b610b706121c7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ba46121f1565b6040518082815260200191505060405180910390f35b610bc26121f7565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c02578082015181840152602081019050610be7565b50505050905090810190601f168015610c2f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c45612299565b60405180821515815260200191505060405180910390f35b610c656122ac565b6040518082815260200191505060405180910390f35b610cc760048036036040811015610c9157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506122ba565b60405180821515815260200191505060405180910390f35b610d2b60048036036040811015610cf557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612387565b60405180821515815260200191505060405180910390f35b610d4b6123a5565b6040518082815260200191505060405180910390f35b610da360048036036020811015610d7757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123ab565b005b610e0760048036036040811015610dbb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612538565b6040518082815260200191505060405180910390f35b610e4960048036036020811015610e3357600080fd5b81019080803590602001909291905050506125bf565b005b610e536126e7565b60405180821515815260200191505060405180910390f35b610ead60048036036020811015610e8157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126fa565b005b610ef160048036036020811015610ec557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061290a565b60405180826003811115610f0157fe5b815260200191505060405180910390f35b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611086576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b601460009054906101000a900460ff1615611109576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6f6e6c792063616e2064697374726962757465206f6e6365000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f215f6661726d696e67496e63656e7469766546756e640000000000000000000081525060200191505060405180910390fd5b6001601460006101000a81548160ff0219169083151502179055506111db8169065a3fc1a67c6f5c00006129fc565b50565b60006111f26111eb612bc3565b8484612bcb565b6001905092915050565b600080429050600d5481111561121257600d5490505b8060125410611225576000915050611252565b61124e600e5461124060125484612dc290919063ffffffff16565b612e0c90919063ffffffff16565b9150505b90565b6000600254905090565b60006001600381111561126e57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660038111156112c657fe5b148061133357506003808111156112d957fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16600381111561133157fe5b145b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b8060ff1660038111156113ef57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600381111561144957fe5b02179055505050565b600061145d8461125f565b158015611470575061146e83611cbf565b155b156115f457600061147f611f3c565b9050600061157b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635803abaa88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561152f57600080fd5b505af1158015611543573d6000803e3d6000fd5b505050506040513d602081101561155957600080fd5b8101908080519060200190929190505050612710612dc290919063ffffffff16565b90506115a46127106115968385612e0c90919063ffffffff16565b6129b290919063ffffffff16565b915060006115cf6127106115c18588612e0c90919063ffffffff16565b6129b290919063ffffffff16565b90506115e48186612dc290919063ffffffff16565b94506115f08782612e92565b5050505b6115ff848484612f7e565b90509392505050565b611610612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116db81613057565b50565b600080429050600d548111156116f457600d5490505b8060135410611707576000915050611734565b611730600f5461172260135484612dc290919063ffffffff16565b612e0c90919063ffffffff16565b9150505b90565b600f5481565b6000600560009054906101000a900460ff16905090565b600d5481565b60006117646111fc565b90506000811180156117c55750600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156117fe576117f6601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826129fc565b426012819055505b6118066116de565b90506000811180156118675750600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156118a057611898601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826129fc565b426013819055505b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613a5b6023913960400191505060405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b6000611af9611a5d612bc3565b84611af48560016000611a6e612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b612bcb565b6001905092915050565b68bdbc41e0348b30000081565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c31611c2b612bc3565b8261317c565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c9d612bc3565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600e5481565b600060026003811115611cce57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166003811115611d2657fe5b1480611d935750600380811115611d3957fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166003811115611d9157fe5b145b9050919050565b62d2f00081565b68bdbc41e0348b30000081565b60095481565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e5a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611ecb57600080fd5b505af1158015611edf573d6000803e3d6000fd5b505050506040513d6020811015611ef557600080fd5b810190808051906020019092919050505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b6000600954905060011515600860009054906101000a900460ff1615151415611f8357611f67613340565b610dac600a541115611f7d57610dac600a819055505b600a5490505b90565b61271081565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fdc612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461209e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c5481565b60006121a4826040518060600160405280602481526020016139846024913961219586612190612bc3565b612538565b6133eb9092919063ffffffff16565b90506121b8836121b2612bc3565b83612bcb565b6121c2838361317c565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dac81565b606060048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561228f5780601f106122645761010080835404028352916020019161228f565b820191906000526020600020905b81548152906001019060200180831161227257829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b69065a3fc1a67c6f5c000081565b600061237d6122c7612bc3565b8461237885604051806060016040528060258152602001613a3660259139600160006122f1612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b612bcb565b6001905092915050565b600061239b612394612bc3565b84846134ab565b6001905092915050565b60125481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613a5b6023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f7a65726f0000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612665576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b610dac8111156126dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4572726f723a204d61782074617820726174652065786365656465642e00000081525060200191505060405180910390fd5b8060098190555050565b600860009054906101000a900460ff1681565b612702612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561284a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061387d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000808284019050838110156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006129f483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061376c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612aab60008383613832565b612ac08160025461292a90919063ffffffff16565b600281905550612b17816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613a126024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cd7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806138a36022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000612e0483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133eb565b905092915050565b600080831415612e1f5760009050612e8c565b6000828402905082848281612e3057fe5b0414612e87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061393b6021913960400191505060405180910390fd5b809150505b92915050565b612ebf82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bcb565b612eec82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612f7e565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ebaf4156826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015612f6257600080fd5b505af1158015612f76573d6000803e3d6000fd5b505050505050565b6000612f8b8484846134ab565b61304c84612f97612bc3565b6130478560405180606001604052806028815260200161395c60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000612ffd612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b612bcb565b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156130dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061390e602d913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139cc6021913960400191505060405180910390fd5b61320e82600083613832565b6132798160405180606001604052806022815260200161385b602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506132d081600254612dc290919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d27428136040518163ffffffff1660e01b815260040160206040518083038186803b1580156133a857600080fd5b505afa1580156133bc573d6000803e3d6000fd5b505050506040513d60208110156133d257600080fd5b8101908080519060200190929190505050600a81905550565b6000838311158290613498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561345d578082015181840152602081019050613442565b50505050905090810190601f16801561348a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613531576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139ed6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138386023913960400191505060405180910390fd5b6135c2838383613832565b61362d816040518060600160405280602681526020016138c5602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136c0816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008083118290613818576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137dd5780820151818401526020810190506137c2565b50505050905090810190601f16801561380a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161382457fe5b049050809150509392505050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654572726f723a2043616c6c6572206973206e6f742074686520746178206f66666963656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4572726f723a20545368617265202d20796f7520617265206e6f742074686520646576a26469706673582212202c3f029fd4bd5cc464b77f714fce1a7d72442cc549f41525dbb1618e9085b7fa64736f6c634300060c003300000000000000000000000000000000000000000000000000000000631b7110000000000000000000000000333ff1e9909b1bec3e05d99979975eb176341d32000000000000000000000000333ff1e9909b1bec3e05d99979975eb176341d32
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106103265760003560e01c806348384640116101b85780638da5cb5b11610104578063abb4b1be116100a2578063e1ea1fa31161007c578063e1ea1fa314610e1d578063f1b15c9414610e4b578063f2fde38b14610e6b578063fe46be4414610eaf57610326565b8063abb4b1be14610d43578063ae4db91914610d61578063dd62ed3e14610da557610326565b80639662676c116100de5780639662676c14610c3d578063a06160fd14610c5d578063a457c2d714610c7b578063a9059cbb14610cdf57610326565b80638da5cb5b14610b685780638fa8173214610b9c57806395d89b4114610bba57610326565b806361482bed1161017157806370a082311161014b57806370a0823114610a9a578063715018a614610af257806378e9792514610afc57806379cc679014610b1a57610326565b806361482bed14610a4057806364f53f2e14610a5e578063678014b014610a7c57610326565b806348384640146108ea5780634cfc4d30146109445780634f337dd5146109625780635024ec1f1461098057806354575af41461099e578063570ca73514610a0c57610326565b8063313ce567116102775780633bba8eed1161023057806342966c681161020a57806342966c681461084a5780634390d2a8146108785780634456eda2146108ac57806344cdc454146108cc57610326565b80633bba8eed146107b45780633e5f13d4146107d25780633f07d76a1461080657610326565b8063313ce567146106935780633197cbb6146106b4578063372500ab146106d257806337339a16146106dc57806338d2776e14610720578063395093511461075057610326565b806318160ddd116102e457806323b872dd116102be57806323b872dd1461058f57806329605e77146106135780632c07a624146106575780632e3367ce1461067557610326565b806318160ddd146104c65780631b9e2fad146104e4578063232798df1461053e57610326565b8062f380f41461032b578063040173151461035f57806306fdde031461037d578063092193ab14610400578063095ea7b31461044457806317764782146104a8575b600080fd5b610333610f12565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610367610f38565b6040518082815260200191505060405180910390f35b610385610f3e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c55780820151818401526020810190506103aa565b50505050905090810190601f1680156103f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104426004803603602081101561041657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fe0565b005b6104906004803603604081101561045a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111de565b60405180821515815260200191505060405180910390f35b6104b06111fc565b6040518082815260200191505060405180910390f35b6104ce611255565b6040518082815260200191505060405180910390f35b610526600480360360208110156104fa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061125f565b60405180821515815260200191505060405180910390f35b61058d6004803603604081101561055457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff16906020019092919050505061133a565b005b6105fb600480360360608110156105a557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611452565b60405180821515815260200191505060405180910390f35b6106556004803603602081101561062957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611608565b005b61065f6116de565b6040518082815260200191505060405180910390f35b61067d611737565b6040518082815260200191505060405180910390f35b61069b61173d565b604051808260ff16815260200191505060405180910390f35b6106bc611754565b6040518082815260200191505060405180910390f35b6106da61175a565b005b61071e600480360360208110156106f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118a3565b005b61074e6004803603602081101561073657600080fd5b8101908080351515906020019092919050505061198d565b005b61079c6004803603604081101561076657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a50565b60405180821515815260200191505060405180910390f35b6107bc611b03565b6040518082815260200191505060405180910390f35b6107da611b10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108486004803603602081101561081c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b36565b005b6108766004803603602081101561086057600080fd5b8101908080359060200190929190505050611c20565b005b610880611c34565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108b4611c5a565b60405180821515815260200191505060405180910390f35b6108d4611cb9565b6040518082815260200191505060405180910390f35b61092c6004803603602081101561090057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cbf565b60405180821515815260200191505060405180910390f35b61094c611d9a565b6040518082815260200191505060405180910390f35b61096a611da1565b6040518082815260200191505060405180910390f35b610988611dae565b6040518082815260200191505060405180910390f35b610a0a600480360360608110156109b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611db4565b005b610a14611f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a48611f36565b6040518082815260200191505060405180910390f35b610a66611f3c565b6040518082815260200191505060405180910390f35b610a84611f86565b6040518082815260200191505060405180910390f35b610adc60048036036020811015610ab057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f8c565b6040518082815260200191505060405180910390f35b610afa611fd4565b005b610b0461215f565b6040518082815260200191505060405180910390f35b610b6660048036036040811015610b3057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612165565b005b610b706121c7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ba46121f1565b6040518082815260200191505060405180910390f35b610bc26121f7565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c02578082015181840152602081019050610be7565b50505050905090810190601f168015610c2f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c45612299565b60405180821515815260200191505060405180910390f35b610c656122ac565b6040518082815260200191505060405180910390f35b610cc760048036036040811015610c9157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506122ba565b60405180821515815260200191505060405180910390f35b610d2b60048036036040811015610cf557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612387565b60405180821515815260200191505060405180910390f35b610d4b6123a5565b6040518082815260200191505060405180910390f35b610da360048036036020811015610d7757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123ab565b005b610e0760048036036040811015610dbb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612538565b6040518082815260200191505060405180910390f35b610e4960048036036020811015610e3357600080fd5b81019080803590602001909291905050506125bf565b005b610e536126e7565b60405180821515815260200191505060405180910390f35b610ead60048036036020811015610e8157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506126fa565b005b610ef160048036036020811015610ec557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061290a565b60405180826003811115610f0157fe5b815260200191505060405180910390f35b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611086576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b601460009054906101000a900460ff1615611109576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f6f6e6c792063616e2064697374726962757465206f6e6365000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f215f6661726d696e67496e63656e7469766546756e640000000000000000000081525060200191505060405180910390fd5b6001601460006101000a81548160ff0219169083151502179055506111db8169065a3fc1a67c6f5c00006129fc565b50565b60006111f26111eb612bc3565b8484612bcb565b6001905092915050565b600080429050600d5481111561121257600d5490505b8060125410611225576000915050611252565b61124e600e5461124060125484612dc290919063ffffffff16565b612e0c90919063ffffffff16565b9150505b90565b6000600254905090565b60006001600381111561126e57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660038111156112c657fe5b148061133357506003808111156112d957fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16600381111561133157fe5b145b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b8060ff1660038111156113ef57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600381111561144957fe5b02179055505050565b600061145d8461125f565b158015611470575061146e83611cbf565b155b156115f457600061147f611f3c565b9050600061157b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635803abaa88886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561152f57600080fd5b505af1158015611543573d6000803e3d6000fd5b505050506040513d602081101561155957600080fd5b8101908080519060200190929190505050612710612dc290919063ffffffff16565b90506115a46127106115968385612e0c90919063ffffffff16565b6129b290919063ffffffff16565b915060006115cf6127106115c18588612e0c90919063ffffffff16565b6129b290919063ffffffff16565b90506115e48186612dc290919063ffffffff16565b94506115f08782612e92565b5050505b6115ff848484612f7e565b90509392505050565b611610612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6116db81613057565b50565b600080429050600d548111156116f457600d5490505b8060135410611707576000915050611734565b611730600f5461172260135484612dc290919063ffffffff16565b612e0c90919063ffffffff16565b9150505b90565b600f5481565b6000600560009054906101000a900460ff16905090565b600d5481565b60006117646111fc565b90506000811180156117c55750600073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156117fe576117f6601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826129fc565b426012819055505b6118066116de565b90506000811180156118675750600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156118a057611898601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826129fc565b426013819055505b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613a5b6023913960400191505060405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b6000611af9611a5d612bc3565b84611af48560016000611a6e612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b612bcb565b6001905092915050565b68bdbc41e0348b30000081565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c31611c2b612bc3565b8261317c565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c9d612bc3565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600e5481565b600060026003811115611cce57fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166003811115611d2657fe5b1480611d935750600380811115611d3957fe5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166003811115611d9157fe5b145b9050919050565b62d2f00081565b68bdbc41e0348b30000081565b60095481565b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e5a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139a86024913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611ecb57600080fd5b505af1158015611edf573d6000803e3d6000fd5b505050506040513d6020811015611ef557600080fd5b810190808051906020019092919050505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b6000600954905060011515600860009054906101000a900460ff1615151415611f8357611f67613340565b610dac600a541115611f7d57610dac600a819055505b600a5490505b90565b61271081565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611fdc612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461209e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c5481565b60006121a4826040518060600160405280602481526020016139846024913961219586612190612bc3565b612538565b6133eb9092919063ffffffff16565b90506121b8836121b2612bc3565b83612bcb565b6121c2838361317c565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dac81565b606060048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561228f5780601f106122645761010080835404028352916020019161228f565b820191906000526020600020905b81548152906001019060200180831161227257829003601f168201915b5050505050905090565b601460009054906101000a900460ff1681565b69065a3fc1a67c6f5c000081565b600061237d6122c7612bc3565b8461237885604051806060016040528060258152602001613a3660259139600160006122f1612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b612bcb565b6001905092915050565b600061239b612394612bc3565b84846134ab565b6001905092915050565b60125481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613a5b6023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f7a65726f0000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612665576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138eb6023913960400191505060405180910390fd5b610dac8111156126dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4572726f723a204d61782074617820726174652065786365656465642e00000081525060200191505060405180910390fd5b8060098190555050565b600860009054906101000a900460ff1681565b612702612bc3565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561284a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061387d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000808284019050838110156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006129f483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061376c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612aab60008383613832565b612ac08160025461292a90919063ffffffff16565b600281905550612b17816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613a126024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cd7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806138a36022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6000612e0483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133eb565b905092915050565b600080831415612e1f5760009050612e8c565b6000828402905082848281612e3057fe5b0414612e87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061393b6021913960400191505060405180910390fd5b809150505b92915050565b612ebf82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bcb565b612eec82600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612f7e565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ebaf4156826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015612f6257600080fd5b505af1158015612f76573d6000803e3d6000fd5b505050505050565b6000612f8b8484846134ab565b61304c84612f97612bc3565b6130478560405180606001604052806028815260200161395c60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000612ffd612bc3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b612bcb565b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156130dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061390e602d913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139cc6021913960400191505060405180910390fd5b61320e82600083613832565b6132798160405180606001604052806022815260200161385b602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506132d081600254612dc290919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d27428136040518163ffffffff1660e01b815260040160206040518083038186803b1580156133a857600080fd5b505afa1580156133bc573d6000803e3d6000fd5b505050506040513d60208110156133d257600080fd5b8101908080519060200190929190505050600a81905550565b6000838311158290613498576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561345d578082015181840152602081019050613442565b50505050905090810190601f16801561348a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613531576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139ed6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806138386023913960400191505060405180910390fd5b6135c2838383613832565b61362d816040518060600160405280602681526020016138c5602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133eb9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506136c0816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461292a90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008083118290613818576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137dd5780820151818401526020810190506137c2565b50505050905090810190601f16801561380a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161382457fe5b049050809150509392505050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654572726f723a2043616c6c6572206973206e6f742074686520746178206f66666963656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4572726f723a20545368617265202d20796f7520617265206e6f742074686520646576a26469706673582212202c3f029fd4bd5cc464b77f714fce1a7d72442cc549f41525dbb1618e9085b7fa64736f6c634300060c0033