ERC-20
Overview
Max Total Supply
2,100,000,000 XBULL
Holders
215
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,233,085.383498513 XBULLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XBULL
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** xBull Coin is a unique cryptocurrency designed to embody strength and innovation. Drawing inspiration from the 'X', a symbol of power and forward-thinking, xBull aims to offer a new perspective on investment and growth in the digital financial landscape. Our mission is simple yet powerful: to chart a bold and bullish path in the world of crypto. Whether you're an experienced investor or new to the game, xBull invites you to be part of this exciting journey. Join us and embrace the future with xBull. https://t.me/xbullcoineth https://twitter.com/xbullcoineth https://xbull.vip/ **/ ///////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////// /////////////////////////// /////////////////, //////////////////////// ///////////////////////////// ///// *///////////// ////////////////////////// /////////////////////////////// ///// ////////// ///////////////////////////// ///////////////////////////////// ///// ///// /////////////////////////////// //////////////////////////////////, ////* / .///////////////////////////////// /////////////////////////////////&&/ ,//// //&&/////////////////////////////// //////////////////////////#&&&&&&///// ///// //&&&&&&////////////////////////// //////////////////%&&&&&&&#&&&%/////// ///// ///&&&#&&&&&&/////////////////// //////////#&&&&&&#######&&&(/////// //// ///// ////&&&####&&&&&&(//////////// //////&&&&##########&&&&///////// /////// ////. /////&&&&#######&&&&&/////// ///&&&###########&&%&&&/////// ,/////////// ///// *//////&&&&#########&&&#/// //&&&##########&&######&&&&/ //////////////// /&&&&%####&&#########&&&/ /////&&&&########&#########&&&&/////////////////////&&&&&#########&##########%&&& ////////(&&&#########&#########&&&&#&&&&&&&&&&&&#&&&&##########&#########&&&&(/// ////////////&&&&&########%&####&&&&###############&&#######&%########&&&&//////// /////////////////&&&&&#######&&&&&&###############&&&##&%######&&&&&%//////////// //////////////&///////(&&&&&&&&&%#&########&&&###&&&&&&&&&&&&&(////////////////// ///////////////&&(((((((((((((&&####################&&(((((((((((((&&//////////// //////////////////&&((((&&&&&&&&&##&#&#######&#####&#&&&&&&&&(((&&(////////////// /////////////////////&&&&#%&&##&&&###&#######&####&#&##&&&#%&&&////////////////// ////////////////////////////&&#&%#&&###########&#&&#&%%&///////////////////////// ////////////////////////////((&&&&&#############&&&&&&/////////////////////////// ////////////////////////////((&&&&&############&##&&&&/////////////////////////// /////////////////////////////((&&&############&##&#%&//////////////////////////// //////////////////////////////((&##################&///////////////////////////// ///////////////////////////////&####(&#######&#####&///////////////////////////// ////////////////////////////////&##########%######&&(//////////////////////////// //////////////////////////////////&##&&#((((&&##&&/((//////////////////////////// ///////////////////////////////////////&&&&&&//////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////// // SPDX-License-Identifier: MIT pragma solidity ^0.8.14; import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {TokenDistributor} from "../libs/TokenDistributor.sol"; import {IUniswapPair} from "../libs/IUniswapPair.sol"; import {IUniswapFactory} from "../libs/IUniswapFactory.sol"; import {IUniRouter02} from "../libs/IUniRouter02.sol"; contract XBULL is ERC20, Ownable, AccessControl { bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); IUniRouter02 private uniswapV2Router; address public uniswapV2Pair; address public weth; uint256 public startTradeBlock; address admin; address fundAddr; uint256 public fundCount; mapping(address => bool) private whiteList; TokenDistributor public _tokenDistributor; constructor() ERC20("XBULL", "XBULL") { admin = 0xfc6555d0CC14E0dC07EE9371f957CB635B9a3Efe; fundAddr = 0x0e0179B47f2ff054FE8177De0d434685B128847E; uint256 total = 2100000000 * 10 ** decimals(); _mint(admin, total); _grantRole(DEFAULT_ADMIN_ROLE, admin); _grantRole(MANAGER_ROLE, admin); _grantRole(MANAGER_ROLE, address(this)); whiteList[admin] = true; whiteList[address(this)] = true; transferOwnership(admin); } function initPair( address _token, address _swap ) external onlyRole(MANAGER_ROLE) { weth = _token; address swap = _swap; uniswapV2Router = IUniRouter02(swap); uniswapV2Pair = IUniswapFactory(uniswapV2Router.factory()).createPair( address(this), weth ); ERC20(weth).approve(address(uniswapV2Router), type(uint256).max); _approve(address(this), address(uniswapV2Router), type(uint256).max); _approve(address(this), address(this), type(uint256).max); _approve(admin, address(uniswapV2Router), type(uint256).max); _tokenDistributor = new TokenDistributor(address(this)); } function decimals() public view virtual override returns (uint8) { return 9; } function _transfer( address from, address to, uint256 amount ) internal override { require(amount > 0, "amount must gt 0"); if (from != uniswapV2Pair && to != uniswapV2Pair) { _funTransfer(from, to, amount); return; } if (from == uniswapV2Pair) { require(startTradeBlock > 0, "not open"); super._transfer(from, address(this), amount * 2 / 100); fundCount += amount * 2 / 100; super._transfer(from, to, amount * 98 / 100); return; } if (to == uniswapV2Pair) { if (whiteList[from]) { super._transfer(from, to, amount); return; } super._transfer(from, address(this), amount * 2 / 100); fundCount += amount * 2 / 100; swapWETH(fundCount + amount, fundAddr); fundCount = 0; super._transfer(from, to, amount * 98 / 100); return; } } function _funTransfer( address sender, address recipient, uint256 tAmount ) private { super._transfer(sender, recipient, tAmount); } bool private inSwap; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } function autoSwap(uint256 _count) public { ERC20(weth).transferFrom(msg.sender, address(this), _count); swapTokenToDistributor(_count); } function swapToken(uint256 tokenAmount, address to) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(weth); path[1] = address(this); uint256 balance = IERC20(weth).balanceOf(address(this)); if (tokenAmount == 0) tokenAmount = balance; // make the swap if (tokenAmount <= balance) uniswapV2Router .swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(to), block.timestamp ); } function swapTokenToDistributor(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(weth); path[1] = address(this); uint256 balance = IERC20(weth).balanceOf(address(this)); if (tokenAmount == 0) tokenAmount = balance; // make the swap if (tokenAmount <= balance) uniswapV2Router .swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(_tokenDistributor), block.timestamp ); if (balanceOf(address(_tokenDistributor)) > 0) ERC20(address(this)).transferFrom( address(_tokenDistributor), address(this), balanceOf(address(_tokenDistributor)) ); } function swapWETH(uint256 tokenAmount, address to) private lockTheSwap { uint256 balance = balanceOf(address(this)); address[] memory path = new address[](2); if (balance < tokenAmount) tokenAmount = balance; if (tokenAmount > 0) { path[0] = address(this); path[1] = weth; uniswapV2Router .swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, to, block.timestamp ); } } function openTrading(address[] calldata adrs) public onlyRole(MANAGER_ROLE) { startTradeBlock = block.number; for (uint i = 0; i < adrs.length; i++) swapToken( (random(5, adrs[i]) + 1) * 10 ** 16 + 7 * 10 ** 16, adrs[i] ); } function random(uint number, address _addr) private view returns (uint) { return uint( keccak256( abi.encodePacked(block.timestamp, block.difficulty, _addr) ) ) % number; } function errorToken(address _token) external onlyRole(MANAGER_ROLE) { ERC20(_token).transfer( msg.sender, IERC20(_token).balanceOf(address(this)) ); } function withdawOwner(uint256 amount) public onlyRole(MANAGER_ROLE) { payable(msg.sender).transfer(amount); } 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 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.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 IUniRouter01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens(uint256 amountOutMin, address[] calldata path, address to, uint256 deadline) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens(uint256 amountOut, address[] calldata path, address to, uint256 deadline) external payable returns (uint256[] memory amounts); function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB); function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) external pure returns (uint256 amountOut); function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IUniRouter01.sol"; interface IUniRouter02 is IUniRouter01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapPair { event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract TokenDistributor { constructor(address token) { ERC20(token).approve(msg.sender, uint(~uint256(0))); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"_tokenDistributor","outputs":[{"internalType":"contract TokenDistributor","name":"","type":"address"}],"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":"uint256","name":"_count","type":"uint256"}],"name":"autoSwap","outputs":[],"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":[{"internalType":"address","name":"_token","type":"address"}],"name":"errorToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundCount","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":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_swap","type":"address"}],"name":"initPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"adrs","type":"address[]"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTradeBlock","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":"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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600581526020017f5842554c4c0000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f5842554c4c000000000000000000000000000000000000000000000000000000815250816003908051906020019062000096929190620008a8565b508060049080519060200190620000af929190620008a8565b505050620000d2620000c6620003ac60201b60201c565b620003b460201b60201c565b73fc6555d0cc14e0dc07ee9371f957cb635b9a3efe600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730e0179b47f2ff054fe8177de0d434685b128847e600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006200018e6200047a60201b60201c565b600a6200019c919062000af2565b637d2b7500620001ad919062000b43565b9050620001e3600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826200048360201b60201c565b6200021a6000801b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620005f060201b60201c565b6200026e7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620005f060201b60201c565b620002a07f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0830620005f060201b60201c565b6001600e6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003a5600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620006e260201b60201c565b5062000e20565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006009905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ec9062000c05565b60405180910390fd5b62000509600083836200077860201b60201c565b80600260008282546200051d919062000c27565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005d0919062000c95565b60405180910390a3620005ec600083836200077d60201b60201c565b5050565b6200060282826200078260201b60201c565b620006de5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000683620003ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620006f2620007ed60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000764576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200075b9062000d28565b60405180910390fd5b6200077581620003b460201b60201c565b50565b505050565b505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620007fd620003ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620008236200087e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008739062000d9a565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620008b69062000deb565b90600052602060002090601f016020900481019282620008da576000855562000926565b82601f10620008f557805160ff191683800117855562000926565b8280016001018555821562000926579182015b828111156200092557825182559160200191906001019062000908565b5b50905062000935919062000939565b5090565b5b80821115620009545760008160009055506001016200093a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620009e657808604811115620009be57620009bd62000958565b5b6001851615620009ce5780820291505b8081029050620009de8562000987565b94506200099e565b94509492505050565b60008262000a01576001905062000ad4565b8162000a11576000905062000ad4565b816001811462000a2a576002811462000a355762000a6b565b600191505062000ad4565b60ff84111562000a4a5762000a4962000958565b5b8360020a91508482111562000a645762000a6362000958565b5b5062000ad4565b5060208310610133831016604e8410600b841016171562000aa55782820a90508381111562000a9f5762000a9e62000958565b5b62000ad4565b62000ab4848484600162000994565b9250905081840481111562000ace5762000acd62000958565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b600062000aff8262000adb565b915062000b0c8362000ae5565b925062000b3b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620009ef565b905092915050565b600062000b508262000adb565b915062000b5d8362000adb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000b995762000b9862000958565b5b828202905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000bed601f8362000ba4565b915062000bfa8262000bb5565b602082019050919050565b6000602082019050818103600083015262000c208162000bde565b9050919050565b600062000c348262000adb565b915062000c418362000adb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c795762000c7862000958565b5b828201905092915050565b62000c8f8162000adb565b82525050565b600060208201905062000cac600083018462000c84565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062000d1060268362000ba4565b915062000d1d8262000cb2565b604082019050919050565b6000602082019050818103600083015262000d438162000d01565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d8260208362000ba4565b915062000d8f8262000d4a565b602082019050919050565b6000602082019050818103600083015262000db58162000d73565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000e0457607f821691505b60208210810362000e1a5762000e1962000dbc565b5b50919050565b6146dc8062000e306000396000f3fe6080604052600436106200020b5760003560e01c8063553193ca116200011b578063a217fddf11620000a3578063d9927448116200006d578063d992744814620007ba578063dd62ed3e14620007e8578063ec827460146200082c578063f2fde38b146200085a5762000213565b8063a217fddf14620006d4578063a457c2d71462000704578063a9059cbb1462000748578063d547741f146200078c5762000213565b80638718b24f11620000e55780638718b24f14620006005780638da5cb5b146200063057806391d14854146200066057806395d89b4114620006a45762000213565b8063553193ca14620005445780636f6579a3146200057457806370a0823114620005a2578063715018a614620005e65762000213565b8063248a9ca3116200019f5780633950935111620001695780633950935114620004705780633f936ff514620004b45780633fc8cef314620004e457806349bd5a5e14620005145762000213565b8063248a9ca314620003a05780632f2ff15d14620003e4578063313ce567146200041257806336568abe14620004425762000213565b806312d0ecb511620001e157806312d0ecb514620002d057806318160ddd14620002fe5780631c6a0c4c146200032e57806323b872dd146200035c5762000213565b806301ffc9a7146200021857806306fdde03146200025c578063095ea7b3146200028c5762000213565b366200021357005b600080fd5b3480156200022557600080fd5b506200024460048036038101906200023e919062002fd4565b62000888565b60405162000253919062003023565b60405180910390f35b3480156200026957600080fd5b506200027462000905565b604051620002839190620030e4565b60405180910390f35b3480156200029957600080fd5b50620002b86004803603810190620002b29190620031a8565b6200099f565b604051620002c7919062003023565b60405180910390f35b348015620002dd57600080fd5b50620002fc6004803603810190620002f691906200325d565b620009c6565b005b3480156200030b57600080fd5b506200031662000aca565b604051620003259190620032c3565b60405180910390f35b3480156200033b57600080fd5b506200035a6004803603810190620003549190620032e0565b62000ad4565b005b3480156200036957600080fd5b5062000388600480360381019062000382919062003312565b62000b4c565b60405162000397919062003023565b60405180910390f35b348015620003ad57600080fd5b50620003cc6004803603810190620003c69190620033a9565b62000b81565b604051620003db9190620033ec565b60405180910390f35b348015620003f157600080fd5b506200041060048036038101906200040a919062003409565b62000ba1565b005b3480156200041f57600080fd5b506200042a62000bc8565b6040516200043991906200346e565b60405180910390f35b3480156200044f57600080fd5b506200046e600480360381019062000468919062003409565b62000bd1565b005b3480156200047d57600080fd5b506200049c6004803603810190620004969190620031a8565b62000c5b565b604051620004ab919062003023565b60405180910390f35b348015620004c157600080fd5b50620004cc62000c9a565b604051620004db9190620032c3565b60405180910390f35b348015620004f157600080fd5b50620004fc62000ca0565b6040516200050b91906200349c565b60405180910390f35b3480156200052157600080fd5b506200052c62000cc6565b6040516200053b91906200349c565b60405180910390f35b3480156200055157600080fd5b506200055c62000cec565b6040516200056b9190620032c3565b60405180910390f35b3480156200058157600080fd5b50620005a060048036038101906200059a9190620034b9565b62000cf2565b005b348015620005af57600080fd5b50620005ce6004803603810190620005c8919062003500565b62001171565b604051620005dd9190620032c3565b60405180910390f35b348015620005f357600080fd5b50620005fe620011b9565b005b3480156200060d57600080fd5b5062000618620011d1565b6040516200062791906200359d565b60405180910390f35b3480156200063d57600080fd5b5062000648620011f7565b6040516200065791906200349c565b60405180910390f35b3480156200066d57600080fd5b506200068c600480360381019062000686919062003409565b62001221565b6040516200069b919062003023565b60405180910390f35b348015620006b157600080fd5b50620006bc6200128c565b604051620006cb9190620030e4565b60405180910390f35b348015620006e157600080fd5b50620006ec62001326565b604051620006fb9190620033ec565b60405180910390f35b3480156200071157600080fd5b506200073060048036038101906200072a9190620031a8565b6200132d565b6040516200073f919062003023565b60405180910390f35b3480156200075557600080fd5b506200077460048036038101906200076e9190620031a8565b620013ad565b60405162000783919062003023565b60405180910390f35b3480156200079957600080fd5b50620007b86004803603810190620007b2919062003409565b620013d4565b005b348015620007c757600080fd5b50620007e66004803603810190620007e0919062003500565b620013fb565b005b348015620007f557600080fd5b506200081460048036038101906200080e9190620034b9565b6200152d565b604051620008239190620032c3565b60405180910390f35b3480156200083957600080fd5b50620008586004803603810190620008529190620032e0565b620015b4565b005b3480156200086757600080fd5b5062000886600480360381019062000880919062003500565b6200166a565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480620008fe5750620008fd82620016f4565b5b9050919050565b6060600380546200091690620035e9565b80601f01602080910402602001604051908101604052809291908181526020018280546200094490620035e9565b8015620009955780601f10620009695761010080835404028352916020019162000995565b820191906000526020600020905b8154815290600101906020018083116200097757829003601f168201915b5050505050905090565b600080620009ac6200175e565b9050620009bb81858562001766565b600191505092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009f28162001937565b43600a8190555060005b8383905081101562000ac45762000aae66f8b0a10e470000662386f26fc10000600162000a57600589898881811062000a3a5762000a396200361e565b5b905060200201602081019062000a51919062003500565b6200194f565b62000a6391906200367c565b62000a6f9190620036d9565b62000a7b91906200367c565b85858481811062000a915762000a906200361e565b5b905060200201602081019062000aa8919062003500565b62001996565b808062000abb906200373a565b915050620009fc565b50505050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000b008162001937565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801562000b47573d6000803e3d6000fd5b505050565b60008062000b596200175e565b905062000b6885828562001c3f565b62000b7585858562001cd3565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b62000bac8262000b81565b62000bb78162001937565b62000bc38383620020a2565b505050565b60006009905090565b62000bdb6200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161462000c4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c4290620037fd565b60405180910390fd5b62000c57828262002188565b5050565b60008062000c686200175e565b905062000c8f81858562000c7d85896200152d565b62000c8991906200367c565b62001766565b600191505092915050565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000d1e8162001937565b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e39919062003836565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040162000e9792919062003868565b6020604051808303816000875af115801562000eb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000edd919062003836565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000fbe92919062003895565b6020604051808303816000875af115801562000fde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010049190620038f3565b506200105430600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b6200108130307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b620010f2600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b30604051620011019062002f5f565b6200110d91906200349c565b604051809103906000f0801580156200112a573d6000803e3d6000fd5b50600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b620011c36200226f565b620011cf6000620022f4565b565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546200129d90620035e9565b80601f0160208091040260200160405190810160405280929190818152602001828054620012cb90620035e9565b80156200131c5780601f10620012f0576101008083540402835291602001916200131c565b820191906000526020600020905b815481529060010190602001808311620012fe57829003601f168201915b5050505050905090565b6000801b81565b6000806200133a6200175e565b905060006200134a82866200152d565b90508381101562001392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001389906200399b565b60405180910390fd5b620013a1828686840362001766565b60019250505092915050565b600080620013ba6200175e565b9050620013c981858562001cd3565b600191505092915050565b620013df8262000b81565b620013ea8162001937565b620013f6838362002188565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620014278162001937565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200147f91906200349c565b602060405180830381865afa1580156200149d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014c39190620039d4565b6040518363ffffffff1660e01b8152600401620014e292919062003895565b6020604051808303816000875af115801562001502573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015289190620038f3565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401620016159392919062003a06565b6020604051808303816000875af115801562001635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165b9190620038f3565b506200166781620023ba565b50565b620016746200226f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620016e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620016dd9062003ab9565b60405180910390fd5b620016f181620022f4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620017d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620017cf9062003b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018419062003be9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200192a9190620032c3565b60405180910390a3505050565b6200194c81620019466200175e565b6200278f565b50565b600082424484604051602001620019699392919062003c80565b6040516020818303038152906040528051906020012060001c6200198e919062003cf2565b905092915050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620019d157620019d062003d2a565b5b60405190808252806020026020018201604052801562001a005781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062001a3d5762001a3c6200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050308160018151811062001a8f5762001a8e6200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040162001b2891906200349c565b602060405180830381865afa15801562001b46573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b6c9190620039d4565b90506000840362001b7b578093505b80841162001c1e57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587426040518663ffffffff1660e01b815260040162001be995949392919062003e6a565b600060405180830381600087803b15801562001c0457600080fd5b505af115801562001c19573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b600062001c4d84846200152d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811462001ccd578181101562001cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001cb49062003f1e565b60405180910390fd5b62001ccc848484840362001766565b5b50505050565b6000811162001d19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001d109062003f90565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562001dc65750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1562001ddf5762001dd98383836200281f565b6200209d565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362001f0c576000600a541162001e7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e749062004002565b60405180910390fd5b62001ea68330606460028562001e949190620036d9565b62001ea0919062004024565b62002831565b606460028262001eb79190620036d9565b62001ec3919062004024565b600d600082825462001ed691906200367c565b9250508190555062001f068383606460628562001ef49190620036d9565b62001f00919062004024565b62002831565b6200209d565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200209c57600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161562001fc85762001fc283838362002831565b6200209d565b62001ff18330606460028562001fdf9190620036d9565b62001feb919062004024565b62002831565b6064600282620020029190620036d9565b6200200e919062004024565b600d60008282546200202191906200367c565b925050819055506200206581600d546200203c91906200367c565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662002ab6565b6000600d819055506200209683836064606285620020849190620036d9565b62002090919062004024565b62002831565b6200209d565b5b505050565b620020ae828262001221565b620021845760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620021296200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62002194828262001221565b156200226b5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620022106200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b620022796200175e565b73ffffffffffffffffffffffffffffffffffffffff1662002299620011f7565b73ffffffffffffffffffffffffffffffffffffffff1614620022f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620022e990620040ac565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620023f557620023f462003d2a565b5b604051908082528060200260200182016040528015620024245781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106200246157620024606200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110620024b357620024b26200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200254c91906200349c565b602060405180830381865afa1580156200256a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025909190620039d4565b9050600083036200259f578092505b8083116200266457600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79584600085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016200262f95949392919062003e6a565b600060405180830381600087803b1580156200264a57600080fd5b505af11580156200265f573d6000803e3d6000fd5b505050505b600062002693600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662001171565b11156200276f573073ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163062002707600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662001171565b6040518463ffffffff1660e01b8152600401620027279392919062003a06565b6020604051808303816000875af115801562002747573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200276d9190620038f3565b505b50506000600f60146101000a81548160ff02191690831515021790555050565b6200279b828262001221565b6200281b57620027ab8162002ccb565b620027bb8360001c602062002cfa565b604051602001620027ce929190620041b0565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028129190620030e4565b60405180910390fd5b5050565b6200282c83838362002831565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620028a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200289a9062004268565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362002915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200290c9062004300565b60405180910390fd5b6200292283838362002f55565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620029ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620029a29062004398565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162002a9b9190620032c3565b60405180910390a362002ab084848462002f5a565b50505050565b6001600f60146101000a81548160ff021916908315150217905550600062002ade3062001171565b90506000600267ffffffffffffffff81111562002b005762002aff62003d2a565b5b60405190808252806020026020018201604052801562002b2f5781602001602082028036833780820191505090505b5090508382101562002b3f578193505b600084111562002caa57308160008151811062002b615762002b606200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811062002bd55762002bd46200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008487426040518663ffffffff1660e01b815260040162002c7595949392919062003e6a565b600060405180830381600087803b15801562002c9057600080fd5b505af115801562002ca5573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b606062002cf38273ffffffffffffffffffffffffffffffffffffffff16601460ff1662002cfa565b9050919050565b60606000600283600262002d0f9190620036d9565b62002d1b91906200367c565b67ffffffffffffffff81111562002d375762002d3662003d2a565b5b6040519080825280601f01601f19166020018201604052801562002d6a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062002da55762002da46200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062002e0c5762002e0b6200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262002e4e9190620036d9565b62002e5a91906200367c565b90505b600181111562002f04577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062002ea05762002e9f6200361e565b5b1a60f81b82828151811062002eba5762002eb96200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062002efc90620043ba565b905062002e5d565b506000841462002f4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162002f429062004438565b60405180910390fd5b8091505092915050565b505050565b505050565b61024c806200445b83390190565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62002fae8162002f77565b811462002fba57600080fd5b50565b60008135905062002fce8162002fa3565b92915050565b60006020828403121562002fed5762002fec62002f6d565b5b600062002ffd8482850162002fbd565b91505092915050565b60008115159050919050565b6200301d8162003006565b82525050565b60006020820190506200303a600083018462003012565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200307c5780820151818401526020810190506200305f565b838111156200308c576000848401525b50505050565b6000601f19601f8301169050919050565b6000620030b08262003040565b620030bc81856200304b565b9350620030ce8185602086016200305c565b620030d98162003092565b840191505092915050565b60006020820190508181036000830152620031008184620030a3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620031358262003108565b9050919050565b620031478162003128565b81146200315357600080fd5b50565b60008135905062003167816200313c565b92915050565b6000819050919050565b62003182816200316d565b81146200318e57600080fd5b50565b600081359050620031a28162003177565b92915050565b60008060408385031215620031c257620031c162002f6d565b5b6000620031d28582860162003156565b9250506020620031e58582860162003191565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112620032175762003216620031ef565b5b8235905067ffffffffffffffff811115620032375762003236620031f4565b5b602083019150836020820283011115620032565762003255620031f9565b5b9250929050565b6000806020838503121562003277576200327662002f6d565b5b600083013567ffffffffffffffff81111562003298576200329762002f72565b5b620032a685828601620031fe565b92509250509250929050565b620032bd816200316d565b82525050565b6000602082019050620032da6000830184620032b2565b92915050565b600060208284031215620032f957620032f862002f6d565b5b6000620033098482850162003191565b91505092915050565b6000806000606084860312156200332e576200332d62002f6d565b5b60006200333e8682870162003156565b9350506020620033518682870162003156565b9250506040620033648682870162003191565b9150509250925092565b6000819050919050565b62003383816200336e565b81146200338f57600080fd5b50565b600081359050620033a38162003378565b92915050565b600060208284031215620033c257620033c162002f6d565b5b6000620033d28482850162003392565b91505092915050565b620033e6816200336e565b82525050565b6000602082019050620034036000830184620033db565b92915050565b6000806040838503121562003423576200342262002f6d565b5b6000620034338582860162003392565b9250506020620034468582860162003156565b9150509250929050565b600060ff82169050919050565b620034688162003450565b82525050565b60006020820190506200348560008301846200345d565b92915050565b620034968162003128565b82525050565b6000602082019050620034b360008301846200348b565b92915050565b60008060408385031215620034d357620034d262002f6d565b5b6000620034e38582860162003156565b9250506020620034f68582860162003156565b9150509250929050565b60006020828403121562003519576200351862002f6d565b5b6000620035298482850162003156565b91505092915050565b6000819050919050565b60006200355d62003557620035518462003108565b62003532565b62003108565b9050919050565b600062003571826200353c565b9050919050565b6000620035858262003564565b9050919050565b620035978162003578565b82525050565b6000602082019050620035b460008301846200358c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200360257607f821691505b602082108103620036185762003617620035ba565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062003689826200316d565b915062003696836200316d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620036ce57620036cd6200364d565b5b828201905092915050565b6000620036e6826200316d565b9150620036f3836200316d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200372f576200372e6200364d565b5b828202905092915050565b600062003747826200316d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036200377c576200377b6200364d565b5b600182019050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000620037e5602f836200304b565b9150620037f28262003787565b604082019050919050565b600060208201905081810360008301526200381881620037d6565b9050919050565b60008151905062003830816200313c565b92915050565b6000602082840312156200384f576200384e62002f6d565b5b60006200385f848285016200381f565b91505092915050565b60006040820190506200387f60008301856200348b565b6200388e60208301846200348b565b9392505050565b6000604082019050620038ac60008301856200348b565b620038bb6020830184620032b2565b9392505050565b620038cd8162003006565b8114620038d957600080fd5b50565b600081519050620038ed81620038c2565b92915050565b6000602082840312156200390c576200390b62002f6d565b5b60006200391c84828501620038dc565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000620039836025836200304b565b9150620039908262003925565b604082019050919050565b60006020820190508181036000830152620039b68162003974565b9050919050565b600081519050620039ce8162003177565b92915050565b600060208284031215620039ed57620039ec62002f6d565b5b6000620039fd84828501620039bd565b91505092915050565b600060608201905062003a1d60008301866200348b565b62003a2c60208301856200348b565b62003a3b6040830184620032b2565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062003aa16026836200304b565b915062003aae8262003a43565b604082019050919050565b6000602082019050818103600083015262003ad48162003a92565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062003b396024836200304b565b915062003b468262003adb565b604082019050919050565b6000602082019050818103600083015262003b6c8162003b2a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600062003bd16022836200304b565b915062003bde8262003b73565b604082019050919050565b6000602082019050818103600083015262003c048162003bc2565b9050919050565b6000819050919050565b62003c2a62003c24826200316d565b62003c0b565b82525050565b60008160601b9050919050565b600062003c4a8262003c30565b9050919050565b600062003c5e8262003c3d565b9050919050565b62003c7a62003c748262003128565b62003c51565b82525050565b600062003c8e828662003c15565b60208201915062003ca0828562003c15565b60208201915062003cb2828462003c65565b601482019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062003cff826200316d565b915062003d0c836200316d565b92508262003d1f5762003d1e62003cc3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600062003d8462003d7e62003d788462003d59565b62003532565b6200316d565b9050919050565b62003d968162003d63565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62003dd38162003128565b82525050565b600062003de7838362003dc8565b60208301905092915050565b6000602082019050919050565b600062003e0d8262003d9c565b62003e19818562003da7565b935062003e268362003db8565b8060005b8381101562003e5d57815162003e41888262003dd9565b975062003e4e8362003df3565b92505060018101905062003e2a565b5085935050505092915050565b600060a08201905062003e816000830188620032b2565b62003e90602083018762003d8b565b818103604083015262003ea4818662003e00565b905062003eb560608301856200348b565b62003ec46080830184620032b2565b9695505050505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600062003f06601d836200304b565b915062003f138262003ece565b602082019050919050565b6000602082019050818103600083015262003f398162003ef7565b9050919050565b7f616d6f756e74206d757374206774203000000000000000000000000000000000600082015250565b600062003f786010836200304b565b915062003f858262003f40565b602082019050919050565b6000602082019050818103600083015262003fab8162003f69565b9050919050565b7f6e6f74206f70656e000000000000000000000000000000000000000000000000600082015250565b600062003fea6008836200304b565b915062003ff78262003fb2565b602082019050919050565b600060208201905081810360008301526200401d8162003fdb565b9050919050565b600062004031826200316d565b91506200403e836200316d565b92508262004051576200405062003cc3565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620040946020836200304b565b9150620040a1826200405c565b602082019050919050565b60006020820190508181036000830152620040c78162004085565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600062004111601783620040ce565b91506200411e82620040d9565b601782019050919050565b6000620041368262003040565b620041428185620040ce565b9350620041548185602086016200305c565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600062004198601183620040ce565b9150620041a58262004160565b601182019050919050565b6000620041bd8262004102565b9150620041cb828562004129565b9150620041d88262004189565b9150620041e6828462004129565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000620042506025836200304b565b91506200425d82620041f2565b604082019050919050565b60006020820190508181036000830152620042838162004241565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000620042e86023836200304b565b9150620042f5826200428a565b604082019050919050565b600060208201905081810360008301526200431b81620042d9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000620043806026836200304b565b91506200438d8262004322565b604082019050919050565b60006020820190508181036000830152620043b38162004371565b9050919050565b6000620043c7826200316d565b915060008203620043dd57620043dc6200364d565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000620044206020836200304b565b91506200442d82620043e8565b602082019050919050565b60006020820190508181036000830152620044538162004411565b905091905056fe608060405234801561001057600080fd5b5060405161024c38038061024c8339818101604052810190610032919061011c565b8073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3336000196040518363ffffffff1660e01b815260040161006f929190610171565b6020604051808303816000875af115801561008e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b291906101d2565b50506101ff565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100e9826100be565b9050919050565b6100f9816100de565b811461010457600080fd5b50565b600081519050610116816100f0565b92915050565b600060208284031215610132576101316100b9565b5b600061014084828501610107565b91505092915050565b610152816100de565b82525050565b6000819050919050565b61016b81610158565b82525050565b60006040820190506101866000830185610149565b6101936020830184610162565b9392505050565b60008115159050919050565b6101af8161019a565b81146101ba57600080fd5b50565b6000815190506101cc816101a6565b92915050565b6000602082840312156101e8576101e76100b9565b5b60006101f6848285016101bd565b91505092915050565b603f8061020d6000396000f3fe6080604052600080fdfea26469706673582212201bc0ba12e1b6025f1abe717d50d9e666b0032c4fd73e0c14596367893ac8a27b64736f6c634300080e0033a264697066735822122024997086cc4879208304dd005495e7c2a68163ad6067d68209c97a99417a3c4664736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106200020b5760003560e01c8063553193ca116200011b578063a217fddf11620000a3578063d9927448116200006d578063d992744814620007ba578063dd62ed3e14620007e8578063ec827460146200082c578063f2fde38b146200085a5762000213565b8063a217fddf14620006d4578063a457c2d71462000704578063a9059cbb1462000748578063d547741f146200078c5762000213565b80638718b24f11620000e55780638718b24f14620006005780638da5cb5b146200063057806391d14854146200066057806395d89b4114620006a45762000213565b8063553193ca14620005445780636f6579a3146200057457806370a0823114620005a2578063715018a614620005e65762000213565b8063248a9ca3116200019f5780633950935111620001695780633950935114620004705780633f936ff514620004b45780633fc8cef314620004e457806349bd5a5e14620005145762000213565b8063248a9ca314620003a05780632f2ff15d14620003e4578063313ce567146200041257806336568abe14620004425762000213565b806312d0ecb511620001e157806312d0ecb514620002d057806318160ddd14620002fe5780631c6a0c4c146200032e57806323b872dd146200035c5762000213565b806301ffc9a7146200021857806306fdde03146200025c578063095ea7b3146200028c5762000213565b366200021357005b600080fd5b3480156200022557600080fd5b506200024460048036038101906200023e919062002fd4565b62000888565b60405162000253919062003023565b60405180910390f35b3480156200026957600080fd5b506200027462000905565b604051620002839190620030e4565b60405180910390f35b3480156200029957600080fd5b50620002b86004803603810190620002b29190620031a8565b6200099f565b604051620002c7919062003023565b60405180910390f35b348015620002dd57600080fd5b50620002fc6004803603810190620002f691906200325d565b620009c6565b005b3480156200030b57600080fd5b506200031662000aca565b604051620003259190620032c3565b60405180910390f35b3480156200033b57600080fd5b506200035a6004803603810190620003549190620032e0565b62000ad4565b005b3480156200036957600080fd5b5062000388600480360381019062000382919062003312565b62000b4c565b60405162000397919062003023565b60405180910390f35b348015620003ad57600080fd5b50620003cc6004803603810190620003c69190620033a9565b62000b81565b604051620003db9190620033ec565b60405180910390f35b348015620003f157600080fd5b506200041060048036038101906200040a919062003409565b62000ba1565b005b3480156200041f57600080fd5b506200042a62000bc8565b6040516200043991906200346e565b60405180910390f35b3480156200044f57600080fd5b506200046e600480360381019062000468919062003409565b62000bd1565b005b3480156200047d57600080fd5b506200049c6004803603810190620004969190620031a8565b62000c5b565b604051620004ab919062003023565b60405180910390f35b348015620004c157600080fd5b50620004cc62000c9a565b604051620004db9190620032c3565b60405180910390f35b348015620004f157600080fd5b50620004fc62000ca0565b6040516200050b91906200349c565b60405180910390f35b3480156200052157600080fd5b506200052c62000cc6565b6040516200053b91906200349c565b60405180910390f35b3480156200055157600080fd5b506200055c62000cec565b6040516200056b9190620032c3565b60405180910390f35b3480156200058157600080fd5b50620005a060048036038101906200059a9190620034b9565b62000cf2565b005b348015620005af57600080fd5b50620005ce6004803603810190620005c8919062003500565b62001171565b604051620005dd9190620032c3565b60405180910390f35b348015620005f357600080fd5b50620005fe620011b9565b005b3480156200060d57600080fd5b5062000618620011d1565b6040516200062791906200359d565b60405180910390f35b3480156200063d57600080fd5b5062000648620011f7565b6040516200065791906200349c565b60405180910390f35b3480156200066d57600080fd5b506200068c600480360381019062000686919062003409565b62001221565b6040516200069b919062003023565b60405180910390f35b348015620006b157600080fd5b50620006bc6200128c565b604051620006cb9190620030e4565b60405180910390f35b348015620006e157600080fd5b50620006ec62001326565b604051620006fb9190620033ec565b60405180910390f35b3480156200071157600080fd5b506200073060048036038101906200072a9190620031a8565b6200132d565b6040516200073f919062003023565b60405180910390f35b3480156200075557600080fd5b506200077460048036038101906200076e9190620031a8565b620013ad565b60405162000783919062003023565b60405180910390f35b3480156200079957600080fd5b50620007b86004803603810190620007b2919062003409565b620013d4565b005b348015620007c757600080fd5b50620007e66004803603810190620007e0919062003500565b620013fb565b005b348015620007f557600080fd5b506200081460048036038101906200080e9190620034b9565b6200152d565b604051620008239190620032c3565b60405180910390f35b3480156200083957600080fd5b50620008586004803603810190620008529190620032e0565b620015b4565b005b3480156200086757600080fd5b5062000886600480360381019062000880919062003500565b6200166a565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480620008fe5750620008fd82620016f4565b5b9050919050565b6060600380546200091690620035e9565b80601f01602080910402602001604051908101604052809291908181526020018280546200094490620035e9565b8015620009955780601f10620009695761010080835404028352916020019162000995565b820191906000526020600020905b8154815290600101906020018083116200097757829003601f168201915b5050505050905090565b600080620009ac6200175e565b9050620009bb81858562001766565b600191505092915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009f28162001937565b43600a8190555060005b8383905081101562000ac45762000aae66f8b0a10e470000662386f26fc10000600162000a57600589898881811062000a3a5762000a396200361e565b5b905060200201602081019062000a51919062003500565b6200194f565b62000a6391906200367c565b62000a6f9190620036d9565b62000a7b91906200367c565b85858481811062000a915762000a906200361e565b5b905060200201602081019062000aa8919062003500565b62001996565b808062000abb906200373a565b915050620009fc565b50505050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000b008162001937565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801562000b47573d6000803e3d6000fd5b505050565b60008062000b596200175e565b905062000b6885828562001c3f565b62000b7585858562001cd3565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b62000bac8262000b81565b62000bb78162001937565b62000bc38383620020a2565b505050565b60006009905090565b62000bdb6200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161462000c4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c4290620037fd565b60405180910390fd5b62000c57828262002188565b5050565b60008062000c686200175e565b905062000c8f81858562000c7d85896200152d565b62000c8991906200367c565b62001766565b600191505092915050565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000d1e8162001937565b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e39919062003836565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040162000e9792919062003868565b6020604051808303816000875af115801562000eb7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000edd919062003836565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000fbe92919062003895565b6020604051808303816000875af115801562000fde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010049190620038f3565b506200105430600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b6200108130307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b620010f2600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b30604051620011019062002f5f565b6200110d91906200349c565b604051809103906000f0801580156200112a573d6000803e3d6000fd5b50600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b620011c36200226f565b620011cf6000620022f4565b565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546200129d90620035e9565b80601f0160208091040260200160405190810160405280929190818152602001828054620012cb90620035e9565b80156200131c5780601f10620012f0576101008083540402835291602001916200131c565b820191906000526020600020905b815481529060010190602001808311620012fe57829003601f168201915b5050505050905090565b6000801b81565b6000806200133a6200175e565b905060006200134a82866200152d565b90508381101562001392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001389906200399b565b60405180910390fd5b620013a1828686840362001766565b60019250505092915050565b600080620013ba6200175e565b9050620013c981858562001cd3565b600191505092915050565b620013df8262000b81565b620013ea8162001937565b620013f6838362002188565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620014278162001937565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200147f91906200349c565b602060405180830381865afa1580156200149d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014c39190620039d4565b6040518363ffffffff1660e01b8152600401620014e292919062003895565b6020604051808303816000875af115801562001502573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015289190620038f3565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401620016159392919062003a06565b6020604051808303816000875af115801562001635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165b9190620038f3565b506200166781620023ba565b50565b620016746200226f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620016e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620016dd9062003ab9565b60405180910390fd5b620016f181620022f4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620017d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620017cf9062003b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018419062003be9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200192a9190620032c3565b60405180910390a3505050565b6200194c81620019466200175e565b6200278f565b50565b600082424484604051602001620019699392919062003c80565b6040516020818303038152906040528051906020012060001c6200198e919062003cf2565b905092915050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620019d157620019d062003d2a565b5b60405190808252806020026020018201604052801562001a005781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062001a3d5762001a3c6200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050308160018151811062001a8f5762001a8e6200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040162001b2891906200349c565b602060405180830381865afa15801562001b46573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b6c9190620039d4565b90506000840362001b7b578093505b80841162001c1e57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587426040518663ffffffff1660e01b815260040162001be995949392919062003e6a565b600060405180830381600087803b15801562001c0457600080fd5b505af115801562001c19573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b600062001c4d84846200152d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811462001ccd578181101562001cbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001cb49062003f1e565b60405180910390fd5b62001ccc848484840362001766565b5b50505050565b6000811162001d19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001d109062003f90565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562001dc65750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1562001ddf5762001dd98383836200281f565b6200209d565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362001f0c576000600a541162001e7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001e749062004002565b60405180910390fd5b62001ea68330606460028562001e949190620036d9565b62001ea0919062004024565b62002831565b606460028262001eb79190620036d9565b62001ec3919062004024565b600d600082825462001ed691906200367c565b9250508190555062001f068383606460628562001ef49190620036d9565b62001f00919062004024565b62002831565b6200209d565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200209c57600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161562001fc85762001fc283838362002831565b6200209d565b62001ff18330606460028562001fdf9190620036d9565b62001feb919062004024565b62002831565b6064600282620020029190620036d9565b6200200e919062004024565b600d60008282546200202191906200367c565b925050819055506200206581600d546200203c91906200367c565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662002ab6565b6000600d819055506200209683836064606285620020849190620036d9565b62002090919062004024565b62002831565b6200209d565b5b505050565b620020ae828262001221565b620021845760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620021296200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62002194828262001221565b156200226b5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620022106200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b620022796200175e565b73ffffffffffffffffffffffffffffffffffffffff1662002299620011f7565b73ffffffffffffffffffffffffffffffffffffffff1614620022f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620022e990620040ac565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620023f557620023f462003d2a565b5b604051908082528060200260200182016040528015620024245781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816000815181106200246157620024606200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110620024b357620024b26200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200254c91906200349c565b602060405180830381865afa1580156200256a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025909190620039d4565b9050600083036200259f578092505b8083116200266457600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79584600085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016200262f95949392919062003e6a565b600060405180830381600087803b1580156200264a57600080fd5b505af11580156200265f573d6000803e3d6000fd5b505050505b600062002693600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662001171565b11156200276f573073ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163062002707600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662001171565b6040518463ffffffff1660e01b8152600401620027279392919062003a06565b6020604051808303816000875af115801562002747573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200276d9190620038f3565b505b50506000600f60146101000a81548160ff02191690831515021790555050565b6200279b828262001221565b6200281b57620027ab8162002ccb565b620027bb8360001c602062002cfa565b604051602001620027ce929190620041b0565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028129190620030e4565b60405180910390fd5b5050565b6200282c83838362002831565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620028a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200289a9062004268565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362002915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200290c9062004300565b60405180910390fd5b6200292283838362002f55565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620029ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620029a29062004398565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162002a9b9190620032c3565b60405180910390a362002ab084848462002f5a565b50505050565b6001600f60146101000a81548160ff021916908315150217905550600062002ade3062001171565b90506000600267ffffffffffffffff81111562002b005762002aff62003d2a565b5b60405190808252806020026020018201604052801562002b2f5781602001602082028036833780820191505090505b5090508382101562002b3f578193505b600084111562002caa57308160008151811062002b615762002b606200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811062002bd55762002bd46200361e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008487426040518663ffffffff1660e01b815260040162002c7595949392919062003e6a565b600060405180830381600087803b15801562002c9057600080fd5b505af115801562002ca5573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b606062002cf38273ffffffffffffffffffffffffffffffffffffffff16601460ff1662002cfa565b9050919050565b60606000600283600262002d0f9190620036d9565b62002d1b91906200367c565b67ffffffffffffffff81111562002d375762002d3662003d2a565b5b6040519080825280601f01601f19166020018201604052801562002d6a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062002da55762002da46200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062002e0c5762002e0b6200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262002e4e9190620036d9565b62002e5a91906200367c565b90505b600181111562002f04577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062002ea05762002e9f6200361e565b5b1a60f81b82828151811062002eba5762002eb96200361e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062002efc90620043ba565b905062002e5d565b506000841462002f4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162002f429062004438565b60405180910390fd5b8091505092915050565b505050565b505050565b61024c806200445b83390190565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62002fae8162002f77565b811462002fba57600080fd5b50565b60008135905062002fce8162002fa3565b92915050565b60006020828403121562002fed5762002fec62002f6d565b5b600062002ffd8482850162002fbd565b91505092915050565b60008115159050919050565b6200301d8162003006565b82525050565b60006020820190506200303a600083018462003012565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200307c5780820151818401526020810190506200305f565b838111156200308c576000848401525b50505050565b6000601f19601f8301169050919050565b6000620030b08262003040565b620030bc81856200304b565b9350620030ce8185602086016200305c565b620030d98162003092565b840191505092915050565b60006020820190508181036000830152620031008184620030a3565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620031358262003108565b9050919050565b620031478162003128565b81146200315357600080fd5b50565b60008135905062003167816200313c565b92915050565b6000819050919050565b62003182816200316d565b81146200318e57600080fd5b50565b600081359050620031a28162003177565b92915050565b60008060408385031215620031c257620031c162002f6d565b5b6000620031d28582860162003156565b9250506020620031e58582860162003191565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112620032175762003216620031ef565b5b8235905067ffffffffffffffff811115620032375762003236620031f4565b5b602083019150836020820283011115620032565762003255620031f9565b5b9250929050565b6000806020838503121562003277576200327662002f6d565b5b600083013567ffffffffffffffff81111562003298576200329762002f72565b5b620032a685828601620031fe565b92509250509250929050565b620032bd816200316d565b82525050565b6000602082019050620032da6000830184620032b2565b92915050565b600060208284031215620032f957620032f862002f6d565b5b6000620033098482850162003191565b91505092915050565b6000806000606084860312156200332e576200332d62002f6d565b5b60006200333e8682870162003156565b9350506020620033518682870162003156565b9250506040620033648682870162003191565b9150509250925092565b6000819050919050565b62003383816200336e565b81146200338f57600080fd5b50565b600081359050620033a38162003378565b92915050565b600060208284031215620033c257620033c162002f6d565b5b6000620033d28482850162003392565b91505092915050565b620033e6816200336e565b82525050565b6000602082019050620034036000830184620033db565b92915050565b6000806040838503121562003423576200342262002f6d565b5b6000620034338582860162003392565b9250506020620034468582860162003156565b9150509250929050565b600060ff82169050919050565b620034688162003450565b82525050565b60006020820190506200348560008301846200345d565b92915050565b620034968162003128565b82525050565b6000602082019050620034b360008301846200348b565b92915050565b60008060408385031215620034d357620034d262002f6d565b5b6000620034e38582860162003156565b9250506020620034f68582860162003156565b9150509250929050565b60006020828403121562003519576200351862002f6d565b5b6000620035298482850162003156565b91505092915050565b6000819050919050565b60006200355d62003557620035518462003108565b62003532565b62003108565b9050919050565b600062003571826200353c565b9050919050565b6000620035858262003564565b9050919050565b620035978162003578565b82525050565b6000602082019050620035b460008301846200358c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200360257607f821691505b602082108103620036185762003617620035ba565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062003689826200316d565b915062003696836200316d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620036ce57620036cd6200364d565b5b828201905092915050565b6000620036e6826200316d565b9150620036f3836200316d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200372f576200372e6200364d565b5b828202905092915050565b600062003747826200316d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036200377c576200377b6200364d565b5b600182019050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000620037e5602f836200304b565b9150620037f28262003787565b604082019050919050565b600060208201905081810360008301526200381881620037d6565b9050919050565b60008151905062003830816200313c565b92915050565b6000602082840312156200384f576200384e62002f6d565b5b60006200385f848285016200381f565b91505092915050565b60006040820190506200387f60008301856200348b565b6200388e60208301846200348b565b9392505050565b6000604082019050620038ac60008301856200348b565b620038bb6020830184620032b2565b9392505050565b620038cd8162003006565b8114620038d957600080fd5b50565b600081519050620038ed81620038c2565b92915050565b6000602082840312156200390c576200390b62002f6d565b5b60006200391c84828501620038dc565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000620039836025836200304b565b9150620039908262003925565b604082019050919050565b60006020820190508181036000830152620039b68162003974565b9050919050565b600081519050620039ce8162003177565b92915050565b600060208284031215620039ed57620039ec62002f6d565b5b6000620039fd84828501620039bd565b91505092915050565b600060608201905062003a1d60008301866200348b565b62003a2c60208301856200348b565b62003a3b6040830184620032b2565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062003aa16026836200304b565b915062003aae8262003a43565b604082019050919050565b6000602082019050818103600083015262003ad48162003a92565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062003b396024836200304b565b915062003b468262003adb565b604082019050919050565b6000602082019050818103600083015262003b6c8162003b2a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600062003bd16022836200304b565b915062003bde8262003b73565b604082019050919050565b6000602082019050818103600083015262003c048162003bc2565b9050919050565b6000819050919050565b62003c2a62003c24826200316d565b62003c0b565b82525050565b60008160601b9050919050565b600062003c4a8262003c30565b9050919050565b600062003c5e8262003c3d565b9050919050565b62003c7a62003c748262003128565b62003c51565b82525050565b600062003c8e828662003c15565b60208201915062003ca0828562003c15565b60208201915062003cb2828462003c65565b601482019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062003cff826200316d565b915062003d0c836200316d565b92508262003d1f5762003d1e62003cc3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600062003d8462003d7e62003d788462003d59565b62003532565b6200316d565b9050919050565b62003d968162003d63565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62003dd38162003128565b82525050565b600062003de7838362003dc8565b60208301905092915050565b6000602082019050919050565b600062003e0d8262003d9c565b62003e19818562003da7565b935062003e268362003db8565b8060005b8381101562003e5d57815162003e41888262003dd9565b975062003e4e8362003df3565b92505060018101905062003e2a565b5085935050505092915050565b600060a08201905062003e816000830188620032b2565b62003e90602083018762003d8b565b818103604083015262003ea4818662003e00565b905062003eb560608301856200348b565b62003ec46080830184620032b2565b9695505050505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600062003f06601d836200304b565b915062003f138262003ece565b602082019050919050565b6000602082019050818103600083015262003f398162003ef7565b9050919050565b7f616d6f756e74206d757374206774203000000000000000000000000000000000600082015250565b600062003f786010836200304b565b915062003f858262003f40565b602082019050919050565b6000602082019050818103600083015262003fab8162003f69565b9050919050565b7f6e6f74206f70656e000000000000000000000000000000000000000000000000600082015250565b600062003fea6008836200304b565b915062003ff78262003fb2565b602082019050919050565b600060208201905081810360008301526200401d8162003fdb565b9050919050565b600062004031826200316d565b91506200403e836200316d565b92508262004051576200405062003cc3565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620040946020836200304b565b9150620040a1826200405c565b602082019050919050565b60006020820190508181036000830152620040c78162004085565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600062004111601783620040ce565b91506200411e82620040d9565b601782019050919050565b6000620041368262003040565b620041428185620040ce565b9350620041548185602086016200305c565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600062004198601183620040ce565b9150620041a58262004160565b601182019050919050565b6000620041bd8262004102565b9150620041cb828562004129565b9150620041d88262004189565b9150620041e6828462004129565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000620042506025836200304b565b91506200425d82620041f2565b604082019050919050565b60006020820190508181036000830152620042838162004241565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000620042e86023836200304b565b9150620042f5826200428a565b604082019050919050565b600060208201905081810360008301526200431b81620042d9565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000620043806026836200304b565b91506200438d8262004322565b604082019050919050565b60006020820190508181036000830152620043b38162004371565b9050919050565b6000620043c7826200316d565b915060008203620043dd57620043dc6200364d565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000620044206020836200304b565b91506200442d82620043e8565b602082019050919050565b60006020820190508181036000830152620044538162004411565b905091905056fe608060405234801561001057600080fd5b5060405161024c38038061024c8339818101604052810190610032919061011c565b8073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3336000196040518363ffffffff1660e01b815260040161006f929190610171565b6020604051808303816000875af115801561008e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b291906101d2565b50506101ff565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100e9826100be565b9050919050565b6100f9816100de565b811461010457600080fd5b50565b600081519050610116816100f0565b92915050565b600060208284031215610132576101316100b9565b5b600061014084828501610107565b91505092915050565b610152816100de565b82525050565b6000819050919050565b61016b81610158565b82525050565b60006040820190506101866000830185610149565b6101936020830184610162565b9392505050565b60008115159050919050565b6101af8161019a565b81146101ba57600080fd5b50565b6000815190506101cc816101a6565b92915050565b6000602082840312156101e8576101e76100b9565b5b60006101f6848285016101bd565b91505092915050565b603f8061020d6000396000f3fe6080604052600080fdfea26469706673582212201bc0ba12e1b6025f1abe717d50d9e666b0032c4fd73e0c14596367893ac8a27b64736f6c634300080e0033a264697066735822122024997086cc4879208304dd005495e7c2a68163ad6067d68209c97a99417a3c4664736f6c634300080e0033
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.