ERC-20
Overview
Max Total Supply
1,000,000 JERRY
Holders
84
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000232235122362202 JERRYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x5D1bFd16...8eA4Cb7A8 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TomJerry
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* 88888888888 .d8888b. 888888 888 d88P "88b "88b 888 Y88b. d88P 888 888 .d88b. 88888b.d88b. "Y8888P" 888 .d88b. 888d888 888d888 888 888 888 d88""88b 888 "888 "88b .d88P88K.d88P 888 d8P Y8b 888P" 888P" 888 888 888 888 888 888 888 888 888" Y888P" 888 88888888 888 888 888 888 888 Y88..88P 888 888 888 Y88b .d8888b 88P Y8b. 888 888 Y88b 888 888 "Y88P" 888 888 888 "Y8888P" Y88b 888 "Y8888 888 888 "Y88888 .d88P 888 .d88P" Y8b d88P 888P" "Y88P" Website: https://tomjerryeth.com Telegram: https://t.me/TomJerryETH Twitter: https://twitter.com/TomJerryETH */ // SPDX-License-Identifier: MIT pragma solidity =0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IUniswapV2Router02.sol"; contract TomJerry is ERC20, Ownable, AccessControl { using Address for address payable; using SafeMath for uint; bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); struct TaxAllocation { uint marketing; uint liquidity; uint rewards; } IUniswapV2Router02 private router; address private immutable WETH; address private immutable admin; address private marketingWallet; address private liquidityWallet; address private rewardsWallet; bool private _isDiscounted; uint8 private _decimals = 18; uint private _initialSupply = 1_000_000 * 10**_decimals; uint private _maxSwapThreshold = _initialSupply / 200; // 0.5% of the supply uint private constant TAX_DECLINE_PER_BLOCK = 10; uint private constant TAX_DENOMINATOR = 1000; mapping (address => bool) private _isExcluded; address public pair; uint public taxCollected; uint public initialTaxPercentage = 300; // 30.0% uint public finalTaxPercentage = 40; // 4.0% uint public discountTaxPercentage = 20; // 2.0% uint public delayBlocks = 10; uint public startBlock; TaxAllocation public taxAllocation = TaxAllocation(300, 200, 500); constructor ( string memory _name, string memory _symbol, address _admin ) ERC20(_name, _symbol) { router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); WETH = router.WETH(); admin = _admin; _grantRole(DEFAULT_ADMIN_ROLE, admin); _grantRole(MANAGER_ROLE, admin); _grantRole(MANAGER_ROLE, _msgSender()); _grantRole(MANAGER_ROLE, address(this)); _isExcluded[admin] = true; _isExcluded[_msgSender()] = true; _isExcluded[address(this)] = true; _mint(_msgSender(), _initialSupply); } /** ERC20 OVERRIDES */ function decimals() public view virtual override returns (uint8) { return _decimals; } function _transfer( address from, address to, uint amount ) internal override { require (amount > 0, "Amount must be gt 0"); if (from != pair && to != pair ) { super._transfer(from, to, amount); return; } if (from == pair) { // buy require (startBlock > 0, "Trading is not open yet"); uint tax = amount.mul(taxPercentage(true)).div(TAX_DENOMINATOR); taxCollected = taxCollected.add(tax); super._transfer(from, address(this), tax); super._transfer(from, to, amount.sub(tax)); return; } if (to == pair) { // sell if (_isExcluded[from]) { super._transfer(from, to, amount); return; } uint tax = amount.mul(taxPercentage(false)).div(TAX_DENOMINATOR); taxCollected = taxCollected.add(tax); super._transfer(from, address(this), tax); swapFromTokens(taxCollected); super._transfer(from, to, amount.sub(tax)); return; } } /** VIEW FUNCTIONS */ function taxPercentage(bool isBuy) public view returns (uint) { if (block.number <= startBlock.add(delayBlocks)) { return initialTaxPercentage; } else { uint blockDifference = block.number.sub(startBlock.add(delayBlocks)); uint taxDecline = blockDifference.mul(TAX_DECLINE_PER_BLOCK); if (taxDecline >= initialTaxPercentage.sub(finalTaxPercentage)) { if (isBuy && _isDiscounted) return discountTaxPercentage; return finalTaxPercentage; } else { return initialTaxPercentage.sub(taxDecline); } } } function getLpPrice() public view returns (uint) { uint wethBalance = IERC20(WETH).balanceOf(pair); uint tokenBalance = balanceOf(pair); return wethBalance * 1e12 / tokenBalance; } function getCirculatingSupply() public view returns (uint) { return totalSupply() - balanceOf(address(0xdead)); } function getMarketCap() external view returns (uint) { return getLpPrice() * getCirculatingSupply() / 1e12; } /** INTERNAL FUNCTIONS */ function swapFromTokens(uint amount) internal { uint balance = balanceOf(address(this)); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; if (amount > _maxSwapThreshold) amount = _maxSwapThreshold; if (amount > balance) amount = balance; if (amount > 0) { uint initialEthBalance = address(this).balance; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amount, 0, path, address(this), block.timestamp + 30 seconds ); uint deltaBalance = address(this).balance.sub(initialEthBalance); taxCollected = taxCollected.sub(amount); uint marketingAmount = deltaBalance.mul(taxAllocation.marketing).div(TAX_DENOMINATOR); payable(marketingWallet).sendValue(marketingAmount); uint liquidityAmount = deltaBalance.mul(taxAllocation.liquidity).div(TAX_DENOMINATOR); payable(liquidityWallet).sendValue(liquidityAmount); uint rewardsAmount = deltaBalance.sub(marketingAmount).sub(liquidityAmount); payable(rewardsWallet).sendValue(rewardsAmount); } } function swapToTokens(uint amount, address to) internal { address[] memory path = new address[](2); path[0] = WETH; path[1] = address(this); uint balance = IERC20(WETH).balanceOf(address(this)); if (amount == 0 || amount > balance) amount = balance; if (amount > 0) { router.swapExactTokensForTokensSupportingFeeOnTransferTokens( amount, 0, path, to, block.timestamp + 30 seconds ); } } /** PSEUDO-RANDOMIZATION FUNCTIONS */ function random(uint number, address account) internal view returns (uint) { return uint( keccak256( abi.encodePacked( block.timestamp, block.prevrandao, account ) ) ) % number; } /** RESTRICTED FUNCTIONS */ function initPair() external onlyRole(MANAGER_ROLE) { pair = IUniswapV2Factory(router.factory()).createPair( address(this), WETH ); IERC20(WETH).approve(address(router), type(uint).max); _approve(address(this), address(router), type(uint).max); _approve(address(this), address(this), type(uint).max); } function initLiquidity() external payable onlyRole(MANAGER_ROLE) { uint liquidityTokens = balanceOf(_msgSender()); _approve(_msgSender(), address(this), liquidityTokens); _transfer(_msgSender(), address(this), liquidityTokens); router.addLiquidityETH{value: msg.value}( address(this), liquidityTokens, 0, 0, _msgSender(), block.timestamp + 30 seconds ); } function initTrading(address[] calldata accounts) external onlyRole(MANAGER_ROLE) { require(startBlock == 0, "Trading is already open"); startBlock = block.number; for (uint i = 0; i < accounts.length; i++) swapToTokens(((random(6, accounts[i]) + 1).mul(1e16)).add(uint(2).mul(1e16)), accounts[i]); } function setTaxPercentage(uint _finalTaxPercentage, uint _discountTaxPercentage) external onlyRole(MANAGER_ROLE) { require(_finalTaxPercentage <= 40, "Must be lte to starting tax"); require(_discountTaxPercentage <= _finalTaxPercentage, "Must be lte to normal tax"); finalTaxPercentage = _finalTaxPercentage; discountTaxPercentage = _discountTaxPercentage; } function setIsDiscounted(bool active) external onlyRole(MANAGER_ROLE) { _isDiscounted = active; } function setTaxAllocation(uint _marketing, uint _liquidity, uint _rewards) external onlyRole(MANAGER_ROLE) { require(_marketing.add(_liquidity).add(_rewards) == 1000, "Incorrect entry for tax allocation"); taxAllocation = TaxAllocation(_marketing, _liquidity, _rewards); } function setWallets(address _marketingWallet, address _liquidityWallet, address _rewardsWallet) external onlyRole(MANAGER_ROLE) { marketingWallet = _marketingWallet; liquidityWallet = _liquidityWallet; rewardsWallet = _rewardsWallet; } function rescueETH() external onlyRole(MANAGER_ROLE) { payable(_msgSender()).sendValue(address(this).balance); } function rescueTokens(address _token) external onlyRole(MANAGER_ROLE) { require(_token != address(this), "Can not rescue own token"); IERC20(_token).transfer(_msgSender(), IERC20(_token).balanceOf(address(this))); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns ( uint amountA, uint amountB, uint liquidity ); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns ( uint amountToken, uint amountETH, uint liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delayBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountTaxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalTaxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLpPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMarketCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"initPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"initTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTaxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setIsDiscounted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_rewards","type":"uint256"}],"name":"setTaxAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_finalTaxPercentage","type":"uint256"},{"internalType":"uint256","name":"_discountTaxPercentage","type":"uint256"}],"name":"setTaxPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address","name":"_rewardsWallet","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAllocation","outputs":[{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isBuy","type":"bool"}],"name":"taxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526012600a60156101000a81548160ff021916908360ff160217905550600a60159054906101000a900460ff16600a6200003e9190620009c6565b620f42406200004e919062000a17565b600b5560c8600b5462000062919062000a91565b600c5561012c60105560286011556014601255600a601355604051806060016040528061012c815260200160c881526020016101f481525060156000820151816000015560208201518160010155604082015181600201555050348015620000c957600080fd5b5060405162005cfd38038062005cfd8339818101604052810190620000ef919062000cc1565b8282816003908162000102919062000f9c565b50806004908162000114919062000f9c565b505050620001376200012b6200048a60201b60201c565b6200049260201b60201c565b737a250d5630b4cf539739df2c5dacb4c659f2488d600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000220919062001083565b73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506200029e6000801b60a0516200055860201b60201c565b620002d27f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0860a0516200055860201b60201c565b620003137f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620003076200048a60201b60201c565b6200055860201b60201c565b620003457f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08306200055860201b60201c565b6001600d600060a05173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d6000620003b56200048a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000481620004726200048a60201b60201c565b600b546200064a60201b60201c565b505050620011a1565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200056a8282620007b760201b60201c565b620006465760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620005eb6200048a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b39062001116565b60405180910390fd5b620006d0600083836200082260201b60201c565b8060026000828254620006e4919062001138565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000797919062001184565b60405180910390a3620007b3600083836200082760201b60201c565b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b505050565b505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620008ba578086048111156200089257620008916200082c565b5b6001851615620008a25780820291505b8081029050620008b2856200085b565b945062000872565b94509492505050565b600082620008d55760019050620009a8565b81620008e55760009050620009a8565b8160018114620008fe576002811462000909576200093f565b6001915050620009a8565b60ff8411156200091e576200091d6200082c565b5b8360020a9150848211156200093857620009376200082c565b5b50620009a8565b5060208310610133831016604e8410600b8410161715620009795782820a9050838111156200097357620009726200082c565b5b620009a8565b62000988848484600162000868565b92509050818404811115620009a257620009a16200082c565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b6000620009d382620009af565b9150620009e083620009b9565b925062000a0f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620008c3565b905092915050565b600062000a2482620009af565b915062000a3183620009af565b925082820262000a4181620009af565b9150828204841483151762000a5b5762000a5a6200082c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000a9e82620009af565b915062000aab83620009af565b92508262000abe5762000abd62000a62565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000b328262000ae7565b810181811067ffffffffffffffff8211171562000b545762000b5362000af8565b5b80604052505050565b600062000b6962000ac9565b905062000b77828262000b27565b919050565b600067ffffffffffffffff82111562000b9a5762000b9962000af8565b5b62000ba58262000ae7565b9050602081019050919050565b60005b8381101562000bd257808201518184015260208101905062000bb5565b60008484015250505050565b600062000bf562000bef8462000b7c565b62000b5d565b90508281526020810184848401111562000c145762000c1362000ae2565b5b62000c2184828562000bb2565b509392505050565b600082601f83011262000c415762000c4062000add565b5b815162000c5384826020860162000bde565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000c898262000c5c565b9050919050565b62000c9b8162000c7c565b811462000ca757600080fd5b50565b60008151905062000cbb8162000c90565b92915050565b60008060006060848603121562000cdd5762000cdc62000ad3565b5b600084015167ffffffffffffffff81111562000cfe5762000cfd62000ad8565b5b62000d0c8682870162000c29565b935050602084015167ffffffffffffffff81111562000d305762000d2f62000ad8565b5b62000d3e8682870162000c29565b925050604062000d518682870162000caa565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000dae57607f821691505b60208210810362000dc45762000dc362000d66565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000e2e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000def565b62000e3a868362000def565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000e7d62000e7762000e7184620009af565b62000e52565b620009af565b9050919050565b6000819050919050565b62000e998362000e5c565b62000eb162000ea88262000e84565b84845462000dfc565b825550505050565b600090565b62000ec862000eb9565b62000ed581848462000e8e565b505050565b5b8181101562000efd5762000ef160008262000ebe565b60018101905062000edb565b5050565b601f82111562000f4c5762000f168162000dca565b62000f218462000ddf565b8101602085101562000f31578190505b62000f4962000f408562000ddf565b83018262000eda565b50505b505050565b600082821c905092915050565b600062000f716000198460080262000f51565b1980831691505092915050565b600062000f8c838362000f5e565b9150826002028217905092915050565b62000fa78262000d5b565b67ffffffffffffffff81111562000fc35762000fc262000af8565b5b62000fcf825462000d95565b62000fdc82828562000f01565b600060209050601f83116001811462001014576000841562000fff578287015190505b6200100b858262000f7e565b8655506200107b565b601f198416620010248662000dca565b60005b828110156200104e5784890151825560018201915060208501945060208101905062001027565b868310156200106e57848901516200106a601f89168262000f5e565b8355505b6001600288020188555050505b505050505050565b6000602082840312156200109c576200109b62000ad3565b5b6000620010ac8482850162000caa565b91505092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620010fe601f83620010b5565b91506200110b82620010c6565b602082019050919050565b600060208201905081810360008301526200113181620010ef565b9050919050565b60006200114582620009af565b91506200115283620009af565b92508282019050808211156200116d576200116c6200082c565b5b92915050565b6200117e81620009af565b82525050565b60006020820190506200119b600083018462001173565b92915050565b60805160a051614b16620011e76000396000505060008181610f3001528181611a5401528181611b1501528181612764015281816128240152612d5a0152614b166000f3fe6080604052600436106102545760003560e01c806390825c2811610139578063ad9c0c2e116100b6578063b6f2d56b1161007a578063b6f2d56b146108c9578063d547741f146108f2578063dd62ed3e1461091b578063e47a2f7914610958578063f2fde38b14610985578063feb1dfcc146109ae5761025b565b8063ad9c0c2e146107e2578063b0c03c851461080d578063b3b1561014610838578063b4385ebc14610863578063b5e10246146108a05761025b565b8063a217fddf116100fd578063a217fddf14610708578063a457c2d714610733578063a8aa1b3114610770578063a9059cbb1461079b578063a965a51b146107d85761025b565b806390825c2814610621578063916a47f71461064c57806391d148541461067757806395d89b41146106b4578063a01879b9146106df5761025b565b80632f2ff15d116101d257806348cd4cb11161019657806348cd4cb1146105235780634c7198f41461054e57806370a0823114610579578063715018a6146105b657806375cb1bd1146105cd5780638da5cb5b146105f65761025b565b80632f2ff15d1461043e578063313ce5671461046757806336568abe1461049257806339509351146104bb57806342abfa1f146104f85761025b565b806320800a001161021957806320800a001461035957806320f5ad941461037057806323b872dd14610399578063248a9ca3146103d65780632b112e49146104135761025b565b8062ae3bf81461026057806301ffc9a71461028957806306fdde03146102c6578063095ea7b3146102f157806318160ddd1461032e5761025b565b3661025b57005b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190613315565b6109c5565b005b34801561029557600080fd5b506102b060048036038101906102ab919061339a565b610b60565b6040516102bd91906133e2565b60405180910390f35b3480156102d257600080fd5b506102db610bda565b6040516102e8919061348d565b60405180910390f35b3480156102fd57600080fd5b50610318600480360381019061031391906134e5565b610c6c565b60405161032591906133e2565b60405180910390f35b34801561033a57600080fd5b50610343610c8f565b6040516103509190613534565b60405180910390f35b34801561036557600080fd5b5061036e610c99565b005b34801561037c57600080fd5b506103976004803603810190610392919061354f565b610cf6565b005b3480156103a557600080fd5b506103c060048036038101906103bb919061358f565b610dba565b6040516103cd91906133e2565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190613618565b610de9565b60405161040a9190613654565b60405180910390f35b34801561041f57600080fd5b50610428610e09565b6040516104359190613534565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061366f565b610e2d565b005b34801561047357600080fd5b5061047c610e4e565b60405161048991906136cb565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b4919061366f565b610e65565b005b3480156104c757600080fd5b506104e260048036038101906104dd91906134e5565b610ee8565b6040516104ef91906133e2565b60405180910390f35b34801561050457600080fd5b5061050d610f1f565b60405161051a9190613534565b60405180910390f35b34801561052f57600080fd5b50610538610f25565b6040516105459190613534565b60405180910390f35b34801561055a57600080fd5b50610563610f2b565b6040516105709190613534565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613315565b61103e565b6040516105ad9190613534565b60405180910390f35b3480156105c257600080fd5b506105cb611086565b005b3480156105d957600080fd5b506105f460048036038101906105ef91906136e6565b61109a565b005b34801561060257600080fd5b5061060b61118d565b6040516106189190613748565b60405180910390f35b34801561062d57600080fd5b506106366111b7565b6040516106439190613534565b60405180910390f35b34801561065857600080fd5b506106616111e8565b60405161066e9190613534565b60405180910390f35b34801561068357600080fd5b5061069e6004803603810190610699919061366f565b6111ee565b6040516106ab91906133e2565b60405180910390f35b3480156106c057600080fd5b506106c9611259565b6040516106d6919061348d565b60405180910390f35b3480156106eb57600080fd5b50610706600480360381019061070191906137c8565b6112eb565b005b34801561071457600080fd5b5061071d61143b565b60405161072a9190613654565b60405180910390f35b34801561073f57600080fd5b5061075a600480360381019061075591906134e5565b611442565b60405161076791906133e2565b60405180910390f35b34801561077c57600080fd5b506107856114b9565b6040516107929190613748565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd91906134e5565b6114df565b6040516107cf91906133e2565b60405180910390f35b6107e0611502565b005b3480156107ee57600080fd5b506107f7611628565b6040516108049190613534565b60405180910390f35b34801561081957600080fd5b5061082261162e565b60405161082f9190613534565b60405180910390f35b34801561084457600080fd5b5061084d611634565b60405161085a9190613534565b60405180910390f35b34801561086f57600080fd5b5061088a60048036038101906108859190613841565b61163a565b6040516108979190613534565b60405180910390f35b3480156108ac57600080fd5b506108c760048036038101906108c2919061386e565b61171a565b005b3480156108d557600080fd5b506108f060048036038101906108eb9190613841565b6117f0565b005b3480156108fe57600080fd5b506109196004803603810190610914919061366f565b611838565b005b34801561092757600080fd5b50610942600480360381019061093d91906138c1565b611859565b60405161094f9190613534565b60405180910390f35b34801561096457600080fd5b5061096d6118e0565b60405161097c93929190613901565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613315565b6118f8565b005b3480156109ba57600080fd5b506109c361197b565b005b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086109ef81611c6f565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5490613984565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a81611c83565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610aba9190613748565b602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb91906139b9565b6040518363ffffffff1660e01b8152600401610b189291906139e6565b6020604051808303816000875af1158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b9190613a24565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bd35750610bd282611c8b565b5b9050919050565b606060038054610be990613a80565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590613a80565b8015610c625780601f10610c3757610100808354040283529160200191610c62565b820191906000526020600020905b815481529060010190602001808311610c4557829003601f168201915b5050505050905090565b600080610c77611c83565b9050610c84818585611cf5565b600191505092915050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610cc381611c6f565b610cf347610ccf611c83565b73ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b50565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610d2081611c6f565b6028831115610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b90613afd565b60405180910390fd5b82821115610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613b69565b60405180910390fd5b8260118190555081601281905550505050565b600080610dc5611c83565b9050610dd2858285611fb2565b610ddd85858561203e565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b6000610e1661dead61103e565b610e1e610c8f565b610e289190613bb8565b905090565b610e3682610de9565b610e3f81611c6f565b610e49838361239e565b505050565b6000600a60159054906101000a900460ff16905090565b610e6d611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190613c5e565b60405180910390fd5b610ee4828261247f565b5050565b600080610ef3611c83565b9050610f14818585610f058589611859565b610f0f9190613c7e565b611cf5565b600191505092915050565b60115481565b60145481565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401610fa99190613748565b602060405180830381865afa158015610fc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fea91906139b9565b90506000611019600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661103e565b90508064e8d4a510008361102d9190613cb2565b6110379190613d23565b9250505090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61108e612561565b61109860006125df565b565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110c481611c6f565b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600064e8d4a510006111c7610e09565b6111cf610f2b565b6111d99190613cb2565b6111e39190613d23565b905090565b600f5481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606004805461126890613a80565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613a80565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b5050505050905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861131581611c6f565b60006014541461135a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135190613da0565b60405180910390fd5b4360148190555060005b83839050811015611435576114226113f5611390662386f26fc1000060026126a590919063ffffffff16565b6113e7662386f26fc1000060016113cf60068b8b8a8181106113b5576113b4613dc0565b5b90506020020160208101906113ca9190613315565b6126bb565b6113d99190613c7e565b6126a590919063ffffffff16565b6126fe90919063ffffffff16565b85858481811061140857611407613dc0565b5b905060200201602081019061141d9190613315565b612714565b808061142d90613def565b915050611364565b50505050565b6000801b81565b60008061144d611c83565b9050600061145b8286611859565b9050838110156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790613ea9565b60405180910390fd5b6114ad8286868403611cf5565b60019250505092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806114ea611c83565b90506114f781858561203e565b600191505092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861152c81611c6f565b600061153e611539611c83565b61103e565b905061155261154b611c83565b3083611cf5565b61156461155d611c83565b308361203e565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7193430846000806115b0611c83565b601e426115bd9190613c7e565b6040518863ffffffff1660e01b81526004016115de96959493929190613f0e565b60606040518083038185885af11580156115fc573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116219190613f6f565b5050505050565b60135481565b60105481565b60125481565b60006116536013546014546126fe90919063ffffffff16565b4311611663576010549050611715565b600061168e61167f6013546014546126fe90919063ffffffff16565b4361298790919063ffffffff16565b905060006116a6600a836126a590919063ffffffff16565b90506116bf60115460105461298790919063ffffffff16565b81106116fb578380156116de5750600a60149054906101000a900460ff165b156116ef5760125492505050611715565b60115492505050611715565b6117108160105461298790919063ffffffff16565b925050505b919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861174481611c6f565b6103e861176c8361175e86886126fe90919063ffffffff16565b6126fe90919063ffffffff16565b146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390614034565b60405180910390fd5b604051806060016040528085815260200184815260200183815250601560008201518160000155602082015181600101556040820151816002015590505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861181a81611c6f565b81600a60146101000a81548160ff0219169083151502179055505050565b61184182610de9565b61184a81611c6f565b611854838361247f565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60158060000154908060010154908060020154905083565b611900612561565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361196f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611966906140c6565b60405180910390fd5b611978816125df565b50565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086119a581611c6f565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3691906140fb565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401611a90929190614128565b6020604051808303816000875af1158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad391906140fb565b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611bb09291906139e6565b6020604051808303816000875af1158015611bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf39190613a24565b50611c4130600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611cf5565b611c6c30307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611cf5565b50565b611c8081611c7b611c83565b61299d565b50565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b906141c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614255565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611eb19190613534565b60405180910390a3505050565b80471015611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef8906142c1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611f2790614312565b60006040518083038185875af1925050503d8060008114611f64576040519150601f19603f3d011682016040523d82523d6000602084013e611f69565b606091505b5050905080611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa490614399565b60405180910390fd5b505050565b6000611fbe8484611859565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612038578181101561202a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202190614405565b60405180910390fd5b6120378484848403611cf5565b5b50505050565b60008111612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890614471565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561212d5750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156121425761213d838383612a22565b612399565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612259576000601454116121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d3906144dd565b60405180910390fd5b600061220e6103e86122006121f1600161163a565b856126a590919063ffffffff16565b612c9890919063ffffffff16565b905061222581600f546126fe90919063ffffffff16565b600f81905550612236843083612a22565b612253848461224e848661298790919063ffffffff16565b612a22565b50612399565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361239857600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156123105761230b838383612a22565b612399565b60006123426103e8612334612325600061163a565b856126a590919063ffffffff16565b612c9890919063ffffffff16565b905061235981600f546126fe90919063ffffffff16565b600f8190555061236a843083612a22565b612375600f54612cae565b612392848461238d848661298790919063ffffffff16565b612a22565b50612399565b5b505050565b6123a882826111ee565b61247b5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612420611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61248982826111ee565b1561255d5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612502611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612569611c83565b73ffffffffffffffffffffffffffffffffffffffff1661258761118d565b73ffffffffffffffffffffffffffffffffffffffff16146125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614549565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836126b39190613cb2565b905092915050565b6000824244846040516020016126d3939291906145d2565b6040516020818303038152906040528051906020012060001c6126f6919061460f565b905092915050565b6000818361270c9190613c7e565b905092915050565b6000600267ffffffffffffffff81111561273157612730614640565b5b60405190808252806020026020018201604052801561275f5781602001602082028036833780820191505090505b5090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061279757612796613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505030816001815181106127e6576127e5613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161287b9190613748565b602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc91906139b9565b905060008414806128cc57508084115b156128d5578093505b600084111561298157600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587601e4261292e9190613c7e565b6040518663ffffffff1660e01b815260040161294e95949392919061472d565b600060405180830381600087803b15801561296857600080fd5b505af115801561297c573d6000803e3d6000fd5b505050505b50505050565b600081836129959190613bb8565b905092915050565b6129a782826111ee565b612a1e576129b48161303a565b6129c28360001c6020613067565b6040516020016129d392919061485b565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a15919061348d565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8890614907565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af790614999565b60405180910390fd5b612b0b8383836132a3565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8890614a2b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7f9190613534565b60405180910390a3612c928484846132a8565b50505050565b60008183612ca69190613d23565b905092915050565b6000612cb93061103e565b90506000600267ffffffffffffffff811115612cd857612cd7614640565b5b604051908082528060200260200182016040528015612d065781602001602082028036833780820191505090505b5090503081600081518110612d1e57612d1d613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110612d8d57612d8c613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600c54831115612dd757600c5492505b81831115612de3578192505b6000831115613035576000479050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478560008530601e42612e419190613c7e565b6040518663ffffffff1660e01b8152600401612e6195949392919061472d565b600060405180830381600087803b158015612e7b57600080fd5b505af1158015612e8f573d6000803e3d6000fd5b505050506000612ea8824761298790919063ffffffff16565b9050612ebf85600f5461298790919063ffffffff16565b600f819055506000612ef36103e8612ee5601560000154856126a590919063ffffffff16565b612c9890919063ffffffff16565b9050612f4081600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b6000612f6e6103e8612f60601560010154866126a590919063ffffffff16565b612c9890919063ffffffff16565b9050612fbb81600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b6000612fe282612fd4858761298790919063ffffffff16565b61298790919063ffffffff16565b905061302f81600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b50505050505b505050565b60606130608273ffffffffffffffffffffffffffffffffffffffff16601460ff16613067565b9050919050565b60606000600283600261307a9190613cb2565b6130849190613c7e565b67ffffffffffffffff81111561309d5761309c614640565b5b6040519080825280601f01601f1916602001820160405280156130cf5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061310757613106613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061316b5761316a613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026131ab9190613cb2565b6131b59190613c7e565b90505b6001811115613255577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106131f7576131f6613dc0565b5b1a60f81b82828151811061320e5761320d613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061324e90614a4b565b90506131b8565b5060008414613299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090614ac0565b60405180910390fd5b8091505092915050565b505050565b505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132e2826132b7565b9050919050565b6132f2816132d7565b81146132fd57600080fd5b50565b60008135905061330f816132e9565b92915050565b60006020828403121561332b5761332a6132ad565b5b600061333984828501613300565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61337781613342565b811461338257600080fd5b50565b6000813590506133948161336e565b92915050565b6000602082840312156133b0576133af6132ad565b5b60006133be84828501613385565b91505092915050565b60008115159050919050565b6133dc816133c7565b82525050565b60006020820190506133f760008301846133d3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561343757808201518184015260208101905061341c565b60008484015250505050565b6000601f19601f8301169050919050565b600061345f826133fd565b6134698185613408565b9350613479818560208601613419565b61348281613443565b840191505092915050565b600060208201905081810360008301526134a78184613454565b905092915050565b6000819050919050565b6134c2816134af565b81146134cd57600080fd5b50565b6000813590506134df816134b9565b92915050565b600080604083850312156134fc576134fb6132ad565b5b600061350a85828601613300565b925050602061351b858286016134d0565b9150509250929050565b61352e816134af565b82525050565b60006020820190506135496000830184613525565b92915050565b60008060408385031215613566576135656132ad565b5b6000613574858286016134d0565b9250506020613585858286016134d0565b9150509250929050565b6000806000606084860312156135a8576135a76132ad565b5b60006135b686828701613300565b93505060206135c786828701613300565b92505060406135d8868287016134d0565b9150509250925092565b6000819050919050565b6135f5816135e2565b811461360057600080fd5b50565b600081359050613612816135ec565b92915050565b60006020828403121561362e5761362d6132ad565b5b600061363c84828501613603565b91505092915050565b61364e816135e2565b82525050565b60006020820190506136696000830184613645565b92915050565b60008060408385031215613686576136856132ad565b5b600061369485828601613603565b92505060206136a585828601613300565b9150509250929050565b600060ff82169050919050565b6136c5816136af565b82525050565b60006020820190506136e060008301846136bc565b92915050565b6000806000606084860312156136ff576136fe6132ad565b5b600061370d86828701613300565b935050602061371e86828701613300565b925050604061372f86828701613300565b9150509250925092565b613742816132d7565b82525050565b600060208201905061375d6000830184613739565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261378857613787613763565b5b8235905067ffffffffffffffff8111156137a5576137a4613768565b5b6020830191508360208202830111156137c1576137c061376d565b5b9250929050565b600080602083850312156137df576137de6132ad565b5b600083013567ffffffffffffffff8111156137fd576137fc6132b2565b5b61380985828601613772565b92509250509250929050565b61381e816133c7565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b600060208284031215613857576138566132ad565b5b60006138658482850161382c565b91505092915050565b600080600060608486031215613887576138866132ad565b5b6000613895868287016134d0565b93505060206138a6868287016134d0565b92505060406138b7868287016134d0565b9150509250925092565b600080604083850312156138d8576138d76132ad565b5b60006138e685828601613300565b92505060206138f785828601613300565b9150509250929050565b60006060820190506139166000830186613525565b6139236020830185613525565b6139306040830184613525565b949350505050565b7f43616e206e6f7420726573637565206f776e20746f6b656e0000000000000000600082015250565b600061396e601883613408565b915061397982613938565b602082019050919050565b6000602082019050818103600083015261399d81613961565b9050919050565b6000815190506139b3816134b9565b92915050565b6000602082840312156139cf576139ce6132ad565b5b60006139dd848285016139a4565b91505092915050565b60006040820190506139fb6000830185613739565b613a086020830184613525565b9392505050565b600081519050613a1e81613815565b92915050565b600060208284031215613a3a57613a396132ad565b5b6000613a4884828501613a0f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a9857607f821691505b602082108103613aab57613aaa613a51565b5b50919050565b7f4d757374206265206c746520746f207374617274696e67207461780000000000600082015250565b6000613ae7601b83613408565b9150613af282613ab1565b602082019050919050565b60006020820190508181036000830152613b1681613ada565b9050919050565b7f4d757374206265206c746520746f206e6f726d616c2074617800000000000000600082015250565b6000613b53601983613408565b9150613b5e82613b1d565b602082019050919050565b60006020820190508181036000830152613b8281613b46565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bc3826134af565b9150613bce836134af565b9250828203905081811115613be657613be5613b89565b5b92915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c48602f83613408565b9150613c5382613bec565b604082019050919050565b60006020820190508181036000830152613c7781613c3b565b9050919050565b6000613c89826134af565b9150613c94836134af565b9250828201905080821115613cac57613cab613b89565b5b92915050565b6000613cbd826134af565b9150613cc8836134af565b9250828202613cd6816134af565b91508282048414831517613ced57613cec613b89565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d2e826134af565b9150613d39836134af565b925082613d4957613d48613cf4565b5b828204905092915050565b7f54726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b6000613d8a601783613408565b9150613d9582613d54565b602082019050919050565b60006020820190508181036000830152613db981613d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613dfa826134af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e2c57613e2b613b89565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613e93602583613408565b9150613e9e82613e37565b604082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b6000819050919050565b6000819050919050565b6000613ef8613ef3613eee84613ec9565b613ed3565b6134af565b9050919050565b613f0881613edd565b82525050565b600060c082019050613f236000830189613739565b613f306020830188613525565b613f3d6040830187613eff565b613f4a6060830186613eff565b613f576080830185613739565b613f6460a0830184613525565b979650505050505050565b600080600060608486031215613f8857613f876132ad565b5b6000613f96868287016139a4565b9350506020613fa7868287016139a4565b9250506040613fb8868287016139a4565b9150509250925092565b7f496e636f727265637420656e74727920666f722074617820616c6c6f6361746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b600061401e602283613408565b915061402982613fc2565b604082019050919050565b6000602082019050818103600083015261404d81614011565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140b0602683613408565b91506140bb82614054565b604082019050919050565b600060208201905081810360008301526140df816140a3565b9050919050565b6000815190506140f5816132e9565b92915050565b600060208284031215614111576141106132ad565b5b600061411f848285016140e6565b91505092915050565b600060408201905061413d6000830185613739565b61414a6020830184613739565b9392505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006141ad602483613408565b91506141b882614151565b604082019050919050565b600060208201905081810360008301526141dc816141a0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061423f602283613408565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006142ab601d83613408565b91506142b682614275565b602082019050919050565b600060208201905081810360008301526142da8161429e565b9050919050565b600081905092915050565b50565b60006142fc6000836142e1565b9150614307826142ec565b600082019050919050565b600061431d826142ef565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614383603a83613408565b915061438e82614327565b604082019050919050565b600060208201905081810360008301526143b281614376565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006143ef601d83613408565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b7f416d6f756e74206d757374206265206774203000000000000000000000000000600082015250565b600061445b601383613408565b915061446682614425565b602082019050919050565b6000602082019050818103600083015261448a8161444e565b9050919050565b7f54726164696e67206973206e6f74206f70656e20796574000000000000000000600082015250565b60006144c7601783613408565b91506144d282614491565b602082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614533602083613408565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b6000819050919050565b61458461457f826134af565b614569565b82525050565b60008160601b9050919050565b60006145a28261458a565b9050919050565b60006145b482614597565b9050919050565b6145cc6145c7826132d7565b6145a9565b82525050565b60006145de8286614573565b6020820191506145ee8285614573565b6020820191506145fe82846145bb565b601482019150819050949350505050565b600061461a826134af565b9150614625836134af565b92508261463557614634613cf4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146a4816132d7565b82525050565b60006146b6838361469b565b60208301905092915050565b6000602082019050919050565b60006146da8261466f565b6146e4818561467a565b93506146ef8361468b565b8060005b8381101561472057815161470788826146aa565b9750614712836146c2565b9250506001810190506146f3565b5085935050505092915050565b600060a0820190506147426000830188613525565b61474f6020830187613eff565b818103604083015261476181866146cf565b90506147706060830185613739565b61477d6080830184613525565b9695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006147c8601783614787565b91506147d382614792565b601782019050919050565b60006147e9826133fd565b6147f38185614787565b9350614803818560208601613419565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614845601183614787565b91506148508261480f565b601182019050919050565b6000614866826147bb565b915061487282856147de565b915061487d82614838565b915061488982846147de565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006148f1602583613408565b91506148fc82614895565b604082019050919050565b60006020820190508181036000830152614920816148e4565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614983602383613408565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614a15602683613408565b9150614a20826149b9565b604082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b6000614a56826134af565b915060008203614a6957614a68613b89565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614aaa602083613408565b9150614ab582614a74565b602082019050919050565b60006020820190508181036000830152614ad981614a9d565b905091905056fea2646970667358221220166dda994491ad0cf5fd6e168010ac8eb3582ca6701472c89189d773955b310264736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005a32f2f7314eb0231d95cecd7dfd2421703ac2fa0000000000000000000000000000000000000000000000000000000000000003546f6d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003544f4d0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102545760003560e01c806390825c2811610139578063ad9c0c2e116100b6578063b6f2d56b1161007a578063b6f2d56b146108c9578063d547741f146108f2578063dd62ed3e1461091b578063e47a2f7914610958578063f2fde38b14610985578063feb1dfcc146109ae5761025b565b8063ad9c0c2e146107e2578063b0c03c851461080d578063b3b1561014610838578063b4385ebc14610863578063b5e10246146108a05761025b565b8063a217fddf116100fd578063a217fddf14610708578063a457c2d714610733578063a8aa1b3114610770578063a9059cbb1461079b578063a965a51b146107d85761025b565b806390825c2814610621578063916a47f71461064c57806391d148541461067757806395d89b41146106b4578063a01879b9146106df5761025b565b80632f2ff15d116101d257806348cd4cb11161019657806348cd4cb1146105235780634c7198f41461054e57806370a0823114610579578063715018a6146105b657806375cb1bd1146105cd5780638da5cb5b146105f65761025b565b80632f2ff15d1461043e578063313ce5671461046757806336568abe1461049257806339509351146104bb57806342abfa1f146104f85761025b565b806320800a001161021957806320800a001461035957806320f5ad941461037057806323b872dd14610399578063248a9ca3146103d65780632b112e49146104135761025b565b8062ae3bf81461026057806301ffc9a71461028957806306fdde03146102c6578063095ea7b3146102f157806318160ddd1461032e5761025b565b3661025b57005b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190613315565b6109c5565b005b34801561029557600080fd5b506102b060048036038101906102ab919061339a565b610b60565b6040516102bd91906133e2565b60405180910390f35b3480156102d257600080fd5b506102db610bda565b6040516102e8919061348d565b60405180910390f35b3480156102fd57600080fd5b50610318600480360381019061031391906134e5565b610c6c565b60405161032591906133e2565b60405180910390f35b34801561033a57600080fd5b50610343610c8f565b6040516103509190613534565b60405180910390f35b34801561036557600080fd5b5061036e610c99565b005b34801561037c57600080fd5b506103976004803603810190610392919061354f565b610cf6565b005b3480156103a557600080fd5b506103c060048036038101906103bb919061358f565b610dba565b6040516103cd91906133e2565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190613618565b610de9565b60405161040a9190613654565b60405180910390f35b34801561041f57600080fd5b50610428610e09565b6040516104359190613534565b60405180910390f35b34801561044a57600080fd5b506104656004803603810190610460919061366f565b610e2d565b005b34801561047357600080fd5b5061047c610e4e565b60405161048991906136cb565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b4919061366f565b610e65565b005b3480156104c757600080fd5b506104e260048036038101906104dd91906134e5565b610ee8565b6040516104ef91906133e2565b60405180910390f35b34801561050457600080fd5b5061050d610f1f565b60405161051a9190613534565b60405180910390f35b34801561052f57600080fd5b50610538610f25565b6040516105459190613534565b60405180910390f35b34801561055a57600080fd5b50610563610f2b565b6040516105709190613534565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613315565b61103e565b6040516105ad9190613534565b60405180910390f35b3480156105c257600080fd5b506105cb611086565b005b3480156105d957600080fd5b506105f460048036038101906105ef91906136e6565b61109a565b005b34801561060257600080fd5b5061060b61118d565b6040516106189190613748565b60405180910390f35b34801561062d57600080fd5b506106366111b7565b6040516106439190613534565b60405180910390f35b34801561065857600080fd5b506106616111e8565b60405161066e9190613534565b60405180910390f35b34801561068357600080fd5b5061069e6004803603810190610699919061366f565b6111ee565b6040516106ab91906133e2565b60405180910390f35b3480156106c057600080fd5b506106c9611259565b6040516106d6919061348d565b60405180910390f35b3480156106eb57600080fd5b50610706600480360381019061070191906137c8565b6112eb565b005b34801561071457600080fd5b5061071d61143b565b60405161072a9190613654565b60405180910390f35b34801561073f57600080fd5b5061075a600480360381019061075591906134e5565b611442565b60405161076791906133e2565b60405180910390f35b34801561077c57600080fd5b506107856114b9565b6040516107929190613748565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd91906134e5565b6114df565b6040516107cf91906133e2565b60405180910390f35b6107e0611502565b005b3480156107ee57600080fd5b506107f7611628565b6040516108049190613534565b60405180910390f35b34801561081957600080fd5b5061082261162e565b60405161082f9190613534565b60405180910390f35b34801561084457600080fd5b5061084d611634565b60405161085a9190613534565b60405180910390f35b34801561086f57600080fd5b5061088a60048036038101906108859190613841565b61163a565b6040516108979190613534565b60405180910390f35b3480156108ac57600080fd5b506108c760048036038101906108c2919061386e565b61171a565b005b3480156108d557600080fd5b506108f060048036038101906108eb9190613841565b6117f0565b005b3480156108fe57600080fd5b506109196004803603810190610914919061366f565b611838565b005b34801561092757600080fd5b50610942600480360381019061093d91906138c1565b611859565b60405161094f9190613534565b60405180910390f35b34801561096457600080fd5b5061096d6118e0565b60405161097c93929190613901565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613315565b6118f8565b005b3480156109ba57600080fd5b506109c361197b565b005b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086109ef81611c6f565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5490613984565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a81611c83565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610aba9190613748565b602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb91906139b9565b6040518363ffffffff1660e01b8152600401610b189291906139e6565b6020604051808303816000875af1158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b9190613a24565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bd35750610bd282611c8b565b5b9050919050565b606060038054610be990613a80565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590613a80565b8015610c625780601f10610c3757610100808354040283529160200191610c62565b820191906000526020600020905b815481529060010190602001808311610c4557829003601f168201915b5050505050905090565b600080610c77611c83565b9050610c84818585611cf5565b600191505092915050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610cc381611c6f565b610cf347610ccf611c83565b73ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b50565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610d2081611c6f565b6028831115610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b90613afd565b60405180910390fd5b82821115610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e90613b69565b60405180910390fd5b8260118190555081601281905550505050565b600080610dc5611c83565b9050610dd2858285611fb2565b610ddd85858561203e565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b6000610e1661dead61103e565b610e1e610c8f565b610e289190613bb8565b905090565b610e3682610de9565b610e3f81611c6f565b610e49838361239e565b505050565b6000600a60159054906101000a900460ff16905090565b610e6d611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190613c5e565b60405180910390fd5b610ee4828261247f565b5050565b600080610ef3611c83565b9050610f14818585610f058589611859565b610f0f9190613c7e565b611cf5565b600191505092915050565b60115481565b60145481565b6000807f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401610fa99190613748565b602060405180830381865afa158015610fc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fea91906139b9565b90506000611019600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661103e565b90508064e8d4a510008361102d9190613cb2565b6110379190613d23565b9250505090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61108e612561565b61109860006125df565b565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086110c481611c6f565b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600064e8d4a510006111c7610e09565b6111cf610f2b565b6111d99190613cb2565b6111e39190613d23565b905090565b600f5481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606004805461126890613a80565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613a80565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b5050505050905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861131581611c6f565b60006014541461135a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135190613da0565b60405180910390fd5b4360148190555060005b83839050811015611435576114226113f5611390662386f26fc1000060026126a590919063ffffffff16565b6113e7662386f26fc1000060016113cf60068b8b8a8181106113b5576113b4613dc0565b5b90506020020160208101906113ca9190613315565b6126bb565b6113d99190613c7e565b6126a590919063ffffffff16565b6126fe90919063ffffffff16565b85858481811061140857611407613dc0565b5b905060200201602081019061141d9190613315565b612714565b808061142d90613def565b915050611364565b50505050565b6000801b81565b60008061144d611c83565b9050600061145b8286611859565b9050838110156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790613ea9565b60405180910390fd5b6114ad8286868403611cf5565b60019250505092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806114ea611c83565b90506114f781858561203e565b600191505092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861152c81611c6f565b600061153e611539611c83565b61103e565b905061155261154b611c83565b3083611cf5565b61156461155d611c83565b308361203e565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7193430846000806115b0611c83565b601e426115bd9190613c7e565b6040518863ffffffff1660e01b81526004016115de96959493929190613f0e565b60606040518083038185885af11580156115fc573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116219190613f6f565b5050505050565b60135481565b60105481565b60125481565b60006116536013546014546126fe90919063ffffffff16565b4311611663576010549050611715565b600061168e61167f6013546014546126fe90919063ffffffff16565b4361298790919063ffffffff16565b905060006116a6600a836126a590919063ffffffff16565b90506116bf60115460105461298790919063ffffffff16565b81106116fb578380156116de5750600a60149054906101000a900460ff165b156116ef5760125492505050611715565b60115492505050611715565b6117108160105461298790919063ffffffff16565b925050505b919050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861174481611c6f565b6103e861176c8361175e86886126fe90919063ffffffff16565b6126fe90919063ffffffff16565b146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390614034565b60405180910390fd5b604051806060016040528085815260200184815260200183815250601560008201518160000155602082015181600101556040820151816002015590505050505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861181a81611c6f565b81600a60146101000a81548160ff0219169083151502179055505050565b61184182610de9565b61184a81611c6f565b611854838361247f565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60158060000154908060010154908060020154905083565b611900612561565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361196f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611966906140c6565b60405180910390fd5b611978816125df565b50565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b086119a581611c6f565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3691906140fb565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396307f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26040518363ffffffff1660e01b8152600401611a90929190614128565b6020604051808303816000875af1158015611aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad391906140fb565b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611bb09291906139e6565b6020604051808303816000875af1158015611bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf39190613a24565b50611c4130600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611cf5565b611c6c30307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611cf5565b50565b611c8081611c7b611c83565b61299d565b50565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b906141c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614255565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611eb19190613534565b60405180910390a3505050565b80471015611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef8906142c1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611f2790614312565b60006040518083038185875af1925050503d8060008114611f64576040519150601f19603f3d011682016040523d82523d6000602084013e611f69565b606091505b5050905080611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa490614399565b60405180910390fd5b505050565b6000611fbe8484611859565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612038578181101561202a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202190614405565b60405180910390fd5b6120378484848403611cf5565b5b50505050565b60008111612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890614471565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561212d5750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156121425761213d838383612a22565b612399565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612259576000601454116121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d3906144dd565b60405180910390fd5b600061220e6103e86122006121f1600161163a565b856126a590919063ffffffff16565b612c9890919063ffffffff16565b905061222581600f546126fe90919063ffffffff16565b600f81905550612236843083612a22565b612253848461224e848661298790919063ffffffff16565b612a22565b50612399565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361239857600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156123105761230b838383612a22565b612399565b60006123426103e8612334612325600061163a565b856126a590919063ffffffff16565b612c9890919063ffffffff16565b905061235981600f546126fe90919063ffffffff16565b600f8190555061236a843083612a22565b612375600f54612cae565b612392848461238d848661298790919063ffffffff16565b612a22565b50612399565b5b505050565b6123a882826111ee565b61247b5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612420611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61248982826111ee565b1561255d5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612502611c83565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612569611c83565b73ffffffffffffffffffffffffffffffffffffffff1661258761118d565b73ffffffffffffffffffffffffffffffffffffffff16146125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614549565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836126b39190613cb2565b905092915050565b6000824244846040516020016126d3939291906145d2565b6040516020818303038152906040528051906020012060001c6126f6919061460f565b905092915050565b6000818361270c9190613c7e565b905092915050565b6000600267ffffffffffffffff81111561273157612730614640565b5b60405190808252806020026020018201604052801561275f5781602001602082028036833780820191505090505b5090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061279757612796613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505030816001815181106127e6576127e5613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161287b9190613748565b602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc91906139b9565b905060008414806128cc57508084115b156128d5578093505b600084111561298157600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587601e4261292e9190613c7e565b6040518663ffffffff1660e01b815260040161294e95949392919061472d565b600060405180830381600087803b15801561296857600080fd5b505af115801561297c573d6000803e3d6000fd5b505050505b50505050565b600081836129959190613bb8565b905092915050565b6129a782826111ee565b612a1e576129b48161303a565b6129c28360001c6020613067565b6040516020016129d392919061485b565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a15919061348d565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8890614907565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af790614999565b60405180910390fd5b612b0b8383836132a3565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8890614a2b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7f9190613534565b60405180910390a3612c928484846132a8565b50505050565b60008183612ca69190613d23565b905092915050565b6000612cb93061103e565b90506000600267ffffffffffffffff811115612cd857612cd7614640565b5b604051908082528060200260200182016040528015612d065781602001602082028036833780820191505090505b5090503081600081518110612d1e57612d1d613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110612d8d57612d8c613dc0565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600c54831115612dd757600c5492505b81831115612de3578192505b6000831115613035576000479050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478560008530601e42612e419190613c7e565b6040518663ffffffff1660e01b8152600401612e6195949392919061472d565b600060405180830381600087803b158015612e7b57600080fd5b505af1158015612e8f573d6000803e3d6000fd5b505050506000612ea8824761298790919063ffffffff16565b9050612ebf85600f5461298790919063ffffffff16565b600f819055506000612ef36103e8612ee5601560000154856126a590919063ffffffff16565b612c9890919063ffffffff16565b9050612f4081600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b6000612f6e6103e8612f60601560010154866126a590919063ffffffff16565b612c9890919063ffffffff16565b9050612fbb81600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b6000612fe282612fd4858761298790919063ffffffff16565b61298790919063ffffffff16565b905061302f81600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ebe90919063ffffffff16565b50505050505b505050565b60606130608273ffffffffffffffffffffffffffffffffffffffff16601460ff16613067565b9050919050565b60606000600283600261307a9190613cb2565b6130849190613c7e565b67ffffffffffffffff81111561309d5761309c614640565b5b6040519080825280601f01601f1916602001820160405280156130cf5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061310757613106613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061316b5761316a613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026131ab9190613cb2565b6131b59190613c7e565b90505b6001811115613255577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106131f7576131f6613dc0565b5b1a60f81b82828151811061320e5761320d613dc0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061324e90614a4b565b90506131b8565b5060008414613299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090614ac0565b60405180910390fd5b8091505092915050565b505050565b505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132e2826132b7565b9050919050565b6132f2816132d7565b81146132fd57600080fd5b50565b60008135905061330f816132e9565b92915050565b60006020828403121561332b5761332a6132ad565b5b600061333984828501613300565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61337781613342565b811461338257600080fd5b50565b6000813590506133948161336e565b92915050565b6000602082840312156133b0576133af6132ad565b5b60006133be84828501613385565b91505092915050565b60008115159050919050565b6133dc816133c7565b82525050565b60006020820190506133f760008301846133d3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561343757808201518184015260208101905061341c565b60008484015250505050565b6000601f19601f8301169050919050565b600061345f826133fd565b6134698185613408565b9350613479818560208601613419565b61348281613443565b840191505092915050565b600060208201905081810360008301526134a78184613454565b905092915050565b6000819050919050565b6134c2816134af565b81146134cd57600080fd5b50565b6000813590506134df816134b9565b92915050565b600080604083850312156134fc576134fb6132ad565b5b600061350a85828601613300565b925050602061351b858286016134d0565b9150509250929050565b61352e816134af565b82525050565b60006020820190506135496000830184613525565b92915050565b60008060408385031215613566576135656132ad565b5b6000613574858286016134d0565b9250506020613585858286016134d0565b9150509250929050565b6000806000606084860312156135a8576135a76132ad565b5b60006135b686828701613300565b93505060206135c786828701613300565b92505060406135d8868287016134d0565b9150509250925092565b6000819050919050565b6135f5816135e2565b811461360057600080fd5b50565b600081359050613612816135ec565b92915050565b60006020828403121561362e5761362d6132ad565b5b600061363c84828501613603565b91505092915050565b61364e816135e2565b82525050565b60006020820190506136696000830184613645565b92915050565b60008060408385031215613686576136856132ad565b5b600061369485828601613603565b92505060206136a585828601613300565b9150509250929050565b600060ff82169050919050565b6136c5816136af565b82525050565b60006020820190506136e060008301846136bc565b92915050565b6000806000606084860312156136ff576136fe6132ad565b5b600061370d86828701613300565b935050602061371e86828701613300565b925050604061372f86828701613300565b9150509250925092565b613742816132d7565b82525050565b600060208201905061375d6000830184613739565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261378857613787613763565b5b8235905067ffffffffffffffff8111156137a5576137a4613768565b5b6020830191508360208202830111156137c1576137c061376d565b5b9250929050565b600080602083850312156137df576137de6132ad565b5b600083013567ffffffffffffffff8111156137fd576137fc6132b2565b5b61380985828601613772565b92509250509250929050565b61381e816133c7565b811461382957600080fd5b50565b60008135905061383b81613815565b92915050565b600060208284031215613857576138566132ad565b5b60006138658482850161382c565b91505092915050565b600080600060608486031215613887576138866132ad565b5b6000613895868287016134d0565b93505060206138a6868287016134d0565b92505060406138b7868287016134d0565b9150509250925092565b600080604083850312156138d8576138d76132ad565b5b60006138e685828601613300565b92505060206138f785828601613300565b9150509250929050565b60006060820190506139166000830186613525565b6139236020830185613525565b6139306040830184613525565b949350505050565b7f43616e206e6f7420726573637565206f776e20746f6b656e0000000000000000600082015250565b600061396e601883613408565b915061397982613938565b602082019050919050565b6000602082019050818103600083015261399d81613961565b9050919050565b6000815190506139b3816134b9565b92915050565b6000602082840312156139cf576139ce6132ad565b5b60006139dd848285016139a4565b91505092915050565b60006040820190506139fb6000830185613739565b613a086020830184613525565b9392505050565b600081519050613a1e81613815565b92915050565b600060208284031215613a3a57613a396132ad565b5b6000613a4884828501613a0f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a9857607f821691505b602082108103613aab57613aaa613a51565b5b50919050565b7f4d757374206265206c746520746f207374617274696e67207461780000000000600082015250565b6000613ae7601b83613408565b9150613af282613ab1565b602082019050919050565b60006020820190508181036000830152613b1681613ada565b9050919050565b7f4d757374206265206c746520746f206e6f726d616c2074617800000000000000600082015250565b6000613b53601983613408565b9150613b5e82613b1d565b602082019050919050565b60006020820190508181036000830152613b8281613b46565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bc3826134af565b9150613bce836134af565b9250828203905081811115613be657613be5613b89565b5b92915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c48602f83613408565b9150613c5382613bec565b604082019050919050565b60006020820190508181036000830152613c7781613c3b565b9050919050565b6000613c89826134af565b9150613c94836134af565b9250828201905080821115613cac57613cab613b89565b5b92915050565b6000613cbd826134af565b9150613cc8836134af565b9250828202613cd6816134af565b91508282048414831517613ced57613cec613b89565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d2e826134af565b9150613d39836134af565b925082613d4957613d48613cf4565b5b828204905092915050565b7f54726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b6000613d8a601783613408565b9150613d9582613d54565b602082019050919050565b60006020820190508181036000830152613db981613d7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613dfa826134af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e2c57613e2b613b89565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613e93602583613408565b9150613e9e82613e37565b604082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b6000819050919050565b6000819050919050565b6000613ef8613ef3613eee84613ec9565b613ed3565b6134af565b9050919050565b613f0881613edd565b82525050565b600060c082019050613f236000830189613739565b613f306020830188613525565b613f3d6040830187613eff565b613f4a6060830186613eff565b613f576080830185613739565b613f6460a0830184613525565b979650505050505050565b600080600060608486031215613f8857613f876132ad565b5b6000613f96868287016139a4565b9350506020613fa7868287016139a4565b9250506040613fb8868287016139a4565b9150509250925092565b7f496e636f727265637420656e74727920666f722074617820616c6c6f6361746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b600061401e602283613408565b915061402982613fc2565b604082019050919050565b6000602082019050818103600083015261404d81614011565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140b0602683613408565b91506140bb82614054565b604082019050919050565b600060208201905081810360008301526140df816140a3565b9050919050565b6000815190506140f5816132e9565b92915050565b600060208284031215614111576141106132ad565b5b600061411f848285016140e6565b91505092915050565b600060408201905061413d6000830185613739565b61414a6020830184613739565b9392505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006141ad602483613408565b91506141b882614151565b604082019050919050565b600060208201905081810360008301526141dc816141a0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061423f602283613408565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006142ab601d83613408565b91506142b682614275565b602082019050919050565b600060208201905081810360008301526142da8161429e565b9050919050565b600081905092915050565b50565b60006142fc6000836142e1565b9150614307826142ec565b600082019050919050565b600061431d826142ef565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614383603a83613408565b915061438e82614327565b604082019050919050565b600060208201905081810360008301526143b281614376565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006143ef601d83613408565b91506143fa826143b9565b602082019050919050565b6000602082019050818103600083015261441e816143e2565b9050919050565b7f416d6f756e74206d757374206265206774203000000000000000000000000000600082015250565b600061445b601383613408565b915061446682614425565b602082019050919050565b6000602082019050818103600083015261448a8161444e565b9050919050565b7f54726164696e67206973206e6f74206f70656e20796574000000000000000000600082015250565b60006144c7601783613408565b91506144d282614491565b602082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614533602083613408565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b6000819050919050565b61458461457f826134af565b614569565b82525050565b60008160601b9050919050565b60006145a28261458a565b9050919050565b60006145b482614597565b9050919050565b6145cc6145c7826132d7565b6145a9565b82525050565b60006145de8286614573565b6020820191506145ee8285614573565b6020820191506145fe82846145bb565b601482019150819050949350505050565b600061461a826134af565b9150614625836134af565b92508261463557614634613cf4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146a4816132d7565b82525050565b60006146b6838361469b565b60208301905092915050565b6000602082019050919050565b60006146da8261466f565b6146e4818561467a565b93506146ef8361468b565b8060005b8381101561472057815161470788826146aa565b9750614712836146c2565b9250506001810190506146f3565b5085935050505092915050565b600060a0820190506147426000830188613525565b61474f6020830187613eff565b818103604083015261476181866146cf565b90506147706060830185613739565b61477d6080830184613525565b9695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006147c8601783614787565b91506147d382614792565b601782019050919050565b60006147e9826133fd565b6147f38185614787565b9350614803818560208601613419565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614845601183614787565b91506148508261480f565b601182019050919050565b6000614866826147bb565b915061487282856147de565b915061487d82614838565b915061488982846147de565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006148f1602583613408565b91506148fc82614895565b604082019050919050565b60006020820190508181036000830152614920816148e4565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614983602383613408565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614a15602683613408565b9150614a20826149b9565b604082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b6000614a56826134af565b915060008203614a6957614a68613b89565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614aaa602083613408565b9150614ab582614a74565b602082019050919050565b60006020820190508181036000830152614ad981614a9d565b905091905056fea2646970667358221220166dda994491ad0cf5fd6e168010ac8eb3582ca6701472c89189d773955b310264736f6c63430008130033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.