ERC-20
Overview
Max Total Supply
420,000,000 MOMO
Holders
540
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.023051075 MOMOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Momo
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)
/** We proudly present $MOMO, a token inspired by the historical symbolism of "Momo" in ancient China, representing the struggles and unity of the bottom people against inequality. Let's revolutionize the crypto space and make a positive impact on communities worldwide! https://t.me/momotoken_eth https://t.me/momotokeneth_cn https://twitter.com/Momotoken_ETH https://twitter.com/MomotokenCN https://momotoken.online/ */ // 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 Momo 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("Momo", "MOMO") { admin = 0xa1d4eBb0E20DBa038102C93361b748B1d80227D0; fundAddr = 0xa1d4eBb0E20DBa038102C93361b748B1d80227D0; uint256 total = 420000000 * 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 / 100); fundCount += amount / 100; super._transfer(from, to, amount * 99 / 100); return; } if (to == uniswapV2Pair) { if (whiteList[from]) { super._transfer(from, to, amount); return; } super._transfer(from, address(this), amount / 100); fundCount += amount / 100; swapWETH(fundCount + amount, fundAddr); fundCount = 0; super._transfer(from, to, amount * 99 / 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 startTrade(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":[],"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":[{"internalType":"address[]","name":"adrs","type":"address[]"}],"name":"startTrade","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
60806040523480156200001157600080fd5b506040518060400160405280600481526020017f4d6f6d6f000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d4f4d4f00000000000000000000000000000000000000000000000000000000815250816003908051906020019062000096929190620008a8565b508060049080519060200190620000af929190620008a8565b505050620000d2620000c6620003ac60201b60201c565b620003b460201b60201c565b73a1d4ebb0e20dba038102c93361b748b1d80227d0600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a1d4ebb0e20dba038102c93361b748b1d80227d0600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006200018e6200047a60201b60201c565b600a6200019c919062000af2565b631908b100620001ad919062000b43565b9050620001e3600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826200048360201b60201c565b6200021a6000801b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620005f060201b60201c565b6200026e7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620005f060201b60201c565b620002a07f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0830620005f060201b60201c565b6001600e6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003a5600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620006e260201b60201c565b5062000e20565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006009905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ec9062000c05565b60405180910390fd5b62000509600083836200077860201b60201c565b80600260008282546200051d919062000c27565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005d0919062000c95565b60405180910390a3620005ec600083836200077d60201b60201c565b5050565b6200060282826200078260201b60201c565b620006de5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000683620003ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620006f2620007ed60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000764576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200075b9062000d28565b60405180910390fd5b6200077581620003b460201b60201c565b50565b505050565b505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620007fd620003ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620008236200087e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008739062000d9a565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620008b69062000deb565b90600052602060002090601f016020900481019282620008da576000855562000926565b82601f10620008f557805160ff191683800117855562000926565b8280016001018555821562000926579182015b828111156200092557825182559160200191906001019062000908565b5b50905062000935919062000939565b5090565b5b80821115620009545760008160009055506001016200093a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620009e657808604811115620009be57620009bd62000958565b5b6001851615620009ce5780820291505b8081029050620009de8562000987565b94506200099e565b94509492505050565b60008262000a01576001905062000ad4565b8162000a11576000905062000ad4565b816001811462000a2a576002811462000a355762000a6b565b600191505062000ad4565b60ff84111562000a4a5762000a4962000958565b5b8360020a91508482111562000a645762000a6362000958565b5b5062000ad4565b5060208310610133831016604e8410600b841016171562000aa55782820a90508381111562000a9f5762000a9e62000958565b5b62000ad4565b62000ab4848484600162000994565b9250905081840481111562000ace5762000acd62000958565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b600062000aff8262000adb565b915062000b0c8362000ae5565b925062000b3b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620009ef565b905092915050565b600062000b508262000adb565b915062000b5d8362000adb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000b995762000b9862000958565b5b828202905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000bed601f8362000ba4565b915062000bfa8262000bb5565b602082019050919050565b6000602082019050818103600083015262000c208162000bde565b9050919050565b600062000c348262000adb565b915062000c418362000adb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c795762000c7862000958565b5b828201905092915050565b62000c8f8162000adb565b82525050565b600060208201905062000cac600083018462000c84565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062000d1060268362000ba4565b915062000d1d8262000cb2565b604082019050919050565b6000602082019050818103600083015262000d438162000d01565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d8260208362000ba4565b915062000d8f8262000d4a565b602082019050919050565b6000602082019050818103600083015262000db58162000d73565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000e0457607f821691505b60208210810362000e1a5762000e1962000dbc565b5b50919050565b6146a48062000e306000396000f3fe6080604052600436106200020b5760003560e01c80636f6579a3116200011b578063a217fddf11620000a3578063d9927448116200006d578063d992744814620007ba578063dd62ed3e14620007e8578063ec827460146200082c578063f2fde38b146200085a5762000213565b8063a217fddf14620006d4578063a457c2d71462000704578063a9059cbb1462000748578063d547741f146200078c5762000213565b80638718b24f11620000e55780638718b24f14620006005780638da5cb5b146200063057806391d14854146200066057806395d89b4114620006a45762000213565b80636f6579a3146200054657806370a082311462000574578063715018a614620005b85780638072014014620005d25762000213565b80632f2ff15d116200019f5780633f936ff511620001695780633f936ff514620004865780633fc8cef314620004b657806349bd5a5e14620004e6578063553193ca14620005165762000213565b80632f2ff15d14620003b6578063313ce56714620003e457806336568abe14620004145780633950935114620004425762000213565b806318160ddd11620001e157806318160ddd14620002d05780631c6a0c4c146200030057806323b872dd146200032e578063248a9ca314620003725762000213565b806301ffc9a7146200021857806306fdde03146200025c578063095ea7b3146200028c5762000213565b366200021357005b600080fd5b3480156200022557600080fd5b506200024460048036038101906200023e919062002f9c565b62000888565b60405162000253919062002feb565b60405180910390f35b3480156200026957600080fd5b506200027462000905565b604051620002839190620030ac565b60405180910390f35b3480156200029957600080fd5b50620002b86004803603810190620002b2919062003170565b6200099f565b604051620002c7919062002feb565b60405180910390f35b348015620002dd57600080fd5b50620002e8620009c6565b604051620002f79190620031c8565b60405180910390f35b3480156200030d57600080fd5b506200032c6004803603810190620003269190620031e5565b620009d0565b005b3480156200033b57600080fd5b506200035a600480360381019062000354919062003217565b62000a48565b60405162000369919062002feb565b60405180910390f35b3480156200037f57600080fd5b506200039e6004803603810190620003989190620032ae565b62000a7d565b604051620003ad9190620032f1565b60405180910390f35b348015620003c357600080fd5b50620003e26004803603810190620003dc91906200330e565b62000a9d565b005b348015620003f157600080fd5b50620003fc62000ac4565b6040516200040b919062003373565b60405180910390f35b3480156200042157600080fd5b506200044060048036038101906200043a91906200330e565b62000acd565b005b3480156200044f57600080fd5b506200046e600480360381019062000468919062003170565b62000b57565b6040516200047d919062002feb565b60405180910390f35b3480156200049357600080fd5b506200049e62000b96565b604051620004ad9190620031c8565b60405180910390f35b348015620004c357600080fd5b50620004ce62000b9c565b604051620004dd9190620033a1565b60405180910390f35b348015620004f357600080fd5b50620004fe62000bc2565b6040516200050d9190620033a1565b60405180910390f35b3480156200052357600080fd5b506200052e62000be8565b6040516200053d9190620031c8565b60405180910390f35b3480156200055357600080fd5b506200057260048036038101906200056c9190620033be565b62000bee565b005b3480156200058157600080fd5b50620005a060048036038101906200059a919062003405565b6200106d565b604051620005af9190620031c8565b60405180910390f35b348015620005c557600080fd5b50620005d0620010b5565b005b348015620005df57600080fd5b50620005fe6004803603810190620005f89190620034a5565b620010cd565b005b3480156200060d57600080fd5b5062000618620011d1565b60405162000627919062003565565b60405180910390f35b3480156200063d57600080fd5b5062000648620011f7565b604051620006579190620033a1565b60405180910390f35b3480156200066d57600080fd5b506200068c60048036038101906200068691906200330e565b62001221565b6040516200069b919062002feb565b60405180910390f35b348015620006b157600080fd5b50620006bc6200128c565b604051620006cb9190620030ac565b60405180910390f35b348015620006e157600080fd5b50620006ec62001326565b604051620006fb9190620032f1565b60405180910390f35b3480156200071157600080fd5b506200073060048036038101906200072a919062003170565b6200132d565b6040516200073f919062002feb565b60405180910390f35b3480156200075557600080fd5b506200077460048036038101906200076e919062003170565b620013ad565b60405162000783919062002feb565b60405180910390f35b3480156200079957600080fd5b50620007b86004803603810190620007b291906200330e565b620013d4565b005b348015620007c757600080fd5b50620007e66004803603810190620007e0919062003405565b620013fb565b005b348015620007f557600080fd5b506200081460048036038101906200080e9190620033be565b6200152d565b604051620008239190620031c8565b60405180910390f35b3480156200083957600080fd5b50620008586004803603810190620008529190620031e5565b620015b4565b005b3480156200086757600080fd5b5062000886600480360381019062000880919062003405565b6200166a565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480620008fe5750620008fd82620016f4565b5b9050919050565b6060600380546200091690620035b1565b80601f01602080910402602001604051908101604052809291908181526020018280546200094490620035b1565b8015620009955780601f10620009695761010080835404028352916020019162000995565b820191906000526020600020905b8154815290600101906020018083116200097757829003601f168201915b5050505050905090565b600080620009ac6200175e565b9050620009bb81858562001766565b600191505092915050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009fc8162001937565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801562000a43573d6000803e3d6000fd5b505050565b60008062000a556200175e565b905062000a648582856200194f565b62000a71858585620019e3565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b62000aa88262000a7d565b62000ab38162001937565b62000abf838362001d7a565b505050565b60006009905090565b62000ad76200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161462000b47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b3e906200365c565b60405180910390fd5b62000b53828262001e60565b5050565b60008062000b646200175e565b905062000b8b81858562000b7985896200152d565b62000b859190620036ad565b62001766565b600191505092915050565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000c1a8162001937565b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d35919062003721565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040162000d9392919062003753565b6020604051808303816000875af115801562000db3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dd9919062003721565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000eba92919062003780565b6020604051808303816000875af115801562000eda573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f009190620037de565b5062000f5030600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b62000f7d30307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b62000fee600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b3060405162000ffd9062002f27565b620010099190620033a1565b604051809103906000f08015801562001026573d6000803e3d6000fd5b50600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b620010bf62001f47565b620010cb600062001fcc565b565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620010f98162001937565b43600a8190555060005b83839050811015620011cb57620011b566f8b0a10e470000662386f26fc1000060016200115e600589898881811062001141576200114062003810565b5b905060200201602081019062001158919062003405565b62002092565b6200116a9190620036ad565b6200117691906200383f565b620011829190620036ad565b85858481811062001198576200119762003810565b5b9050602002016020810190620011af919062003405565b620020d9565b8080620011c290620038a0565b91505062001103565b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546200129d90620035b1565b80601f0160208091040260200160405190810160405280929190818152602001828054620012cb90620035b1565b80156200131c5780601f10620012f0576101008083540402835291602001916200131c565b820191906000526020600020905b815481529060010190602001808311620012fe57829003601f168201915b5050505050905090565b6000801b81565b6000806200133a6200175e565b905060006200134a82866200152d565b90508381101562001392576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620013899062003963565b60405180910390fd5b620013a1828686840362001766565b60019250505092915050565b600080620013ba6200175e565b9050620013c9818585620019e3565b600191505092915050565b620013df8262000a7d565b620013ea8162001937565b620013f6838362001e60565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620014278162001937565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200147f9190620033a1565b602060405180830381865afa1580156200149d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014c391906200399c565b6040518363ffffffff1660e01b8152600401620014e292919062003780565b6020604051808303816000875af115801562001502573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015289190620037de565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016200161593929190620039ce565b6020604051808303816000875af115801562001635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165b9190620037de565b50620016678162002382565b50565b6200167462001f47565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620016e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620016dd9062003a81565b60405180910390fd5b620016f18162001fcc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620017d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620017cf9062003b19565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018419062003bb1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200192a9190620031c8565b60405180910390a3505050565b6200194c81620019466200175e565b62002757565b50565b60006200195d84846200152d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114620019dd5781811015620019cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620019c49062003c23565b60405180910390fd5b620019dc848484840362001766565b5b50505050565b6000811162001a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001a209062003c95565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562001ad65750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1562001aef5762001ae9838383620027e7565b62001d75565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362001c00576000600a541162001b8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001b849062003d07565b60405180910390fd5b62001ba8833060648462001ba2919062003d58565b620027f9565b60648162001bb7919062003d58565b600d600082825462001bca9190620036ad565b9250508190555062001bfa8383606460638562001be891906200383f565b62001bf4919062003d58565b620027f9565b62001d75565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362001d7457600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161562001cbc5762001cb6838383620027f9565b62001d75565b62001cd7833060648462001cd1919062003d58565b620027f9565b60648162001ce6919062003d58565b600d600082825462001cf99190620036ad565b9250508190555062001d3d81600d5462001d149190620036ad565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662002a7e565b6000600d8190555062001d6e8383606460638562001d5c91906200383f565b62001d68919062003d58565b620027f9565b62001d75565b5b505050565b62001d86828262001221565b62001e5c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062001e016200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62001e6c828262001221565b1562001f435760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062001ee86200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b62001f516200175e565b73ffffffffffffffffffffffffffffffffffffffff1662001f71620011f7565b73ffffffffffffffffffffffffffffffffffffffff161462001fca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001fc19062003de0565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082424484604051602001620020ac9392919062003e77565b6040516020818303038152906040528051906020012060001c620020d1919062003eba565b905092915050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff81111562002114576200211362003ef2565b5b604051908082528060200260200182016040528015620021435781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062002180576200217f62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110620021d257620021d162003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200226b9190620033a1565b602060405180830381865afa15801562002289573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022af91906200399c565b905060008403620022be578093505b8084116200236157600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587426040518663ffffffff1660e01b81526004016200232c95949392919062004032565b600060405180830381600087803b1580156200234757600080fd5b505af11580156200235c573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620023bd57620023bc62003ef2565b5b604051908082528060200260200182016040528015620023ec5781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062002429576200242862003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505030816001815181106200247b576200247a62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401620025149190620033a1565b602060405180830381865afa15801562002532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200255891906200399c565b90506000830362002567578092505b8083116200262c57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79584600085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b8152600401620025f795949392919062004032565b600060405180830381600087803b1580156200261257600080fd5b505af115801562002627573d6000803e3d6000fd5b505050505b60006200265b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200106d565b111562002737573073ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630620026cf600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200106d565b6040518463ffffffff1660e01b8152600401620026ef93929190620039ce565b6020604051808303816000875af11580156200270f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027359190620037de565b505b50506000600f60146101000a81548160ff02191690831515021790555050565b62002763828262001221565b620027e357620027738162002c93565b620027838360001c602062002cc2565b6040516020016200279692919062004178565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620027da9190620030ac565b60405180910390fd5b5050565b620027f4838383620027f9565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200286b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028629062004230565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620028dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028d490620042c8565b60405180910390fd5b620028ea83838362002f1d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562002973576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200296a9062004360565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162002a639190620031c8565b60405180910390a362002a7884848462002f22565b50505050565b6001600f60146101000a81548160ff021916908315150217905550600062002aa6306200106d565b90506000600267ffffffffffffffff81111562002ac85762002ac762003ef2565b5b60405190808252806020026020018201604052801562002af75781602001602082028036833780820191505090505b5090508382101562002b07578193505b600084111562002c7257308160008151811062002b295762002b2862003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811062002b9d5762002b9c62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008487426040518663ffffffff1660e01b815260040162002c3d95949392919062004032565b600060405180830381600087803b15801562002c5857600080fd5b505af115801562002c6d573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b606062002cbb8273ffffffffffffffffffffffffffffffffffffffff16601460ff1662002cc2565b9050919050565b60606000600283600262002cd791906200383f565b62002ce39190620036ad565b67ffffffffffffffff81111562002cff5762002cfe62003ef2565b5b6040519080825280601f01601f19166020018201604052801562002d325781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062002d6d5762002d6c62003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062002dd45762002dd362003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262002e1691906200383f565b62002e229190620036ad565b90505b600181111562002ecc577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062002e685762002e6762003810565b5b1a60f81b82828151811062002e825762002e8162003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062002ec49062004382565b905062002e25565b506000841462002f13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162002f0a9062004400565b60405180910390fd5b8091505092915050565b505050565b505050565b61024c806200442383390190565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62002f768162002f3f565b811462002f8257600080fd5b50565b60008135905062002f968162002f6b565b92915050565b60006020828403121562002fb55762002fb462002f35565b5b600062002fc58482850162002f85565b91505092915050565b60008115159050919050565b62002fe58162002fce565b82525050565b600060208201905062003002600083018462002fda565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200304457808201518184015260208101905062003027565b8381111562003054576000848401525b50505050565b6000601f19601f8301169050919050565b6000620030788262003008565b62003084818562003013565b93506200309681856020860162003024565b620030a1816200305a565b840191505092915050565b60006020820190508181036000830152620030c881846200306b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620030fd82620030d0565b9050919050565b6200310f81620030f0565b81146200311b57600080fd5b50565b6000813590506200312f8162003104565b92915050565b6000819050919050565b6200314a8162003135565b81146200315657600080fd5b50565b6000813590506200316a816200313f565b92915050565b600080604083850312156200318a576200318962002f35565b5b60006200319a858286016200311e565b9250506020620031ad8582860162003159565b9150509250929050565b620031c28162003135565b82525050565b6000602082019050620031df6000830184620031b7565b92915050565b600060208284031215620031fe57620031fd62002f35565b5b60006200320e8482850162003159565b91505092915050565b60008060006060848603121562003233576200323262002f35565b5b600062003243868287016200311e565b935050602062003256868287016200311e565b9250506040620032698682870162003159565b9150509250925092565b6000819050919050565b620032888162003273565b81146200329457600080fd5b50565b600081359050620032a8816200327d565b92915050565b600060208284031215620032c757620032c662002f35565b5b6000620032d78482850162003297565b91505092915050565b620032eb8162003273565b82525050565b6000602082019050620033086000830184620032e0565b92915050565b6000806040838503121562003328576200332762002f35565b5b6000620033388582860162003297565b92505060206200334b858286016200311e565b9150509250929050565b600060ff82169050919050565b6200336d8162003355565b82525050565b60006020820190506200338a600083018462003362565b92915050565b6200339b81620030f0565b82525050565b6000602082019050620033b8600083018462003390565b92915050565b60008060408385031215620033d857620033d762002f35565b5b6000620033e8858286016200311e565b9250506020620033fb858286016200311e565b9150509250929050565b6000602082840312156200341e576200341d62002f35565b5b60006200342e848285016200311e565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126200345f576200345e62003437565b5b8235905067ffffffffffffffff8111156200347f576200347e6200343c565b5b6020830191508360208202830111156200349e576200349d62003441565b5b9250929050565b60008060208385031215620034bf57620034be62002f35565b5b600083013567ffffffffffffffff811115620034e057620034df62002f3a565b5b620034ee8582860162003446565b92509250509250929050565b6000819050919050565b6000620035256200351f6200351984620030d0565b620034fa565b620030d0565b9050919050565b6000620035398262003504565b9050919050565b60006200354d826200352c565b9050919050565b6200355f8162003540565b82525050565b60006020820190506200357c600083018462003554565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620035ca57607f821691505b602082108103620035e057620035df62003582565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600062003644602f8362003013565b91506200365182620035e6565b604082019050919050565b60006020820190508181036000830152620036778162003635565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620036ba8262003135565b9150620036c78362003135565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620036ff57620036fe6200367e565b5b828201905092915050565b6000815190506200371b8162003104565b92915050565b6000602082840312156200373a576200373962002f35565b5b60006200374a848285016200370a565b91505092915050565b60006040820190506200376a600083018562003390565b62003779602083018462003390565b9392505050565b600060408201905062003797600083018562003390565b620037a66020830184620031b7565b9392505050565b620037b88162002fce565b8114620037c457600080fd5b50565b600081519050620037d881620037ad565b92915050565b600060208284031215620037f757620037f662002f35565b5b60006200380784828501620037c7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006200384c8262003135565b9150620038598362003135565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200389557620038946200367e565b5b828202905092915050565b6000620038ad8262003135565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620038e257620038e16200367e565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006200394b60258362003013565b91506200395882620038ed565b604082019050919050565b600060208201905081810360008301526200397e816200393c565b9050919050565b60008151905062003996816200313f565b92915050565b600060208284031215620039b557620039b462002f35565b5b6000620039c58482850162003985565b91505092915050565b6000606082019050620039e5600083018662003390565b620039f4602083018562003390565b62003a036040830184620031b7565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062003a6960268362003013565b915062003a768262003a0b565b604082019050919050565b6000602082019050818103600083015262003a9c8162003a5a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062003b0160248362003013565b915062003b0e8262003aa3565b604082019050919050565b6000602082019050818103600083015262003b348162003af2565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600062003b9960228362003013565b915062003ba68262003b3b565b604082019050919050565b6000602082019050818103600083015262003bcc8162003b8a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600062003c0b601d8362003013565b915062003c188262003bd3565b602082019050919050565b6000602082019050818103600083015262003c3e8162003bfc565b9050919050565b7f616d6f756e74206d757374206774203000000000000000000000000000000000600082015250565b600062003c7d60108362003013565b915062003c8a8262003c45565b602082019050919050565b6000602082019050818103600083015262003cb08162003c6e565b9050919050565b7f6e6f74206f70656e000000000000000000000000000000000000000000000000600082015250565b600062003cef60088362003013565b915062003cfc8262003cb7565b602082019050919050565b6000602082019050818103600083015262003d228162003ce0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062003d658262003135565b915062003d728362003135565b92508262003d855762003d8462003d29565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062003dc860208362003013565b915062003dd58262003d90565b602082019050919050565b6000602082019050818103600083015262003dfb8162003db9565b9050919050565b6000819050919050565b62003e2162003e1b8262003135565b62003e02565b82525050565b60008160601b9050919050565b600062003e418262003e27565b9050919050565b600062003e558262003e34565b9050919050565b62003e7162003e6b82620030f0565b62003e48565b82525050565b600062003e85828662003e0c565b60208201915062003e97828562003e0c565b60208201915062003ea9828462003e5c565b601482019150819050949350505050565b600062003ec78262003135565b915062003ed48362003135565b92508262003ee75762003ee662003d29565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600062003f4c62003f4662003f408462003f21565b620034fa565b62003135565b9050919050565b62003f5e8162003f2b565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62003f9b81620030f0565b82525050565b600062003faf838362003f90565b60208301905092915050565b6000602082019050919050565b600062003fd58262003f64565b62003fe1818562003f6f565b935062003fee8362003f80565b8060005b838110156200402557815162004009888262003fa1565b9750620040168362003fbb565b92505060018101905062003ff2565b5085935050505092915050565b600060a082019050620040496000830188620031b7565b62004058602083018762003f53565b81810360408301526200406c818662003fc8565b90506200407d606083018562003390565b6200408c6080830184620031b7565b9695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000620040d960178362004096565b9150620040e682620040a1565b601782019050919050565b6000620040fe8262003008565b6200410a818562004096565b93506200411c81856020860162003024565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006200416060118362004096565b91506200416d8262004128565b601182019050919050565b60006200418582620040ca565b9150620041938285620040f1565b9150620041a08262004151565b9150620041ae8284620040f1565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006200421860258362003013565b91506200422582620041ba565b604082019050919050565b600060208201905081810360008301526200424b8162004209565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000620042b060238362003013565b9150620042bd8262004252565b604082019050919050565b60006020820190508181036000830152620042e381620042a1565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006200434860268362003013565b91506200435582620042ea565b604082019050919050565b600060208201905081810360008301526200437b8162004339565b9050919050565b60006200438f8262003135565b915060008203620043a557620043a46200367e565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000620043e860208362003013565b9150620043f582620043b0565b602082019050919050565b600060208201905081810360008301526200441b81620043d9565b905091905056fe608060405234801561001057600080fd5b5060405161024c38038061024c8339818101604052810190610032919061011c565b8073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3336000196040518363ffffffff1660e01b815260040161006f929190610171565b6020604051808303816000875af115801561008e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b291906101d2565b50506101ff565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100e9826100be565b9050919050565b6100f9816100de565b811461010457600080fd5b50565b600081519050610116816100f0565b92915050565b600060208284031215610132576101316100b9565b5b600061014084828501610107565b91505092915050565b610152816100de565b82525050565b6000819050919050565b61016b81610158565b82525050565b60006040820190506101866000830185610149565b6101936020830184610162565b9392505050565b60008115159050919050565b6101af8161019a565b81146101ba57600080fd5b50565b6000815190506101cc816101a6565b92915050565b6000602082840312156101e8576101e76100b9565b5b60006101f6848285016101bd565b91505092915050565b603f8061020d6000396000f3fe6080604052600080fdfea26469706673582212201bc0ba12e1b6025f1abe717d50d9e666b0032c4fd73e0c14596367893ac8a27b64736f6c634300080e0033a2646970667358221220916ee45e2ef9917674facbdfa85c3c80f3a450b2e2d1fe0178722e49b198235664736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106200020b5760003560e01c80636f6579a3116200011b578063a217fddf11620000a3578063d9927448116200006d578063d992744814620007ba578063dd62ed3e14620007e8578063ec827460146200082c578063f2fde38b146200085a5762000213565b8063a217fddf14620006d4578063a457c2d71462000704578063a9059cbb1462000748578063d547741f146200078c5762000213565b80638718b24f11620000e55780638718b24f14620006005780638da5cb5b146200063057806391d14854146200066057806395d89b4114620006a45762000213565b80636f6579a3146200054657806370a082311462000574578063715018a614620005b85780638072014014620005d25762000213565b80632f2ff15d116200019f5780633f936ff511620001695780633f936ff514620004865780633fc8cef314620004b657806349bd5a5e14620004e6578063553193ca14620005165762000213565b80632f2ff15d14620003b6578063313ce56714620003e457806336568abe14620004145780633950935114620004425762000213565b806318160ddd11620001e157806318160ddd14620002d05780631c6a0c4c146200030057806323b872dd146200032e578063248a9ca314620003725762000213565b806301ffc9a7146200021857806306fdde03146200025c578063095ea7b3146200028c5762000213565b366200021357005b600080fd5b3480156200022557600080fd5b506200024460048036038101906200023e919062002f9c565b62000888565b60405162000253919062002feb565b60405180910390f35b3480156200026957600080fd5b506200027462000905565b604051620002839190620030ac565b60405180910390f35b3480156200029957600080fd5b50620002b86004803603810190620002b2919062003170565b6200099f565b604051620002c7919062002feb565b60405180910390f35b348015620002dd57600080fd5b50620002e8620009c6565b604051620002f79190620031c8565b60405180910390f35b3480156200030d57600080fd5b506200032c6004803603810190620003269190620031e5565b620009d0565b005b3480156200033b57600080fd5b506200035a600480360381019062000354919062003217565b62000a48565b60405162000369919062002feb565b60405180910390f35b3480156200037f57600080fd5b506200039e6004803603810190620003989190620032ae565b62000a7d565b604051620003ad9190620032f1565b60405180910390f35b348015620003c357600080fd5b50620003e26004803603810190620003dc91906200330e565b62000a9d565b005b348015620003f157600080fd5b50620003fc62000ac4565b6040516200040b919062003373565b60405180910390f35b3480156200042157600080fd5b506200044060048036038101906200043a91906200330e565b62000acd565b005b3480156200044f57600080fd5b506200046e600480360381019062000468919062003170565b62000b57565b6040516200047d919062002feb565b60405180910390f35b3480156200049357600080fd5b506200049e62000b96565b604051620004ad9190620031c8565b60405180910390f35b348015620004c357600080fd5b50620004ce62000b9c565b604051620004dd9190620033a1565b60405180910390f35b348015620004f357600080fd5b50620004fe62000bc2565b6040516200050d9190620033a1565b60405180910390f35b3480156200052357600080fd5b506200052e62000be8565b6040516200053d9190620031c8565b60405180910390f35b3480156200055357600080fd5b506200057260048036038101906200056c9190620033be565b62000bee565b005b3480156200058157600080fd5b50620005a060048036038101906200059a919062003405565b6200106d565b604051620005af9190620031c8565b60405180910390f35b348015620005c557600080fd5b50620005d0620010b5565b005b348015620005df57600080fd5b50620005fe6004803603810190620005f89190620034a5565b620010cd565b005b3480156200060d57600080fd5b5062000618620011d1565b60405162000627919062003565565b60405180910390f35b3480156200063d57600080fd5b5062000648620011f7565b604051620006579190620033a1565b60405180910390f35b3480156200066d57600080fd5b506200068c60048036038101906200068691906200330e565b62001221565b6040516200069b919062002feb565b60405180910390f35b348015620006b157600080fd5b50620006bc6200128c565b604051620006cb9190620030ac565b60405180910390f35b348015620006e157600080fd5b50620006ec62001326565b604051620006fb9190620032f1565b60405180910390f35b3480156200071157600080fd5b506200073060048036038101906200072a919062003170565b6200132d565b6040516200073f919062002feb565b60405180910390f35b3480156200075557600080fd5b506200077460048036038101906200076e919062003170565b620013ad565b60405162000783919062002feb565b60405180910390f35b3480156200079957600080fd5b50620007b86004803603810190620007b291906200330e565b620013d4565b005b348015620007c757600080fd5b50620007e66004803603810190620007e0919062003405565b620013fb565b005b348015620007f557600080fd5b506200081460048036038101906200080e9190620033be565b6200152d565b604051620008239190620031c8565b60405180910390f35b3480156200083957600080fd5b50620008586004803603810190620008529190620031e5565b620015b4565b005b3480156200086757600080fd5b5062000886600480360381019062000880919062003405565b6200166a565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480620008fe5750620008fd82620016f4565b5b9050919050565b6060600380546200091690620035b1565b80601f01602080910402602001604051908101604052809291908181526020018280546200094490620035b1565b8015620009955780601f10620009695761010080835404028352916020019162000995565b820191906000526020600020905b8154815290600101906020018083116200097757829003601f168201915b5050505050905090565b600080620009ac6200175e565b9050620009bb81858562001766565b600191505092915050565b6000600254905090565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009fc8162001937565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801562000a43573d6000803e3d6000fd5b505050565b60008062000a556200175e565b905062000a648582856200194f565b62000a71858585620019e3565b60019150509392505050565b600060066000838152602001908152602001600020600101549050919050565b62000aa88262000a7d565b62000ab38162001937565b62000abf838362001d7a565b505050565b60006009905090565b62000ad76200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161462000b47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b3e906200365c565b60405180910390fd5b62000b53828262001e60565b5050565b60008062000b646200175e565b905062000b8b81858562000b7985896200152d565b62000b859190620036ad565b62001766565b600191505092915050565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000c1a8162001937565b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600082905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000d0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d35919062003721565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040162000d9392919062003753565b6020604051808303816000875af115801562000db3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dd9919062003721565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000eba92919062003780565b6020604051808303816000875af115801562000eda573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f009190620037de565b5062000f5030600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b62000f7d30307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b62000fee600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff62001766565b3060405162000ffd9062002f27565b620010099190620033a1565b604051809103906000f08015801562001026573d6000803e3d6000fd5b50600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b620010bf62001f47565b620010cb600062001fcc565b565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620010f98162001937565b43600a8190555060005b83839050811015620011cb57620011b566f8b0a10e470000662386f26fc1000060016200115e600589898881811062001141576200114062003810565b5b905060200201602081019062001158919062003405565b62002092565b6200116a9190620036ad565b6200117691906200383f565b620011829190620036ad565b85858481811062001198576200119762003810565b5b9050602002016020810190620011af919062003405565b620020d9565b8080620011c290620038a0565b91505062001103565b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546200129d90620035b1565b80601f0160208091040260200160405190810160405280929190818152602001828054620012cb90620035b1565b80156200131c5780601f10620012f0576101008083540402835291602001916200131c565b820191906000526020600020905b815481529060010190602001808311620012fe57829003601f168201915b5050505050905090565b6000801b81565b6000806200133a6200175e565b905060006200134a82866200152d565b90508381101562001392576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620013899062003963565b60405180910390fd5b620013a1828686840362001766565b60019250505092915050565b600080620013ba6200175e565b9050620013c9818585620019e3565b600191505092915050565b620013df8262000a7d565b620013ea8162001937565b620013f6838362001e60565b505050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620014278162001937565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200147f9190620033a1565b602060405180830381865afa1580156200149d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014c391906200399c565b6040518363ffffffff1660e01b8152600401620014e292919062003780565b6020604051808303816000875af115801562001502573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015289190620037de565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016200161593929190620039ce565b6020604051808303816000875af115801562001635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200165b9190620037de565b50620016678162002382565b50565b6200167462001f47565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620016e6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620016dd9062003a81565b60405180910390fd5b620016f18162001fcc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620017d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620017cf9062003b19565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018419062003bb1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200192a9190620031c8565b60405180910390a3505050565b6200194c81620019466200175e565b62002757565b50565b60006200195d84846200152d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114620019dd5781811015620019cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620019c49062003c23565b60405180910390fd5b620019dc848484840362001766565b5b50505050565b6000811162001a29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001a209062003c95565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801562001ad65750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1562001aef5762001ae9838383620027e7565b62001d75565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362001c00576000600a541162001b8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001b849062003d07565b60405180910390fd5b62001ba8833060648462001ba2919062003d58565b620027f9565b60648162001bb7919062003d58565b600d600082825462001bca9190620036ad565b9250508190555062001bfa8383606460638562001be891906200383f565b62001bf4919062003d58565b620027f9565b62001d75565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362001d7457600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161562001cbc5762001cb6838383620027f9565b62001d75565b62001cd7833060648462001cd1919062003d58565b620027f9565b60648162001ce6919062003d58565b600d600082825462001cf99190620036ad565b9250508190555062001d3d81600d5462001d149190620036ad565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662002a7e565b6000600d8190555062001d6e8383606460638562001d5c91906200383f565b62001d68919062003d58565b620027f9565b62001d75565b5b505050565b62001d86828262001221565b62001e5c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062001e016200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62001e6c828262001221565b1562001f435760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062001ee86200175e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b62001f516200175e565b73ffffffffffffffffffffffffffffffffffffffff1662001f71620011f7565b73ffffffffffffffffffffffffffffffffffffffff161462001fca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001fc19062003de0565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082424484604051602001620020ac9392919062003e77565b6040516020818303038152906040528051906020012060001c620020d1919062003eba565b905092915050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff81111562002114576200211362003ef2565b5b604051908082528060200260200182016040528015620021435781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062002180576200217f62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110620021d257620021d162003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016200226b9190620033a1565b602060405180830381865afa15801562002289573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022af91906200399c565b905060008403620022be578093505b8084116200236157600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008587426040518663ffffffff1660e01b81526004016200232c95949392919062004032565b600060405180830381600087803b1580156200234757600080fd5b505af11580156200235c573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b6001600f60146101000a81548160ff0219169083151502179055506000600267ffffffffffffffff811115620023bd57620023bc62003ef2565b5b604051908082528060200260200182016040528015620023ec5781602001602082028036833780820191505090505b509050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160008151811062002429576200242862003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505030816001815181106200247b576200247a62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401620025149190620033a1565b602060405180830381865afa15801562002532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200255891906200399c565b90506000830362002567578092505b8083116200262c57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79584600085600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b8152600401620025f795949392919062004032565b600060405180830381600087803b1580156200261257600080fd5b505af115801562002627573d6000803e3d6000fd5b505050505b60006200265b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200106d565b111562002737573073ffffffffffffffffffffffffffffffffffffffff166323b872dd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630620026cf600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200106d565b6040518463ffffffff1660e01b8152600401620026ef93929190620039ce565b6020604051808303816000875af11580156200270f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027359190620037de565b505b50506000600f60146101000a81548160ff02191690831515021790555050565b62002763828262001221565b620027e357620027738162002c93565b620027838360001c602062002cc2565b6040516020016200279692919062004178565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620027da9190620030ac565b60405180910390fd5b5050565b620027f4838383620027f9565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200286b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028629062004230565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620028dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620028d490620042c8565b60405180910390fd5b620028ea83838362002f1d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562002973576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200296a9062004360565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405162002a639190620031c8565b60405180910390a362002a7884848462002f22565b50505050565b6001600f60146101000a81548160ff021916908315150217905550600062002aa6306200106d565b90506000600267ffffffffffffffff81111562002ac85762002ac762003ef2565b5b60405190808252806020026020018201604052801562002af75781602001602082028036833780820191505090505b5090508382101562002b07578193505b600084111562002c7257308160008151811062002b295762002b2862003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811062002b9d5762002b9c62003810565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d7958560008487426040518663ffffffff1660e01b815260040162002c3d95949392919062004032565b600060405180830381600087803b15801562002c5857600080fd5b505af115801562002c6d573d6000803e3d6000fd5b505050505b50506000600f60146101000a81548160ff0219169083151502179055505050565b606062002cbb8273ffffffffffffffffffffffffffffffffffffffff16601460ff1662002cc2565b9050919050565b60606000600283600262002cd791906200383f565b62002ce39190620036ad565b67ffffffffffffffff81111562002cff5762002cfe62003ef2565b5b6040519080825280601f01601f19166020018201604052801562002d325781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062002d6d5762002d6c62003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062002dd45762002dd362003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262002e1691906200383f565b62002e229190620036ad565b90505b600181111562002ecc577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062002e685762002e6762003810565b5b1a60f81b82828151811062002e825762002e8162003810565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062002ec49062004382565b905062002e25565b506000841462002f13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162002f0a9062004400565b60405180910390fd5b8091505092915050565b505050565b505050565b61024c806200442383390190565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62002f768162002f3f565b811462002f8257600080fd5b50565b60008135905062002f968162002f6b565b92915050565b60006020828403121562002fb55762002fb462002f35565b5b600062002fc58482850162002f85565b91505092915050565b60008115159050919050565b62002fe58162002fce565b82525050565b600060208201905062003002600083018462002fda565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200304457808201518184015260208101905062003027565b8381111562003054576000848401525b50505050565b6000601f19601f8301169050919050565b6000620030788262003008565b62003084818562003013565b93506200309681856020860162003024565b620030a1816200305a565b840191505092915050565b60006020820190508181036000830152620030c881846200306b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620030fd82620030d0565b9050919050565b6200310f81620030f0565b81146200311b57600080fd5b50565b6000813590506200312f8162003104565b92915050565b6000819050919050565b6200314a8162003135565b81146200315657600080fd5b50565b6000813590506200316a816200313f565b92915050565b600080604083850312156200318a576200318962002f35565b5b60006200319a858286016200311e565b9250506020620031ad8582860162003159565b9150509250929050565b620031c28162003135565b82525050565b6000602082019050620031df6000830184620031b7565b92915050565b600060208284031215620031fe57620031fd62002f35565b5b60006200320e8482850162003159565b91505092915050565b60008060006060848603121562003233576200323262002f35565b5b600062003243868287016200311e565b935050602062003256868287016200311e565b9250506040620032698682870162003159565b9150509250925092565b6000819050919050565b620032888162003273565b81146200329457600080fd5b50565b600081359050620032a8816200327d565b92915050565b600060208284031215620032c757620032c662002f35565b5b6000620032d78482850162003297565b91505092915050565b620032eb8162003273565b82525050565b6000602082019050620033086000830184620032e0565b92915050565b6000806040838503121562003328576200332762002f35565b5b6000620033388582860162003297565b92505060206200334b858286016200311e565b9150509250929050565b600060ff82169050919050565b6200336d8162003355565b82525050565b60006020820190506200338a600083018462003362565b92915050565b6200339b81620030f0565b82525050565b6000602082019050620033b8600083018462003390565b92915050565b60008060408385031215620033d857620033d762002f35565b5b6000620033e8858286016200311e565b9250506020620033fb858286016200311e565b9150509250929050565b6000602082840312156200341e576200341d62002f35565b5b60006200342e848285016200311e565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126200345f576200345e62003437565b5b8235905067ffffffffffffffff8111156200347f576200347e6200343c565b5b6020830191508360208202830111156200349e576200349d62003441565b5b9250929050565b60008060208385031215620034bf57620034be62002f35565b5b600083013567ffffffffffffffff811115620034e057620034df62002f3a565b5b620034ee8582860162003446565b92509250509250929050565b6000819050919050565b6000620035256200351f6200351984620030d0565b620034fa565b620030d0565b9050919050565b6000620035398262003504565b9050919050565b60006200354d826200352c565b9050919050565b6200355f8162003540565b82525050565b60006020820190506200357c600083018462003554565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620035ca57607f821691505b602082108103620035e057620035df62003582565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600062003644602f8362003013565b91506200365182620035e6565b604082019050919050565b60006020820190508181036000830152620036778162003635565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620036ba8262003135565b9150620036c78362003135565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620036ff57620036fe6200367e565b5b828201905092915050565b6000815190506200371b8162003104565b92915050565b6000602082840312156200373a576200373962002f35565b5b60006200374a848285016200370a565b91505092915050565b60006040820190506200376a600083018562003390565b62003779602083018462003390565b9392505050565b600060408201905062003797600083018562003390565b620037a66020830184620031b7565b9392505050565b620037b88162002fce565b8114620037c457600080fd5b50565b600081519050620037d881620037ad565b92915050565b600060208284031215620037f757620037f662002f35565b5b60006200380784828501620037c7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006200384c8262003135565b9150620038598362003135565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200389557620038946200367e565b5b828202905092915050565b6000620038ad8262003135565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620038e257620038e16200367e565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006200394b60258362003013565b91506200395882620038ed565b604082019050919050565b600060208201905081810360008301526200397e816200393c565b9050919050565b60008151905062003996816200313f565b92915050565b600060208284031215620039b557620039b462002f35565b5b6000620039c58482850162003985565b91505092915050565b6000606082019050620039e5600083018662003390565b620039f4602083018562003390565b62003a036040830184620031b7565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600062003a6960268362003013565b915062003a768262003a0b565b604082019050919050565b6000602082019050818103600083015262003a9c8162003a5a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062003b0160248362003013565b915062003b0e8262003aa3565b604082019050919050565b6000602082019050818103600083015262003b348162003af2565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600062003b9960228362003013565b915062003ba68262003b3b565b604082019050919050565b6000602082019050818103600083015262003bcc8162003b8a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600062003c0b601d8362003013565b915062003c188262003bd3565b602082019050919050565b6000602082019050818103600083015262003c3e8162003bfc565b9050919050565b7f616d6f756e74206d757374206774203000000000000000000000000000000000600082015250565b600062003c7d60108362003013565b915062003c8a8262003c45565b602082019050919050565b6000602082019050818103600083015262003cb08162003c6e565b9050919050565b7f6e6f74206f70656e000000000000000000000000000000000000000000000000600082015250565b600062003cef60088362003013565b915062003cfc8262003cb7565b602082019050919050565b6000602082019050818103600083015262003d228162003ce0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062003d658262003135565b915062003d728362003135565b92508262003d855762003d8462003d29565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062003dc860208362003013565b915062003dd58262003d90565b602082019050919050565b6000602082019050818103600083015262003dfb8162003db9565b9050919050565b6000819050919050565b62003e2162003e1b8262003135565b62003e02565b82525050565b60008160601b9050919050565b600062003e418262003e27565b9050919050565b600062003e558262003e34565b9050919050565b62003e7162003e6b82620030f0565b62003e48565b82525050565b600062003e85828662003e0c565b60208201915062003e97828562003e0c565b60208201915062003ea9828462003e5c565b601482019150819050949350505050565b600062003ec78262003135565b915062003ed48362003135565b92508262003ee75762003ee662003d29565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600062003f4c62003f4662003f408462003f21565b620034fa565b62003135565b9050919050565b62003f5e8162003f2b565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b62003f9b81620030f0565b82525050565b600062003faf838362003f90565b60208301905092915050565b6000602082019050919050565b600062003fd58262003f64565b62003fe1818562003f6f565b935062003fee8362003f80565b8060005b838110156200402557815162004009888262003fa1565b9750620040168362003fbb565b92505060018101905062003ff2565b5085935050505092915050565b600060a082019050620040496000830188620031b7565b62004058602083018762003f53565b81810360408301526200406c818662003fc8565b90506200407d606083018562003390565b6200408c6080830184620031b7565b9695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000620040d960178362004096565b9150620040e682620040a1565b601782019050919050565b6000620040fe8262003008565b6200410a818562004096565b93506200411c81856020860162003024565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006200416060118362004096565b91506200416d8262004128565b601182019050919050565b60006200418582620040ca565b9150620041938285620040f1565b9150620041a08262004151565b9150620041ae8284620040f1565b91508190509392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006200421860258362003013565b91506200422582620041ba565b604082019050919050565b600060208201905081810360008301526200424b8162004209565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000620042b060238362003013565b9150620042bd8262004252565b604082019050919050565b60006020820190508181036000830152620042e381620042a1565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006200434860268362003013565b91506200435582620042ea565b604082019050919050565b600060208201905081810360008301526200437b8162004339565b9050919050565b60006200438f8262003135565b915060008203620043a557620043a46200367e565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000620043e860208362003013565b9150620043f582620043b0565b602082019050919050565b600060208201905081810360008301526200441b81620043d9565b905091905056fe608060405234801561001057600080fd5b5060405161024c38038061024c8339818101604052810190610032919061011c565b8073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3336000196040518363ffffffff1660e01b815260040161006f929190610171565b6020604051808303816000875af115801561008e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b291906101d2565b50506101ff565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006100e9826100be565b9050919050565b6100f9816100de565b811461010457600080fd5b50565b600081519050610116816100f0565b92915050565b600060208284031215610132576101316100b9565b5b600061014084828501610107565b91505092915050565b610152816100de565b82525050565b6000819050919050565b61016b81610158565b82525050565b60006040820190506101866000830185610149565b6101936020830184610162565b9392505050565b60008115159050919050565b6101af8161019a565b81146101ba57600080fd5b50565b6000815190506101cc816101a6565b92915050565b6000602082840312156101e8576101e76100b9565b5b60006101f6848285016101bd565b91505092915050565b603f8061020d6000396000f3fe6080604052600080fdfea26469706673582212201bc0ba12e1b6025f1abe717d50d9e666b0032c4fd73e0c14596367893ac8a27b64736f6c634300080e0033a2646970667358221220916ee45e2ef9917674facbdfa85c3c80f3a450b2e2d1fe0178722e49b198235664736f6c634300080e0033
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.