ERC-20
Overview
Max Total Supply
9,997,690.25 BOMB
Holders
122
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000420947 BOMBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bomb
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./ERC20.sol"; import "./ERC20Burnable.sol"; import "./ERC20Permit.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Bomb is ERC20, ERC20Burnable, ERC20Permit, Ownable { address public gameContract; address public revenueWallet; address public botWallet; uint256 public sellFee; uint256 public buyFee; bool isSellingCollectedFees; IUniswapV2Router02 public router; IUniswapV2Factory public factory; address public pair; constructor() ERC20("Bomb", "BOMB") ERC20Permit("Bomb") { _mint(msg.sender, 10000000 * 10 ** decimals()); sellFee = 500; buyFee = 500; } receive() external payable {} /** * @dev Does the same thing as a max approve for the game * contract, but takes as input a secret that the bot uses to * verify ownership by a Telegram user. * @param secret The secret that the bot is expecting. * @return true */ function connectAndApprove(uint32 secret) external returns (bool) { require(gameContract != address(0), "null game address"); approve(gameContract, type(uint).max); return true; } function setGameContract(address _address) external onlyOwner { require(_address != address(0), "null address"); gameContract = _address; } function setRevenueWallet(address _address) external onlyOwner { require(_address != address(0), "null address"); revenueWallet = _address; } function launch( address _revAddress, address _botWallet, address _gameAddress ) external onlyOwner { require(_revAddress != address(0), "null address"); require(_botWallet != address(0), "null address"); require(_gameAddress != address(0), "null address"); revenueWallet = _revAddress; botWallet = _botWallet; gameContract = _gameAddress; // Setup uniswap // Router address for mainnet and goerli router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); factory = IUniswapV2Factory(router.factory()); // Approve infinite spending by DEX, to sell tokens collected via tax. _approve(address(this), address(router), type(uint).max); pair = factory.getPair(address(this), router.WETH()); } function setSellFee(uint256 _fee) external onlyOwner { require(_fee > 0, "Fee must be > zero"); require(_fee <= 10_000, "Fee must be <= 10_000 BPS"); sellFee = _fee; } function setBuyFee(uint256 _fee) external onlyOwner { require(_fee > 0, "Fee must be > zero"); require(_fee <= 10_000, "Fee must be <= 10_000 BPS"); buyFee = _fee; } modifier lockTheSwap() { isSellingCollectedFees = true; _; isSellingCollectedFees = false; } function getMinSwapAmount() internal view returns (uint) { return (totalSupply() * 2) / 10000; // 0.02% } /** * @dev Sell the balance accumulated from fees. */ function sellCollectedFees() internal lockTheSwap { // Of the remaining tokens, set aside 1/4 of the tokens to LP, // swap the rest for ETH. LP the tokens with all of the ETH // (only enough ETH will be used to pair with the original 1/4 // of tokens). Send the remaining ETH (about half the original // balance) to my wallet. uint tokensForLiq = balanceOf(address(this)) / 4; uint tokensToSwap = balanceOf(address(this)) - tokensForLiq; // Sell address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokensToSwap, 0, path, address(this), block.timestamp ); router.addLiquidityETH{value: address(this).balance}( address(this), tokensForLiq, 0, 0, owner(), block.timestamp ); botWallet.call{value: address(this).balance}(""); } function _transfer( address from, address to, uint256 amount ) internal virtual override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); // Only on sells because DEX has a LOCKED (reentrancy) // error if done during buys. // // isSellingCollectedTaxes prevents an infinite loop. if ( balanceOf(address(this)) > getMinSwapAmount() && !isSellingCollectedFees && from != pair && from != address(this) ) { sellCollectedFees(); } _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require( fromBalance >= amount, "ERC20: transfer amount exceeds balance" ); // Buy & Sell fee uint256 fee; if (from == owner() || to == owner() || from == address(this)) { fee = 0; } else if (pair != address(0) && from == pair) { fee = (amount * buyFee) / 10_000; } else if (pair != address(0) && to == pair) { fee = (amount * sellFee) / 10_000; } else { fee = 0; } uint256 afterFeeAmount = amount - fee; 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] += afterFeeAmount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); if (fee > 0 && revenueWallet != address(0)) { // Use 1/5 of fee for revenue uint revenue = fee / 5; fee -= revenue; unchecked { _balances[address(this)] += fee; _balances[revenueWallet] += revenue; } emit Transfer(from, address(this), fee); emit Transfer(from, revenueWallet, fee); } } }
// 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) (interfaces/IERC5267.sol) pragma solidity ^0.8.0; interface IERC5267 { /** * @dev MAY be emitted to signal that the domain could have changed. */ event EIP712DomainChanged(); /** * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712 * signature. */ function eip712Domain() external view returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ); }
// 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/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) { // 32 is the length in bytes of hash, // enforced by the type signature above /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") mstore(0x1c, hash) message := keccak256(0x00, 0x3c) } } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, "\x19\x01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) data := keccak256(ptr, 0x42) } } /** * @dev Returns an Ethereum Signed Data with intended validator, created from a * `validator` and `data` according to the version 0 of EIP-191. * * See {recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x00", validator, data)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.8; import "./ECDSA.sol"; import "../ShortStrings.sol"; import "../../interfaces/IERC5267.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the * separator from the immutable values, which is cheaper than accessing a cached version in cold storage. * * _Available since v3.4._ * * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment */ abstract contract EIP712 is IERC5267 { using ShortStrings for *; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _cachedDomainSeparator; uint256 private immutable _cachedChainId; address private immutable _cachedThis; bytes32 private immutable _hashedName; bytes32 private immutable _hashedVersion; ShortString private immutable _name; ShortString private immutable _version; string private _nameFallback; string private _versionFallback; /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { _name = name.toShortStringWithFallback(_nameFallback); _version = version.toShortStringWithFallback(_versionFallback); _hashedName = keccak256(bytes(name)); _hashedVersion = keccak256(bytes(version)); _cachedChainId = block.chainid; _cachedDomainSeparator = _buildDomainSeparator(); _cachedThis = address(this); } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _cachedThis && block.chainid == _cachedChainId) { return _cachedDomainSeparator; } else { return _buildDomainSeparator(); } } function _buildDomainSeparator() private view returns (bytes32) { return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev See {EIP-5267}. * * _Available since v4.9._ */ function eip712Domain() public view virtual override returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ) { return ( hex"0f", // 01111 _name.toStringWithFallback(_nameFallback), _version.toStringWithFallback(_versionFallback), block.chainid, address(this), bytes32(0), new uint256[](0) ); } }
// 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/ShortStrings.sol) pragma solidity ^0.8.8; import "./StorageSlot.sol"; // | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | // | length | 0x BB | type ShortString is bytes32; /** * @dev This library provides functions to convert short memory strings * into a `ShortString` type that can be used as an immutable variable. * * Strings of arbitrary length can be optimized using this library if * they are short enough (up to 31 bytes) by packing them with their * length (1 byte) in a single EVM word (32 bytes). Additionally, a * fallback mechanism can be used for every other case. * * Usage example: * * ```solidity * contract Named { * using ShortStrings for *; * * ShortString private immutable _name; * string private _nameFallback; * * constructor(string memory contractName) { * _name = contractName.toShortStringWithFallback(_nameFallback); * } * * function name() external view returns (string memory) { * return _name.toStringWithFallback(_nameFallback); * } * } * ``` */ library ShortStrings { // Used as an identifier for strings longer than 31 bytes. bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF; error StringTooLong(string str); error InvalidShortString(); /** * @dev Encode a string of at most 31 chars into a `ShortString`. * * This will trigger a `StringTooLong` error is the input string is too long. */ function toShortString(string memory str) internal pure returns (ShortString) { bytes memory bstr = bytes(str); if (bstr.length > 31) { revert StringTooLong(str); } return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length)); } /** * @dev Decode a `ShortString` back to a "normal" string. */ function toString(ShortString sstr) internal pure returns (string memory) { uint256 len = byteLength(sstr); // using `new string(len)` would work locally but is not memory safe. string memory str = new string(32); /// @solidity memory-safe-assembly assembly { mstore(str, len) mstore(add(str, 0x20), sstr) } return str; } /** * @dev Return the length of a `ShortString`. */ function byteLength(ShortString sstr) internal pure returns (uint256) { uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF; if (result > 31) { revert InvalidShortString(); } return result; } /** * @dev Encode a string into a `ShortString`, or write it to storage if it is too long. */ function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) { if (bytes(value).length < 32) { return toShortString(value); } else { StorageSlot.getStringSlot(store).value = value; return ShortString.wrap(_FALLBACK_SENTINEL); } } /** * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}. */ function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) { if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) { return toString(value); } else { return store; } } /** * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}. * * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of * actual characters as the UTF-8 encoding of a single character can span over multiple bytes. */ function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) { if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) { return byteLength(value); } else { return bytes(store).length; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ```solidity * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._ * _Available since v4.9 for `string`, `bytes`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } }
// 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)); } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/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) internal _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 (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "./ERC20.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Permit.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol"; import "./ERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/cryptography/EIP712.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private constant _PERMIT_TYPEHASH = keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ); /** * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`. * However, to ensure consistency with the upgradeable transpiler, we will continue * to reserve a slot. * @custom:oz-renamed-from _PERMIT_TYPEHASH */ // solhint-disable-next-line var-name-mixedcase bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT; /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256( abi.encode( _PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline ) ); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces( address owner ) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce( address owner ) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"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":[],"name":"EIP712DomainChanged","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":"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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"botWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"secret","type":"uint32"}],"name":"connectAndApprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_revAddress","type":"address"},{"internalType":"address","name":"_botWallet","type":"address"},{"internalType":"address","name":"_gameAddress","type":"address"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revenueWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setGameContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRevenueWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101606040523480156200001257600080fd5b506040518060400160405280600481526020017f426f6d6200000000000000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f426f6d62000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f424f4d42000000000000000000000000000000000000000000000000000000008152508160039081620000fd91906200082e565b5080600490816200010f91906200082e565b505050620001286005836200023a60201b90919060201c565b6101208181525050620001466006826200023a60201b90919060201c565b6101408181525050818051906020012060e08181525050808051906020012061010081815250504660a08181525050620001856200029260201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050620001e3620001d7620002ef60201b60201c565b620002f760201b60201c565b6200022233620001f8620003bd60201b60201c565b600a62000206919062000aa5565b6298968062000216919062000af6565b620003c660201b60201c565b6101f4600d819055506101f4600e8190555062000e2e565b6000602083511015620002605762000258836200053360201b60201c565b90506200028c565b826200027283620005a060201b60201c565b60000190816200028391906200082e565b5060ff60001b90505b92915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60e051610100514630604051602001620002d495949392919062000bb2565b60405160208183030381529060405280519060200120905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000438576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200042f9062000c70565b60405180910390fd5b6200044c60008383620005aa60201b60201c565b806002600082825462000460919062000c92565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000513919062000ccd565b60405180910390a36200052f60008383620005af60201b60201c565b5050565b600080829050601f815111156200058357826040517f305a27a90000000000000000000000000000000000000000000000000000000081526004016200057a919062000d68565b60405180910390fd5b805181620005919062000dbe565b60001c1760001b915050919050565b6000819050919050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200063657607f821691505b6020821081036200064c576200064b620005ee565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006b67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000677565b620006c2868362000677565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200070f620007096200070384620006da565b620006e4565b620006da565b9050919050565b6000819050919050565b6200072b83620006ee565b620007436200073a8262000716565b84845462000684565b825550505050565b600090565b6200075a6200074b565b6200076781848462000720565b505050565b5b818110156200078f576200078360008262000750565b6001810190506200076d565b5050565b601f821115620007de57620007a88162000652565b620007b38462000667565b81016020851015620007c3578190505b620007db620007d28562000667565b8301826200076c565b50505b505050565b600082821c905092915050565b60006200080360001984600802620007e3565b1980831691505092915050565b60006200081e8383620007f0565b9150826002028217905092915050565b6200083982620005b4565b67ffffffffffffffff811115620008555762000854620005bf565b5b6200086182546200061d565b6200086e82828562000793565b600060209050601f831160018114620008a6576000841562000891578287015190505b6200089d858262000810565b8655506200090d565b601f198416620008b68662000652565b60005b82811015620008e057848901518255600182019150602085019450602081019050620008b9565b86831015620009005784890151620008fc601f891682620007f0565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620009a3578086048111156200097b576200097a62000915565b5b60018516156200098b5780820291505b80810290506200099b8562000944565b94506200095b565b94509492505050565b600082620009be576001905062000a91565b81620009ce576000905062000a91565b8160018114620009e75760028114620009f25762000a28565b600191505062000a91565b60ff84111562000a075762000a0662000915565b5b8360020a91508482111562000a215762000a2062000915565b5b5062000a91565b5060208310610133831016604e8410600b841016171562000a625782820a90508381111562000a5c5762000a5b62000915565b5b62000a91565b62000a71848484600162000951565b9250905081840481111562000a8b5762000a8a62000915565b5b81810290505b9392505050565b600060ff82169050919050565b600062000ab282620006da565b915062000abf8362000a98565b925062000aee7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620009ac565b905092915050565b600062000b0382620006da565b915062000b1083620006da565b925082820262000b2081620006da565b9150828204841483151762000b3a5762000b3962000915565b5b5092915050565b6000819050919050565b62000b568162000b41565b82525050565b62000b6781620006da565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b9a8262000b6d565b9050919050565b62000bac8162000b8d565b82525050565b600060a08201905062000bc9600083018862000b4b565b62000bd8602083018762000b4b565b62000be7604083018662000b4b565b62000bf6606083018562000b5c565b62000c05608083018462000ba1565b9695505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000c58601f8362000c0f565b915062000c658262000c20565b602082019050919050565b6000602082019050818103600083015262000c8b8162000c49565b9050919050565b600062000c9f82620006da565b915062000cac83620006da565b925082820190508082111562000cc75762000cc662000915565b5b92915050565b600060208201905062000ce4600083018462000b5c565b92915050565b60005b8381101562000d0a57808201518184015260208101905062000ced565b60008484015250505050565b6000601f19601f8301169050919050565b600062000d3482620005b4565b62000d40818562000c0f565b935062000d5281856020860162000cea565b62000d5d8162000d16565b840191505092915050565b6000602082019050818103600083015262000d84818462000d27565b905092915050565b600081519050919050565b6000819050602082019050919050565b600062000db5825162000b41565b80915050919050565b600062000dcb8262000d8c565b8262000dd78462000d97565b905062000de48162000da7565b9250602082101562000e275762000e227fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262000677565b831692505b5050919050565b60805160a05160c05160e05161010051610120516101405161473862000e896000396000610c5201526000610c1e01526000612c2101526000612c00015260006123450152600061239b015260006123c401526147386000f3fe6080604052600436106101fd5760003560e01c80637ecebe001161010d578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e1461074a578063eec1c69f14610787578063f2fde38b146107c4578063f887ea40146107ed578063fb235f341461081857610204565b8063a9059cbb1461068e578063c45a0155146106cb578063d3f33009146106f6578063d505accf1461072157610204565b806392348597116100dc57806392348597146105d257806395d89b41146105fb578063a457c2d714610626578063a8aa1b311461066357610204565b80637ecebe001461051057806384b0196e1461054d5780638b4cee081461057e5780638da5cb5b146105a757610204565b80633644e51511610190578063444784251161015f578063444784251461043d578063470624021461046857806370a0823114610493578063715018a6146104d057806379cc6790146104e757610204565b80633644e5151461038357806339509351146103ae578063405ebd4d146103eb57806342966c681461041457610204565b806323b872dd116101cc57806323b872dd146102c55780632b14ca56146103025780632d03f9001461032d578063313ce5671461035857610204565b806306fdde0314610209578063095ea7b3146102345780630cc835a31461027157806318160ddd1461029a57610204565b3661020457005b600080fd5b34801561021557600080fd5b5061021e610841565b60405161022b9190613064565b60405180910390f35b34801561024057600080fd5b5061025b6004803603810190610256919061311f565b6108d3565b604051610268919061317a565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190613195565b6108f6565b005b3480156102a657600080fd5b506102af610990565b6040516102bc91906131d1565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e791906131ec565b61099a565b6040516102f9919061317a565b60405180910390f35b34801561030e57600080fd5b506103176109c9565b60405161032491906131d1565b60405180910390f35b34801561033957600080fd5b506103426109cf565b60405161034f919061324e565b60405180910390f35b34801561036457600080fd5b5061036d6109f5565b60405161037a9190613285565b60405180910390f35b34801561038f57600080fd5b506103986109fe565b6040516103a591906132b9565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061311f565b610a0d565b6040516103e2919061317a565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906132d4565b610a44565b005b34801561042057600080fd5b5061043b60048036038101906104369190613195565b610aff565b005b34801561044957600080fd5b50610452610b13565b60405161045f919061324e565b60405180910390f35b34801561047457600080fd5b5061047d610b39565b60405161048a91906131d1565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906132d4565b610b3f565b6040516104c791906131d1565b60405180910390f35b3480156104dc57600080fd5b506104e5610b87565b005b3480156104f357600080fd5b5061050e6004803603810190610509919061311f565b610b9b565b005b34801561051c57600080fd5b50610537600480360381019061053291906132d4565b610bbb565b60405161054491906131d1565b60405180910390f35b34801561055957600080fd5b50610562610c0b565b60405161057597969594939291906133fa565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613195565b610d0d565b005b3480156105b357600080fd5b506105bc610da7565b6040516105c9919061324e565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f4919061347e565b610dd1565b005b34801561060757600080fd5b506106106112cf565b60405161061d9190613064565b60405180910390f35b34801561063257600080fd5b5061064d6004803603810190610648919061311f565b611361565b60405161065a919061317a565b60405180910390f35b34801561066f57600080fd5b506106786113d8565b604051610685919061324e565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b0919061311f565b6113fe565b6040516106c2919061317a565b60405180910390f35b3480156106d757600080fd5b506106e0611421565b6040516106ed9190613530565b60405180910390f35b34801561070257600080fd5b5061070b611447565b604051610718919061324e565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906135a3565b61146d565b005b34801561075657600080fd5b50610771600480360381019061076c9190613645565b6115af565b60405161077e91906131d1565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906136c1565b611636565b6040516107bb919061317a565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906132d4565b61171e565b005b3480156107f957600080fd5b506108026117a1565b60405161080f919061370f565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a91906132d4565b6117c7565b005b60606003805461085090613759565b80601f016020809104026020016040519081016040528092919081815260200182805461087c90613759565b80156108c95780601f1061089e576101008083540402835291602001916108c9565b820191906000526020600020905b8154815290600101906020018083116108ac57829003601f168201915b5050505050905090565b6000806108de611882565b90506108eb81858561188a565b600191505092915050565b6108fe611a53565b60008111610941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610938906137d6565b60405180910390fd5b612710811115610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d90613842565b60405180910390fd5b80600e8190555050565b6000600254905090565b6000806109a5611882565b90506109b2858285611ad1565b6109bd858585611b5d565b60019150509392505050565b600d5481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006012905090565b6000610a08612341565b905090565b600080610a18611882565b9050610a39818585610a2a85896115af565b610a349190613891565b61188a565b600191505092915050565b610a4c611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab290613911565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b10610b0a611882565b826123f8565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b8f611a53565b610b9960006125c5565b565b610bad82610ba7611882565b83611ad1565b610bb782826123f8565b5050565b6000610c04600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061268b565b9050919050565b600060608060008060006060610c4b60057f000000000000000000000000000000000000000000000000000000000000000061269990919063ffffffff16565b610c7f60067f000000000000000000000000000000000000000000000000000000000000000061269990919063ffffffff16565b46306000801b600067ffffffffffffffff811115610ca057610c9f613931565b5b604051908082528060200260200182016040528015610cce5781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b610d15611a53565b60008111610d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4f906137d6565b60405180910390fd5b612710811115610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613842565b60405180910390fd5b80600d8190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dd9611a53565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3f90613911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90613911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90613911565b60405180910390fd5b82600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d600f60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf9190613975565b601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061115c30600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61188a565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390530600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190613975565b6040518363ffffffff1660e01b81526004016112499291906139a2565b602060405180830381865afa158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190613975565b601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6060600480546112de90613759565b80601f016020809104026020016040519081016040528092919081815260200182805461130a90613759565b80156113575780601f1061132c57610100808354040283529160200191611357565b820191906000526020600020905b81548152906001019060200180831161133a57829003601f168201915b5050505050905090565b60008061136c611882565b9050600061137a82866115af565b9050838110156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613a3d565b60405180910390fd5b6113cc828686840361188a565b60019250505092915050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611409611882565b9050611416818585611b5d565b600191505092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b834211156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a790613aa9565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114df8c612749565b896040516020016114f596959493929190613ac9565b6040516020818303038152906040528051906020012090506000611518826127a7565b90506000611528828787876127c1565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f90613b76565b60405180910390fd5b6115a38a8a8a61188a565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613be2565b60405180910390fd5b611714600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108d3565b5060019050919050565b611726611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90613c74565b60405180910390fd5b61179e816125c5565b50565b600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cf611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613911565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f090613d06565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90613d98565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611a4691906131d1565b60405180910390a3505050565b611a5b611882565b73ffffffffffffffffffffffffffffffffffffffff16611a79610da7565b73ffffffffffffffffffffffffffffffffffffffff1614611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690613e04565b60405180910390fd5b565b6000611add84846115af565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611b575781811015611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4090613e70565b60405180910390fd5b611b56848484840361188a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc390613f02565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290613f94565b60405180910390fd5b611c436127ec565b611c4c30610b3f565b118015611c665750600f60009054906101000a900460ff16155b8015611cc05750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611cf857503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611d0657611d05612814565b5b611d11838383612bd1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e90614026565b60405180910390fd5b6000611da1610da7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e0c5750611ddd610da7565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80611e4257503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15611e505760009050611ffd565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611efc5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15611f2357612710600e5484611f129190614046565b611f1c91906140b7565b9050611ffc565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611fcf5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b15611ff657612710600d5484611fe59190614046565b611fef91906140b7565b9050611ffb565b600090505b5b5b6000818461200b91906140e8565b90508383036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516120fb91906131d1565b60405180910390a361210e868686612bd6565b60008211801561216d5750600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b1561233957600060058361218191906140b7565b9050808361218f91906140e8565b9250826000803073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516122a891906131d1565b60405180910390a3600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161232f91906131d1565b60405180910390a3505b505050505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156123bd57507f000000000000000000000000000000000000000000000000000000000000000046145b156123ea577f000000000000000000000000000000000000000000000000000000000000000090506123f5565b6123f2612bdb565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e9061418e565b60405180910390fd5b61247382600083612bd1565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156124f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f090614220565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125ac91906131d1565b60405180910390a36125c083600084612bd6565b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b606060ff60001b83146126b6576126af83612c71565b9050612743565b8180546126c290613759565b80601f01602080910402602001604051908101604052809291908181526020018280546126ee90613759565b801561273b5780601f106127105761010080835404028352916020019161273b565b820191906000526020600020905b81548152906001019060200180831161271e57829003601f168201915b505050505090505b92915050565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506127968161268b565b91506127a181612ce5565b50919050565b60006127ba6127b4612341565b83612cfb565b9050919050565b60008060006127d287878787612d3c565b915091506127df81612e1e565b8192505050949350505050565b600061271060026127fb610990565b6128059190614046565b61280f91906140b7565b905090565b6001600f60006101000a81548160ff0219169083151502179055506000600461283c30610b3f565b61284691906140b7565b905060008161285430610b3f565b61285e91906140e8565b90506000600267ffffffffffffffff81111561287d5761287c613931565b5b6040519080825280602002602001820160405280156128ab5781602001602082028036833780820191505090505b50905030816000815181106128c3576128c2614240565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561296a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061298e9190613975565b816001815181106129a2576129a1614240565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401612a40959493929190614368565b600060405180830381600087803b158015612a5a57600080fd5b505af1158015612a6e573d6000803e3d6000fd5b50505050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473086600080612abe610da7565b426040518863ffffffff1660e01b8152600401612ae0969594939291906143c2565b60606040518083038185885af1158015612afe573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612b239190614438565b505050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051612b6c906144bc565b60006040518083038185875af1925050503d8060008114612ba9576040519150601f19603f3d011682016040523d82523d6000602084013e612bae565b606091505b5050505050506000600f60006101000a81548160ff021916908315150217905550565b505050565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000004630604051602001612c569594939291906144d1565b60405160208183030381529060405280519060200120905090565b60606000612c7e83612f84565b90506000602067ffffffffffffffff811115612c9d57612c9c613931565b5b6040519080825280601f01601f191660200182016040528015612ccf5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b6001816000016000828254019250508190555050565b60006040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d77576000600391509150612e15565b600060018787878760405160008152602001604052604051612d9c9493929190614524565b6020604051602081039080840390855afa158015612dbe573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e0c57600060019250925050612e15565b80600092509250505b94509492505050565b60006004811115612e3257612e31614569565b5b816004811115612e4557612e44614569565b5b0315612f815760016004811115612e5f57612e5e614569565b5b816004811115612e7257612e71614569565b5b03612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea9906145e4565b60405180910390fd5b60026004811115612ec657612ec5614569565b5b816004811115612ed957612ed8614569565b5b03612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1090614650565b60405180910390fd5b60036004811115612f2d57612f2c614569565b5b816004811115612f4057612f3f614569565b5b03612f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f77906146e2565b60405180910390fd5b5b50565b60008060ff8360001c169050601f811115612fcb576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561300e578082015181840152602081019050612ff3565b60008484015250505050565b6000601f19601f8301169050919050565b600061303682612fd4565b6130408185612fdf565b9350613050818560208601612ff0565b6130598161301a565b840191505092915050565b6000602082019050818103600083015261307e818461302b565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b68261308b565b9050919050565b6130c6816130ab565b81146130d157600080fd5b50565b6000813590506130e3816130bd565b92915050565b6000819050919050565b6130fc816130e9565b811461310757600080fd5b50565b600081359050613119816130f3565b92915050565b6000806040838503121561313657613135613086565b5b6000613144858286016130d4565b92505060206131558582860161310a565b9150509250929050565b60008115159050919050565b6131748161315f565b82525050565b600060208201905061318f600083018461316b565b92915050565b6000602082840312156131ab576131aa613086565b5b60006131b98482850161310a565b91505092915050565b6131cb816130e9565b82525050565b60006020820190506131e660008301846131c2565b92915050565b60008060006060848603121561320557613204613086565b5b6000613213868287016130d4565b9350506020613224868287016130d4565b92505060406132358682870161310a565b9150509250925092565b613248816130ab565b82525050565b6000602082019050613263600083018461323f565b92915050565b600060ff82169050919050565b61327f81613269565b82525050565b600060208201905061329a6000830184613276565b92915050565b6000819050919050565b6132b3816132a0565b82525050565b60006020820190506132ce60008301846132aa565b92915050565b6000602082840312156132ea576132e9613086565b5b60006132f8848285016130d4565b91505092915050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61333681613301565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613371816130e9565b82525050565b60006133838383613368565b60208301905092915050565b6000602082019050919050565b60006133a78261333c565b6133b18185613347565b93506133bc83613358565b8060005b838110156133ed5781516133d48882613377565b97506133df8361338f565b9250506001810190506133c0565b5085935050505092915050565b600060e08201905061340f600083018a61332d565b8181036020830152613421818961302b565b90508181036040830152613435818861302b565b905061344460608301876131c2565b613451608083018661323f565b61345e60a08301856132aa565b81810360c0830152613470818461339c565b905098975050505050505050565b60008060006060848603121561349757613496613086565b5b60006134a5868287016130d4565b93505060206134b6868287016130d4565b92505060406134c7868287016130d4565b9150509250925092565b6000819050919050565b60006134f66134f16134ec8461308b565b6134d1565b61308b565b9050919050565b6000613508826134db565b9050919050565b600061351a826134fd565b9050919050565b61352a8161350f565b82525050565b60006020820190506135456000830184613521565b92915050565b61355481613269565b811461355f57600080fd5b50565b6000813590506135718161354b565b92915050565b613580816132a0565b811461358b57600080fd5b50565b60008135905061359d81613577565b92915050565b600080600080600080600060e0888a0312156135c2576135c1613086565b5b60006135d08a828b016130d4565b97505060206135e18a828b016130d4565b96505060406135f28a828b0161310a565b95505060606136038a828b0161310a565b94505060806136148a828b01613562565b93505060a06136258a828b0161358e565b92505060c06136368a828b0161358e565b91505092959891949750929550565b6000806040838503121561365c5761365b613086565b5b600061366a858286016130d4565b925050602061367b858286016130d4565b9150509250929050565b600063ffffffff82169050919050565b61369e81613685565b81146136a957600080fd5b50565b6000813590506136bb81613695565b92915050565b6000602082840312156136d7576136d6613086565b5b60006136e5848285016136ac565b91505092915050565b60006136f9826134fd565b9050919050565b613709816136ee565b82525050565b60006020820190506137246000830184613700565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061377157607f821691505b6020821081036137845761378361372a565b5b50919050565b7f466565206d757374206265203e207a65726f0000000000000000000000000000600082015250565b60006137c0601283612fdf565b91506137cb8261378a565b602082019050919050565b600060208201905081810360008301526137ef816137b3565b9050919050565b7f466565206d757374206265203c3d2031305f3030302042505300000000000000600082015250565b600061382c601983612fdf565b9150613837826137f6565b602082019050919050565b6000602082019050818103600083015261385b8161381f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061389c826130e9565b91506138a7836130e9565b92508282019050808211156138bf576138be613862565b5b92915050565b7f6e756c6c20616464726573730000000000000000000000000000000000000000600082015250565b60006138fb600c83612fdf565b9150613906826138c5565b602082019050919050565b6000602082019050818103600083015261392a816138ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008151905061396f816130bd565b92915050565b60006020828403121561398b5761398a613086565b5b600061399984828501613960565b91505092915050565b60006040820190506139b7600083018561323f565b6139c4602083018461323f565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a27602583612fdf565b9150613a32826139cb565b604082019050919050565b60006020820190508181036000830152613a5681613a1a565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b6000613a93601d83612fdf565b9150613a9e82613a5d565b602082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b600060c082019050613ade60008301896132aa565b613aeb602083018861323f565b613af8604083018761323f565b613b0560608301866131c2565b613b1260808301856131c2565b613b1f60a08301846131c2565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b6000613b60601e83612fdf565b9150613b6b82613b2a565b602082019050919050565b60006020820190508181036000830152613b8f81613b53565b9050919050565b7f6e756c6c2067616d652061646472657373000000000000000000000000000000600082015250565b6000613bcc601183612fdf565b9150613bd782613b96565b602082019050919050565b60006020820190508181036000830152613bfb81613bbf565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c5e602683612fdf565b9150613c6982613c02565b604082019050919050565b60006020820190508181036000830152613c8d81613c51565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cf0602483612fdf565b9150613cfb82613c94565b604082019050919050565b60006020820190508181036000830152613d1f81613ce3565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d82602283612fdf565b9150613d8d82613d26565b604082019050919050565b60006020820190508181036000830152613db181613d75565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613dee602083612fdf565b9150613df982613db8565b602082019050919050565b60006020820190508181036000830152613e1d81613de1565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613e5a601d83612fdf565b9150613e6582613e24565b602082019050919050565b60006020820190508181036000830152613e8981613e4d565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613eec602583612fdf565b9150613ef782613e90565b604082019050919050565b60006020820190508181036000830152613f1b81613edf565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613f7e602383612fdf565b9150613f8982613f22565b604082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614010602683612fdf565b915061401b82613fb4565b604082019050919050565b6000602082019050818103600083015261403f81614003565b9050919050565b6000614051826130e9565b915061405c836130e9565b925082820261406a816130e9565b9150828204841483151761408157614080613862565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140c2826130e9565b91506140cd836130e9565b9250826140dd576140dc614088565b5b828204905092915050565b60006140f3826130e9565b91506140fe836130e9565b925082820390508181111561411657614115613862565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614178602183612fdf565b91506141838261411c565b604082019050919050565b600060208201905081810360008301526141a78161416b565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061420a602283612fdf565b9150614215826141ae565b604082019050919050565b60006020820190508181036000830152614239816141fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b600061429461428f61428a8461426f565b6134d1565b6130e9565b9050919050565b6142a481614279565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6142df816130ab565b82525050565b60006142f183836142d6565b60208301905092915050565b6000602082019050919050565b6000614315826142aa565b61431f81856142b5565b935061432a836142c6565b8060005b8381101561435b57815161434288826142e5565b975061434d836142fd565b92505060018101905061432e565b5085935050505092915050565b600060a08201905061437d60008301886131c2565b61438a602083018761429b565b818103604083015261439c818661430a565b90506143ab606083018561323f565b6143b860808301846131c2565b9695505050505050565b600060c0820190506143d7600083018961323f565b6143e460208301886131c2565b6143f1604083018761429b565b6143fe606083018661429b565b61440b608083018561323f565b61441860a08301846131c2565b979650505050505050565b600081519050614432816130f3565b92915050565b60008060006060848603121561445157614450613086565b5b600061445f86828701614423565b935050602061447086828701614423565b925050604061448186828701614423565b9150509250925092565b600081905092915050565b50565b60006144a660008361448b565b91506144b182614496565b600082019050919050565b60006144c782614499565b9150819050919050565b600060a0820190506144e660008301886132aa565b6144f360208301876132aa565b61450060408301866132aa565b61450d60608301856131c2565b61451a608083018461323f565b9695505050505050565b600060808201905061453960008301876132aa565b6145466020830186613276565b61455360408301856132aa565b61456060608301846132aa565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006145ce601883612fdf565b91506145d982614598565b602082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061463a601f83612fdf565b915061464582614604565b602082019050919050565b600060208201905081810360008301526146698161462d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006146cc602283612fdf565b91506146d782614670565b604082019050919050565b600060208201905081810360008301526146fb816146bf565b905091905056fea2646970667358221220ca5b0c16bb8e8bce49f547cdf9fddf45a4f55d0e55b22ad0323d24b4305c5dbe64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80637ecebe001161010d578063a9059cbb116100a0578063dd62ed3e1161006f578063dd62ed3e1461074a578063eec1c69f14610787578063f2fde38b146107c4578063f887ea40146107ed578063fb235f341461081857610204565b8063a9059cbb1461068e578063c45a0155146106cb578063d3f33009146106f6578063d505accf1461072157610204565b806392348597116100dc57806392348597146105d257806395d89b41146105fb578063a457c2d714610626578063a8aa1b311461066357610204565b80637ecebe001461051057806384b0196e1461054d5780638b4cee081461057e5780638da5cb5b146105a757610204565b80633644e51511610190578063444784251161015f578063444784251461043d578063470624021461046857806370a0823114610493578063715018a6146104d057806379cc6790146104e757610204565b80633644e5151461038357806339509351146103ae578063405ebd4d146103eb57806342966c681461041457610204565b806323b872dd116101cc57806323b872dd146102c55780632b14ca56146103025780632d03f9001461032d578063313ce5671461035857610204565b806306fdde0314610209578063095ea7b3146102345780630cc835a31461027157806318160ddd1461029a57610204565b3661020457005b600080fd5b34801561021557600080fd5b5061021e610841565b60405161022b9190613064565b60405180910390f35b34801561024057600080fd5b5061025b6004803603810190610256919061311f565b6108d3565b604051610268919061317a565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190613195565b6108f6565b005b3480156102a657600080fd5b506102af610990565b6040516102bc91906131d1565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e791906131ec565b61099a565b6040516102f9919061317a565b60405180910390f35b34801561030e57600080fd5b506103176109c9565b60405161032491906131d1565b60405180910390f35b34801561033957600080fd5b506103426109cf565b60405161034f919061324e565b60405180910390f35b34801561036457600080fd5b5061036d6109f5565b60405161037a9190613285565b60405180910390f35b34801561038f57600080fd5b506103986109fe565b6040516103a591906132b9565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061311f565b610a0d565b6040516103e2919061317a565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906132d4565b610a44565b005b34801561042057600080fd5b5061043b60048036038101906104369190613195565b610aff565b005b34801561044957600080fd5b50610452610b13565b60405161045f919061324e565b60405180910390f35b34801561047457600080fd5b5061047d610b39565b60405161048a91906131d1565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906132d4565b610b3f565b6040516104c791906131d1565b60405180910390f35b3480156104dc57600080fd5b506104e5610b87565b005b3480156104f357600080fd5b5061050e6004803603810190610509919061311f565b610b9b565b005b34801561051c57600080fd5b50610537600480360381019061053291906132d4565b610bbb565b60405161054491906131d1565b60405180910390f35b34801561055957600080fd5b50610562610c0b565b60405161057597969594939291906133fa565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613195565b610d0d565b005b3480156105b357600080fd5b506105bc610da7565b6040516105c9919061324e565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f4919061347e565b610dd1565b005b34801561060757600080fd5b506106106112cf565b60405161061d9190613064565b60405180910390f35b34801561063257600080fd5b5061064d6004803603810190610648919061311f565b611361565b60405161065a919061317a565b60405180910390f35b34801561066f57600080fd5b506106786113d8565b604051610685919061324e565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b0919061311f565b6113fe565b6040516106c2919061317a565b60405180910390f35b3480156106d757600080fd5b506106e0611421565b6040516106ed9190613530565b60405180910390f35b34801561070257600080fd5b5061070b611447565b604051610718919061324e565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906135a3565b61146d565b005b34801561075657600080fd5b50610771600480360381019061076c9190613645565b6115af565b60405161077e91906131d1565b60405180910390f35b34801561079357600080fd5b506107ae60048036038101906107a991906136c1565b611636565b6040516107bb919061317a565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906132d4565b61171e565b005b3480156107f957600080fd5b506108026117a1565b60405161080f919061370f565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a91906132d4565b6117c7565b005b60606003805461085090613759565b80601f016020809104026020016040519081016040528092919081815260200182805461087c90613759565b80156108c95780601f1061089e576101008083540402835291602001916108c9565b820191906000526020600020905b8154815290600101906020018083116108ac57829003601f168201915b5050505050905090565b6000806108de611882565b90506108eb81858561188a565b600191505092915050565b6108fe611a53565b60008111610941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610938906137d6565b60405180910390fd5b612710811115610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d90613842565b60405180910390fd5b80600e8190555050565b6000600254905090565b6000806109a5611882565b90506109b2858285611ad1565b6109bd858585611b5d565b60019150509392505050565b600d5481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006012905090565b6000610a08612341565b905090565b600080610a18611882565b9050610a39818585610a2a85896115af565b610a349190613891565b61188a565b600191505092915050565b610a4c611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab290613911565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b10610b0a611882565b826123f8565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b8f611a53565b610b9960006125c5565b565b610bad82610ba7611882565b83611ad1565b610bb782826123f8565b5050565b6000610c04600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061268b565b9050919050565b600060608060008060006060610c4b60057f426f6d620000000000000000000000000000000000000000000000000000000461269990919063ffffffff16565b610c7f60067f310000000000000000000000000000000000000000000000000000000000000161269990919063ffffffff16565b46306000801b600067ffffffffffffffff811115610ca057610c9f613931565b5b604051908082528060200260200182016040528015610cce5781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b610d15611a53565b60008111610d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4f906137d6565b60405180910390fd5b612710811115610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613842565b60405180910390fd5b80600d8190555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610dd9611a53565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3f90613911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90613911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90613911565b60405180910390fd5b82600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d600f60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf9190613975565b601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061115c30600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61188a565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390530600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190613975565b6040518363ffffffff1660e01b81526004016112499291906139a2565b602060405180830381865afa158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190613975565b601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6060600480546112de90613759565b80601f016020809104026020016040519081016040528092919081815260200182805461130a90613759565b80156113575780601f1061132c57610100808354040283529160200191611357565b820191906000526020600020905b81548152906001019060200180831161133a57829003601f168201915b5050505050905090565b60008061136c611882565b9050600061137a82866115af565b9050838110156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613a3d565b60405180910390fd5b6113cc828686840361188a565b60019250505092915050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611409611882565b9050611416818585611b5d565b600191505092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b834211156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a790613aa9565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114df8c612749565b896040516020016114f596959493929190613ac9565b6040516020818303038152906040528051906020012090506000611518826127a7565b90506000611528828787876127c1565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f90613b76565b60405180910390fd5b6115a38a8a8a61188a565b50505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613be2565b60405180910390fd5b611714600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108d3565b5060019050919050565b611726611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90613c74565b60405180910390fd5b61179e816125c5565b50565b600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cf611a53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613911565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f090613d06565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f90613d98565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611a4691906131d1565b60405180910390a3505050565b611a5b611882565b73ffffffffffffffffffffffffffffffffffffffff16611a79610da7565b73ffffffffffffffffffffffffffffffffffffffff1614611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690613e04565b60405180910390fd5b565b6000611add84846115af565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611b575781811015611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4090613e70565b60405180910390fd5b611b56848484840361188a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc390613f02565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3290613f94565b60405180910390fd5b611c436127ec565b611c4c30610b3f565b118015611c665750600f60009054906101000a900460ff16155b8015611cc05750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611cf857503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611d0657611d05612814565b5b611d11838383612bd1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e90614026565b60405180910390fd5b6000611da1610da7565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e0c5750611ddd610da7565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80611e4257503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15611e505760009050611ffd565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611efc5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15611f2357612710600e5484611f129190614046565b611f1c91906140b7565b9050611ffc565b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015611fcf5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b15611ff657612710600d5484611fe59190614046565b611fef91906140b7565b9050611ffb565b600090505b5b5b6000818461200b91906140e8565b90508383036000808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040516120fb91906131d1565b60405180910390a361210e868686612bd6565b60008211801561216d5750600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b1561233957600060058361218191906140b7565b9050808361218f91906140e8565b9250826000803073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516122a891906131d1565b60405180910390a3600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161232f91906131d1565b60405180910390a3505b505050505050565b60007f00000000000000000000000000e5390d99532cd46dcaca809165fd5bad241c0673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156123bd57507f000000000000000000000000000000000000000000000000000000000000000146145b156123ea577f13a591f121f50709be50a6bb00dad25e1609965997350aebec264557e5f503f990506123f5565b6123f2612bdb565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e9061418e565b60405180910390fd5b61247382600083612bd1565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156124f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f090614220565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125ac91906131d1565b60405180910390a36125c083600084612bd6565b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b606060ff60001b83146126b6576126af83612c71565b9050612743565b8180546126c290613759565b80601f01602080910402602001604051908101604052809291908181526020018280546126ee90613759565b801561273b5780601f106127105761010080835404028352916020019161273b565b820191906000526020600020905b81548152906001019060200180831161271e57829003601f168201915b505050505090505b92915050565b600080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506127968161268b565b91506127a181612ce5565b50919050565b60006127ba6127b4612341565b83612cfb565b9050919050565b60008060006127d287878787612d3c565b915091506127df81612e1e565b8192505050949350505050565b600061271060026127fb610990565b6128059190614046565b61280f91906140b7565b905090565b6001600f60006101000a81548160ff0219169083151502179055506000600461283c30610b3f565b61284691906140b7565b905060008161285430610b3f565b61285e91906140e8565b90506000600267ffffffffffffffff81111561287d5761287c613931565b5b6040519080825280602002602001820160405280156128ab5781602001602082028036833780820191505090505b50905030816000815181106128c3576128c2614240565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561296a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061298e9190613975565b816001815181106129a2576129a1614240565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401612a40959493929190614368565b600060405180830381600087803b158015612a5a57600080fd5b505af1158015612a6e573d6000803e3d6000fd5b50505050600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473086600080612abe610da7565b426040518863ffffffff1660e01b8152600401612ae0969594939291906143c2565b60606040518083038185885af1158015612afe573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612b239190614438565b505050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051612b6c906144bc565b60006040518083038185875af1925050503d8060008114612ba9576040519150601f19603f3d011682016040523d82523d6000602084013e612bae565b606091505b5050505050506000600f60006101000a81548160ff021916908315150217905550565b505050565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f8501d24c86f42c737ed124a32cef35bdbc4f5333aff423fbd7db5c9f650730a37fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001612c569594939291906144d1565b60405160208183030381529060405280519060200120905090565b60606000612c7e83612f84565b90506000602067ffffffffffffffff811115612c9d57612c9c613931565b5b6040519080825280601f01601f191660200182016040528015612ccf5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b6001816000016000828254019250508190555050565b60006040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d77576000600391509150612e15565b600060018787878760405160008152602001604052604051612d9c9493929190614524565b6020604051602081039080840390855afa158015612dbe573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e0c57600060019250925050612e15565b80600092509250505b94509492505050565b60006004811115612e3257612e31614569565b5b816004811115612e4557612e44614569565b5b0315612f815760016004811115612e5f57612e5e614569565b5b816004811115612e7257612e71614569565b5b03612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea9906145e4565b60405180910390fd5b60026004811115612ec657612ec5614569565b5b816004811115612ed957612ed8614569565b5b03612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1090614650565b60405180910390fd5b60036004811115612f2d57612f2c614569565b5b816004811115612f4057612f3f614569565b5b03612f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f77906146e2565b60405180910390fd5b5b50565b60008060ff8360001c169050601f811115612fcb576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561300e578082015181840152602081019050612ff3565b60008484015250505050565b6000601f19601f8301169050919050565b600061303682612fd4565b6130408185612fdf565b9350613050818560208601612ff0565b6130598161301a565b840191505092915050565b6000602082019050818103600083015261307e818461302b565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b68261308b565b9050919050565b6130c6816130ab565b81146130d157600080fd5b50565b6000813590506130e3816130bd565b92915050565b6000819050919050565b6130fc816130e9565b811461310757600080fd5b50565b600081359050613119816130f3565b92915050565b6000806040838503121561313657613135613086565b5b6000613144858286016130d4565b92505060206131558582860161310a565b9150509250929050565b60008115159050919050565b6131748161315f565b82525050565b600060208201905061318f600083018461316b565b92915050565b6000602082840312156131ab576131aa613086565b5b60006131b98482850161310a565b91505092915050565b6131cb816130e9565b82525050565b60006020820190506131e660008301846131c2565b92915050565b60008060006060848603121561320557613204613086565b5b6000613213868287016130d4565b9350506020613224868287016130d4565b92505060406132358682870161310a565b9150509250925092565b613248816130ab565b82525050565b6000602082019050613263600083018461323f565b92915050565b600060ff82169050919050565b61327f81613269565b82525050565b600060208201905061329a6000830184613276565b92915050565b6000819050919050565b6132b3816132a0565b82525050565b60006020820190506132ce60008301846132aa565b92915050565b6000602082840312156132ea576132e9613086565b5b60006132f8848285016130d4565b91505092915050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b61333681613301565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613371816130e9565b82525050565b60006133838383613368565b60208301905092915050565b6000602082019050919050565b60006133a78261333c565b6133b18185613347565b93506133bc83613358565b8060005b838110156133ed5781516133d48882613377565b97506133df8361338f565b9250506001810190506133c0565b5085935050505092915050565b600060e08201905061340f600083018a61332d565b8181036020830152613421818961302b565b90508181036040830152613435818861302b565b905061344460608301876131c2565b613451608083018661323f565b61345e60a08301856132aa565b81810360c0830152613470818461339c565b905098975050505050505050565b60008060006060848603121561349757613496613086565b5b60006134a5868287016130d4565b93505060206134b6868287016130d4565b92505060406134c7868287016130d4565b9150509250925092565b6000819050919050565b60006134f66134f16134ec8461308b565b6134d1565b61308b565b9050919050565b6000613508826134db565b9050919050565b600061351a826134fd565b9050919050565b61352a8161350f565b82525050565b60006020820190506135456000830184613521565b92915050565b61355481613269565b811461355f57600080fd5b50565b6000813590506135718161354b565b92915050565b613580816132a0565b811461358b57600080fd5b50565b60008135905061359d81613577565b92915050565b600080600080600080600060e0888a0312156135c2576135c1613086565b5b60006135d08a828b016130d4565b97505060206135e18a828b016130d4565b96505060406135f28a828b0161310a565b95505060606136038a828b0161310a565b94505060806136148a828b01613562565b93505060a06136258a828b0161358e565b92505060c06136368a828b0161358e565b91505092959891949750929550565b6000806040838503121561365c5761365b613086565b5b600061366a858286016130d4565b925050602061367b858286016130d4565b9150509250929050565b600063ffffffff82169050919050565b61369e81613685565b81146136a957600080fd5b50565b6000813590506136bb81613695565b92915050565b6000602082840312156136d7576136d6613086565b5b60006136e5848285016136ac565b91505092915050565b60006136f9826134fd565b9050919050565b613709816136ee565b82525050565b60006020820190506137246000830184613700565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061377157607f821691505b6020821081036137845761378361372a565b5b50919050565b7f466565206d757374206265203e207a65726f0000000000000000000000000000600082015250565b60006137c0601283612fdf565b91506137cb8261378a565b602082019050919050565b600060208201905081810360008301526137ef816137b3565b9050919050565b7f466565206d757374206265203c3d2031305f3030302042505300000000000000600082015250565b600061382c601983612fdf565b9150613837826137f6565b602082019050919050565b6000602082019050818103600083015261385b8161381f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061389c826130e9565b91506138a7836130e9565b92508282019050808211156138bf576138be613862565b5b92915050565b7f6e756c6c20616464726573730000000000000000000000000000000000000000600082015250565b60006138fb600c83612fdf565b9150613906826138c5565b602082019050919050565b6000602082019050818103600083015261392a816138ee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008151905061396f816130bd565b92915050565b60006020828403121561398b5761398a613086565b5b600061399984828501613960565b91505092915050565b60006040820190506139b7600083018561323f565b6139c4602083018461323f565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a27602583612fdf565b9150613a32826139cb565b604082019050919050565b60006020820190508181036000830152613a5681613a1a565b9050919050565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b6000613a93601d83612fdf565b9150613a9e82613a5d565b602082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b600060c082019050613ade60008301896132aa565b613aeb602083018861323f565b613af8604083018761323f565b613b0560608301866131c2565b613b1260808301856131c2565b613b1f60a08301846131c2565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b6000613b60601e83612fdf565b9150613b6b82613b2a565b602082019050919050565b60006020820190508181036000830152613b8f81613b53565b9050919050565b7f6e756c6c2067616d652061646472657373000000000000000000000000000000600082015250565b6000613bcc601183612fdf565b9150613bd782613b96565b602082019050919050565b60006020820190508181036000830152613bfb81613bbf565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c5e602683612fdf565b9150613c6982613c02565b604082019050919050565b60006020820190508181036000830152613c8d81613c51565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cf0602483612fdf565b9150613cfb82613c94565b604082019050919050565b60006020820190508181036000830152613d1f81613ce3565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d82602283612fdf565b9150613d8d82613d26565b604082019050919050565b60006020820190508181036000830152613db181613d75565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613dee602083612fdf565b9150613df982613db8565b602082019050919050565b60006020820190508181036000830152613e1d81613de1565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613e5a601d83612fdf565b9150613e6582613e24565b602082019050919050565b60006020820190508181036000830152613e8981613e4d565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613eec602583612fdf565b9150613ef782613e90565b604082019050919050565b60006020820190508181036000830152613f1b81613edf565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613f7e602383612fdf565b9150613f8982613f22565b604082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614010602683612fdf565b915061401b82613fb4565b604082019050919050565b6000602082019050818103600083015261403f81614003565b9050919050565b6000614051826130e9565b915061405c836130e9565b925082820261406a816130e9565b9150828204841483151761408157614080613862565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140c2826130e9565b91506140cd836130e9565b9250826140dd576140dc614088565b5b828204905092915050565b60006140f3826130e9565b91506140fe836130e9565b925082820390508181111561411657614115613862565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614178602183612fdf565b91506141838261411c565b604082019050919050565b600060208201905081810360008301526141a78161416b565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061420a602283612fdf565b9150614215826141ae565b604082019050919050565b60006020820190508181036000830152614239816141fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b600061429461428f61428a8461426f565b6134d1565b6130e9565b9050919050565b6142a481614279565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6142df816130ab565b82525050565b60006142f183836142d6565b60208301905092915050565b6000602082019050919050565b6000614315826142aa565b61431f81856142b5565b935061432a836142c6565b8060005b8381101561435b57815161434288826142e5565b975061434d836142fd565b92505060018101905061432e565b5085935050505092915050565b600060a08201905061437d60008301886131c2565b61438a602083018761429b565b818103604083015261439c818661430a565b90506143ab606083018561323f565b6143b860808301846131c2565b9695505050505050565b600060c0820190506143d7600083018961323f565b6143e460208301886131c2565b6143f1604083018761429b565b6143fe606083018661429b565b61440b608083018561323f565b61441860a08301846131c2565b979650505050505050565b600081519050614432816130f3565b92915050565b60008060006060848603121561445157614450613086565b5b600061445f86828701614423565b935050602061447086828701614423565b925050604061448186828701614423565b9150509250925092565b600081905092915050565b50565b60006144a660008361448b565b91506144b182614496565b600082019050919050565b60006144c782614499565b9150819050919050565b600060a0820190506144e660008301886132aa565b6144f360208301876132aa565b61450060408301866132aa565b61450d60608301856131c2565b61451a608083018461323f565b9695505050505050565b600060808201905061453960008301876132aa565b6145466020830186613276565b61455360408301856132aa565b61456060608301846132aa565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006145ce601883612fdf565b91506145d982614598565b602082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061463a601f83612fdf565b915061464582614604565b602082019050919050565b600060208201905081810360008301526146698161462d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006146cc602283612fdf565b91506146d782614670565b604082019050919050565b600060208201905081810360008301526146fb816146bf565b905091905056fea2646970667358221220ca5b0c16bb8e8bce49f547cdf9fddf45a4f55d0e55b22ad0323d24b4305c5dbe64736f6c63430008130033
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.