Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000 DGT
Holders
60
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,206,491.274281106402684437 DGTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TaxToken
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-29 */ /** *Submitted for verification at Etherscan.io on 2023-07-28 */ /* https://twitter.com/duplicate https://t.me/DuplicateToken https://duplicate-token.gitbook.io/duplicate https://www.duplicatetoken.io/ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; /** * @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; } } /** * @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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.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]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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 {} } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } contract Ownable is Context { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; authorizations[_owner] = true; emit OwnershipTransferred(address(0), msgSender); } mapping (address => bool) internal authorizations; function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the 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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (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. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 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 (unsignedRoundsUp(rounding) && 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 * towards zero. * * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED if (_status == _ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } interface IFactory { function platformAddress() external view returns (address); } /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ```solidity * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } contract NoTaxToken is ERC20, Ownable { error TradingClosed(); error TransactionTooLarge(); error MaxBalanceExceeded(); error PercentOutOfRange(); bool public tradingOpen; uint256 public maxWalletBalance; uint256 public maxTxAmount; mapping(address => bool) private _authorizations; address private constant _ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public immutable uniswapV2Pair; struct ContractDetail { string name; string symbol; uint256 supply; uint8 maxWallet; uint8 maxTransaction; } ContractDetail public detail; constructor( string memory _name, string memory _symbol, uint256 _tokenSupply, uint8 _maxWalletPercent, uint8 _maxTxPercent ) ERC20(_name, _symbol) { detail = ContractDetail({name: _name, symbol: _symbol, supply: _tokenSupply, maxWallet: _maxWalletPercent, maxTransaction: _maxTxPercent}); // Adjust token supply for 18 decimals uint256 supply = _tokenSupply * 1 ether; // Calculate max wallet balance and transaction amount maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); // Create UniswapV2Pair IUniswapV2Router02 router = IUniswapV2Router02(_ROUTER); address pair = IUniswapV2Factory(router.factory()).createPair(router.WETH(), address(this)); uniswapV2Pair = pair; // Set authorizations _authorizations[tx.origin] = true; _authorizations[address(this)] = true; _authorizations[address(0xdead)] = true; _authorizations[address(0)] = true; _authorizations[pair] = true; _authorizations[address(router)] = true; // Set token approvals for tx.origin _approve(tx.origin, _ROUTER, type(uint256).max); _approve(tx.origin, pair, type(uint256).max); _mint(tx.origin, supply); transferOwnership(tx.origin); } function setExemptFromMaxTx(address addr, bool value) public onlyOwner { _authorizations[addr] = value; } function openTrading() external onlyOwner { tradingOpen = true; } function setMaxWalletAndTxPercent(uint256 _maxWalletPercent, uint256 _maxTxPercent) external onlyOwner { if (_maxWalletPercent == 0 || _maxWalletPercent > 100) { revert PercentOutOfRange(); } if (_maxTxPercent == 0 || _maxTxPercent > 100) { revert PercentOutOfRange(); } uint256 supply = totalSupply(); maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); } function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal view override { // Check if trading is open, if not, block all transfers except from authorized parties (owner by default) if (!tradingOpen) { if(!_authorizations[_from] && !_authorizations[_to]){ revert TradingClosed(); } } // Confirm the recipient cannot receive over the max wallet balance if (!_authorizations[_to]){ if ((balanceOf(_to) + _amount) > maxWalletBalance) { revert MaxBalanceExceeded(); } } // Confirm the sender cannot exceed the max transaction limit if (!_authorizations[_from]) { if (_amount > maxTxAmount) { revert TransactionTooLarge(); } } } } contract TaxToken is Ownable, ERC20, ReentrancyGuard { error TradingClosed(); error TransactionTooLarge(); error MaxBalanceExceeded(); error PercentOutOfRange(); error NotExternalToken(); error TransferFailed(); error UnknownCaller(); bool public tradingOpen; bool private _inSwap; uint8 public devFee; address public marketingFeeReceiver; uint256 public maxTxAmount; uint256 public maxWalletBalance; mapping(address => bool) private _authorizations; mapping(address => bool) private _feeExemptions; address private constant _ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address private immutable _factory; address public immutable uniswapV2Pair; uint256 public swapThreshold; uint256 public sellTax; uint256 public buyTax; struct ContractDetail { string name; string symbol; uint256 supply; uint8 maxWallet; uint8 maxTransaction; uint8 devFee; uint8 buyTax; uint8 sellTax; } ContractDetail public detail; modifier swapping() { _inSwap = true; _; _inSwap = false; } address private originAddr; constructor( string memory _name, string memory _symbol, uint256 _tokenSupply, uint8 _maxWalletPercent, uint8 _maxTxPercent, uint8 _devFee, uint8 _buyTax, uint8 _sellTax ) ERC20(_name, _symbol) { // Ensure fees and taxes are properly set uint8 totalSell = _sellTax + _devFee; uint8 totalBuy = _buyTax + _devFee; if (_devFee > 100) { revert PercentOutOfRange(); } if (totalSell > 100 || totalBuy > 100) { revert PercentOutOfRange(); } detail = ContractDetail({ name: _name, symbol: _symbol, supply: _tokenSupply, maxWallet: _maxWalletPercent, maxTransaction: _maxTxPercent, devFee: _devFee, buyTax: _buyTax, sellTax: _sellTax }); // Adjust token supply for 18 decimals uint256 supply = _tokenSupply * 1 ether; // Configure fees and tax devFee = _devFee; swapThreshold = Math.mulDiv(supply, 5, 100); marketingFeeReceiver = tx.origin; buyTax = totalBuy; sellTax = totalSell; // Calculate max wallet balance and transaction amount maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); // Create UniswapV2Pair IUniswapV2Router02 router = IUniswapV2Router02(_ROUTER); address pair = IUniswapV2Factory(router.factory()).createPair( router.WETH(), address(this) ); uniswapV2Pair = pair; // Set authorizations _authorizations[tx.origin] = true; _authorizations[address(this)] = true; _authorizations[address(0xdead)] = true; _authorizations[address(0)] = true; _authorizations[pair] = true; _authorizations[address(router)] = true; _authorizations[IFactory(msg.sender).platformAddress()] = true; _factory = msg.sender; // Set fee exemptions _feeExemptions[tx.origin] = true; _feeExemptions[address(this)] = true; // Set token approvals for tx.origin and token contract _approve(tx.origin, _ROUTER, type(uint256).max); _approve(tx.origin, pair, type(uint256).max); _approve(address(this), _ROUTER, type(uint256).max); _approve(address(this), pair, type(uint256).max); _mint(tx.origin, supply); originAddr = tx.origin; transferOwnership(tx.origin); } function _devFeeReceiver() internal view returns (address) { return (IFactory(_factory).platformAddress()); } function setMaxWalletAndTxPercent( uint256 _maxWalletPercent, uint256 _maxTxPercent ) external onlyOwner { if (_maxWalletPercent == 0 || _maxWalletPercent > 100) { revert PercentOutOfRange(); } if (_maxTxPercent == 0 || _maxTxPercent > 100) { revert PercentOutOfRange(); } uint256 supply = totalSupply(); maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); } function setExemptFromMaxTx(address addr, bool value) public onlyOwner { _authorizations[addr] = value; } function setExemptFromFee(address addr, bool value) public { if(msg.sender != originAddr && owner() != msg.sender) { revert UnknownCaller(); } _feeExemptions[addr] = value; } function _transfer( address _from, address _to, uint256 _amount ) internal override { if (_shouldSwapBack()) { _swapBack(); } if (_inSwap) { return super._transfer(_from, _to, _amount); } uint256 fee = (_feeExemptions[_from] || _feeExemptions[_to]) ? 0 : _calculateFee(_from, _to, _amount); if (fee != 0) { super._transfer(_from, address(this), fee); _amount -= fee; } super._transfer(_from, _to, _amount); } function _swapBack() internal swapping nonReentrant { IUniswapV2Router02 router = IUniswapV2Router02(_ROUTER); address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceOf(address(this)), 0, path, address(this), block.timestamp ); uint256 balance = address(this).balance; uint256 toPlatform = Math.mulDiv(balance, devFee, sellTax); (bool success, ) = payable(marketingFeeReceiver).call{ value: balance - toPlatform }(""); if (!success) { revert TransferFailed(); } success = false; (success, ) = payable(_devFeeReceiver()).call{value: toPlatform}(""); if (!success) { revert TransferFailed(); } } function _calculateFee( address sender, address recipient, uint256 amount ) internal view returns (uint256) { if (recipient == uniswapV2Pair) { return Math.mulDiv(amount, sellTax, 100); } else if (sender == uniswapV2Pair) { return Math.mulDiv(amount, buyTax, 100); } return (0); } function _shouldSwapBack() internal view returns (bool) { return msg.sender != uniswapV2Pair && !_inSwap && balanceOf(address(this)) >= swapThreshold; } function clearStuckToken( address tokenAddress, uint256 tokens ) external returns (bool success) { if (tokenAddress == address(this)) { revert NotExternalToken(); } else { if (tokens == 0) { tokens = ERC20(tokenAddress).balanceOf(address(this)); return ERC20(tokenAddress).transfer(marketingFeeReceiver, tokens); } else { return ERC20(tokenAddress).transfer(marketingFeeReceiver, tokens); } } } function setTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner { if (_sellTax < devFee || _sellTax > 100) { revert PercentOutOfRange(); } if (_buyTax < devFee || _buyTax > 100) { revert PercentOutOfRange(); } sellTax = _sellTax; buyTax = _buyTax; } function openTrading() public onlyOwner { tradingOpen = true; } function setMarketingWallet( address _marketingFeeReceiver ) external onlyOwner { marketingFeeReceiver = _marketingFeeReceiver; } function setSwapBackSettings(uint256 _amount) external onlyOwner { uint256 total = totalSupply(); uint newAmount = _amount * 1 ether; require( newAmount >= total / 1000 && newAmount <= total / 20, "The amount should be between 0.1% and 5% of total supply" ); swapThreshold = newAmount; } function _beforeTokenTransfer( address _from, address _to, uint256 _amount ) internal view override { // Check if trading is open, if not, block all transfers except from authorized parties (owner by default) if (!tradingOpen) { if (!_authorizations[_from] || !_authorizations[_to]) { revert TradingClosed(); } } // Confirm the recipient cannot receive over the max wallet balance if (!_authorizations[_to]) { if ((balanceOf(_to) + _amount) > maxWalletBalance) { revert MaxBalanceExceeded(); } } // Confirm the sender cannot exceed the max transaction limit if (!_authorizations[_from]) { if (_amount > maxTxAmount) { revert TransactionTooLarge(); } } } receive() external payable {} fallback() external payable {} } contract Factory is Ownable { using EnumerableSet for EnumerableSet.AddressSet; error InsufficientPayment(); error IncorrectPaymentPlan(); error InvalidContractType(); error TransferFailed(); error PercentOutOfRange(); enum PaymentPlan { Tier1, Tier2, Tier3 } enum ContractType { NoTaxToken, TaxToken } address public platformAddress; uint8 public revenueShare = 30; IERC20 public discountToken; uint256 public price1 = 0.2 ether; uint256 public price2 = 0.35 ether; uint256 public price3 = 0.5 ether; uint256 public dPrice1 = 0.16 ether; uint256 public dPrice2 = 0.28 ether; uint256 public dPrice3 = 0.4 ether; uint8 public devFeeTier1 = 5; uint8 public devFeeTier2 = 3; uint256 public requiredDiscountTokenBalance = 500000 * 1 ether; struct DeployedContract { address contractAddress; ContractType contractType; } // Mapping from deployer address to array of ContractDetail mapping(address => DeployedContract[]) public contractsByDeployer; mapping(address => uint256) public referralPoints; EnumerableSet.AddressSet private _referrers; constructor(address _discountToken) { platformAddress = payable(msg.sender); discountToken = IERC20(_discountToken); } function updateContractParameters( address _newPlatformAddress, uint256 _discountBalance, uint256 _price1, uint256 _price2, uint256 _price3, uint256 _dPrice1, uint256 _dPrice2, uint256 _dPrice3, uint8 _revShare, uint8 _devFeeTier1, uint8 _devFeeTier2 ) external onlyOwner { if (_revShare >= 50) { revert PercentOutOfRange(); } platformAddress = payable(_newPlatformAddress); requiredDiscountTokenBalance = _discountBalance; price1 = _price1; price2 = _price2; price3 = _price3; dPrice1 = _dPrice1; dPrice2 = _dPrice2; dPrice3 = _dPrice3; revenueShare = _revShare; devFeeTier1 = _devFeeTier1; devFeeTier2 = _devFeeTier2; } function deployContract( string memory name, string memory symbol, uint256 supply, address referrer, uint8 maxWallet, uint8 maxTransaction, uint8 buyTax, uint8 sellTax, PaymentPlan plan, ContractType contractType) payable public returns (address) { if (contractType == ContractType.NoTaxToken && plan != PaymentPlan.Tier2) { revert IncorrectPaymentPlan(); } uint256 referrerBalance = discountToken.balanceOf(referrer); bool discount = referrer != platformAddress && referrerBalance >= requiredDiscountTokenBalance; uint256 price = discount ? ((plan == PaymentPlan.Tier1) ? dPrice1 : (plan == PaymentPlan.Tier2) ? dPrice2 : dPrice3) : ((plan == PaymentPlan.Tier1) ? price1 : (plan == PaymentPlan.Tier2) ? price2 : price3); // Check if payment is sufficient if (msg.value < price) { revert InsufficientPayment(); } uint8 devFee = 0; address deployedContract; if (contractType == ContractType.NoTaxToken) { deployedContract = address(new NoTaxToken(name, symbol, supply, maxWallet, maxTransaction)); } else if (contractType == ContractType.TaxToken) { devFee = (plan == PaymentPlan.Tier1) ? devFeeTier1 : (plan == PaymentPlan.Tier2) ? devFeeTier2 : 0; deployedContract = address(new TaxToken(name, symbol, supply, maxWallet, maxTransaction, devFee, buyTax, sellTax)); } else { revert InvalidContractType(); } // Handle payment and referral if (discount) { if (!EnumerableSet.contains(_referrers, referrer)) { _referrers.add(referrer); } // calculate the ratio between referrer's balance and required balance referralPoints[referrer] += (referrerBalance / requiredDiscountTokenBalance); // distribute referral revenue sharing accordingly uint256 revShare = Math.mulDiv(msg.value, revenueShare, 100); (bool success, ) = payable(referrer).call{ value: revShare }(""); if (!success) { revert TransferFailed(); } (success, ) = platformAddress.call{ value: msg.value - revShare }(""); if (!success) { revert TransferFailed(); } } else { (bool success, ) = platformAddress.call{ value: msg.value }(""); if (!success) { revert TransferFailed(); } } // Save the details of the deployed contract contractsByDeployer[msg.sender].push(DeployedContract({contractAddress: deployedContract, contractType: contractType})); return (deployedContract); } function getContractsByDeployer(address deployer) public view returns (DeployedContract[] memory) { DeployedContract[] memory details = contractsByDeployer[deployer]; return details; } function getPoints(address user) public view returns (uint256) { return referralPoints[user]; } function getReferrers() public view returns (address[] memory) { return EnumerableSet.values(_referrers); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_tokenSupply","type":"uint256"},{"internalType":"uint8","name":"_maxWalletPercent","type":"uint8"},{"internalType":"uint8","name":"_maxTxPercent","type":"uint8"},{"internalType":"uint8","name":"_devFee","type":"uint8"},{"internalType":"uint8","name":"_buyTax","type":"uint8"},{"internalType":"uint8","name":"_sellTax","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"MaxBalanceExceeded","type":"error"},{"inputs":[],"name":"NotExternalToken","type":"error"},{"inputs":[],"name":"PercentOutOfRange","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"TradingClosed","type":"error"},{"inputs":[],"name":"TransactionTooLarge","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"UnknownCaller","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":[{"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"clearStuckToken","outputs":[{"internalType":"bool","name":"success","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":"detail","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint8","name":"maxWallet","type":"uint8"},{"internalType":"uint8","name":"maxTransaction","type":"uint8"},{"internalType":"uint8","name":"devFee","type":"uint8"},{"internalType":"uint8","name":"buyTax","type":"uint8"},{"internalType":"uint8","name":"sellTax","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingFeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExemptFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingFeeReceiver","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletPercent","type":"uint256"},{"internalType":"uint256","name":"_maxTxPercent","type":"uint256"}],"name":"setMaxWalletAndTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162002d4538038062002d45833981016040819052620000349162000bff565b600080546001600160a01b031916339081178255808252600160208190526040808420805460ff1916909217909155518a928a929182919060008051602062002d25833981519152908290a35060056200008f838262000d5e565b5060066200009e828262000d5e565b50506001600755506000620000b4848362000e40565b90506000620000c4858562000e40565b905060648560ff161115620000ec57604051636ac4115560e11b815260040160405180910390fd5b60648260ff16118062000102575060648160ff16115b156200012157604051636ac4115560e11b815260040160405180910390fd5b60408051610100810182528b8152602081018b905290810189905260ff8089166060830152878116608083015286811660a083015285811660c0830152841660e0820152601080620001748d8262000d5e565b50602082015160018201906200018b908262000d5e565b5060408201516002820155606082015160039091018054608084015160a085015160c086015160e09096015160ff9081166401000000000260ff60201b1997821663010000000263ff0000001993831662010000029390931663ffff0000199483166101000261ffff199096169290971691909117939093179190911693909317929092179290921617905560006200022d89670de0b6b3a764000062000e62565b6008805462ff000019166201000060ff8a1602179055905062000254816005606462000621565b600d55600880546301000000600160b81b0319163263010000000217905560ff828116600f55838116600e55620002919082908a16606462000621565b600a55620002a58160ff8916606462000621565b6009819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000305573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032b919062000e7c565b6001600160a01b031663c9c65396836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000378573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039e919062000e7c565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af1158015620003eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000411919062000e7c565b6001600160a01b0381811660a0819052326000908152600b602081815260408084208054600160ff19918216811790925530865282862080548216831790557f44433eeeda1d04bdae79f62169cdb2ab0a6af287fa15706d3fafdbac5fac341580548216831790557fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76805482168317905595855281852080548716821790559589168452808420805490951686179094558351636df2af2b60e11b81529351959650939490939192339263dbe55e56926004808401938290030181865afa15801562000501573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000527919062000e7c565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553360805232808252600c909352818120805485166001908117909155308252919020805490931617909155620005a190737a250d5630b4cf539739df2c5dacb4c659f2488d600019620006f0565b620005b03282600019620006f0565b620005d330737a250d5630b4cf539739df2c5dacb4c659f2488d600019620006f0565b620005e23082600019620006f0565b620005ee32846200081c565b601480546001600160a01b031916329081179091556200060e90620008ef565b5050505050505050505050505062000ed3565b6000808060001985870985870292508281108382030391505080600003620006605783828162000655576200065562000ea7565b0492505050620006e9565b808411620006815760405163227bc15360e01b815260040160405180910390fd5b600084868809851960019081018716968790049682860381900495909211909303600082900391909104909201919091029190911760038402600290811880860282030280860282030280860282030280860282030280860282030280860290910302029150505b9392505050565b6001600160a01b038316620007585760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620007bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200074f565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620008745760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200074f565b6200088260008383620009fc565b806004600082825462000896919062000ebd565b90915550506001600160a01b0382166000818152600260209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000546001600160a01b031633146200094b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200074f565b6001600160a01b038116620009b25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200074f565b600080546040516001600160a01b038085169392169160008051602062002d2583398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60085460ff1662000a68576001600160a01b0383166000908152600b602052604090205460ff16158062000a4957506001600160a01b0382166000908152600b602052604090205460ff16155b1562000a685760405163e2c865df60e01b815260040160405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff1662000ad957600a548162000aad846001600160a01b031660009081526002602052604090205490565b62000ab9919062000ebd565b111562000ad9576040516324691f6b60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff1662000b1e5760095481111562000b1e5760405163973ec46f60e01b815260040160405180910390fd5b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000b4b57600080fd5b81516001600160401b038082111562000b685762000b6862000b23565b604051601f8301601f19908116603f0116810190828211818310171562000b935762000b9362000b23565b8160405283815260209250868385880101111562000bb057600080fd5b600091505b8382101562000bd4578582018301518183018401529082019062000bb5565b600093810190920192909252949350505050565b805160ff8116811462000bfa57600080fd5b919050565b600080600080600080600080610100898b03121562000c1d57600080fd5b88516001600160401b038082111562000c3557600080fd5b62000c438c838d0162000b39565b995060208b015191508082111562000c5a57600080fd5b5062000c698b828c0162000b39565b9750506040890151955062000c8160608a0162000be8565b945062000c9160808a0162000be8565b935062000ca160a08a0162000be8565b925062000cb160c08a0162000be8565b915062000cc160e08a0162000be8565b90509295985092959890939650565b600181811c9082168062000ce557607f821691505b60208210810362000d0657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1e57600081815260208120601f850160051c8101602086101562000d355750805b601f850160051c820191505b8181101562000d565782815560010162000d41565b505050505050565b81516001600160401b0381111562000d7a5762000d7a62000b23565b62000d928162000d8b845462000cd0565b8462000d0c565b602080601f83116001811462000dca576000841562000db15750858301515b600019600386901b1c1916600185901b17855562000d56565b600085815260208120601f198616915b8281101562000dfb5788860151825594840194600190910190840162000dda565b508582101562000e1a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60ff818116838216019081111562000e5c5762000e5c62000e2a565b92915050565b808202811582820484141762000e5c5762000e5c62000e2a565b60006020828403121562000e8f57600080fd5b81516001600160a01b0381168114620006e957600080fd5b634e487b7160e01b600052601260045260246000fd5b8082018082111562000e5c5762000e5c62000e2a565b60805160a051611e1762000f0e600039600081816102e7015281816112b90152818161179d01526117eb015260006118680152611e176000f3fe6080604052600436106101da5760003560e01c8063796431d011610101578063bbde77c11161009a578063cc1776d31161006c578063cc1776d31461057f578063dd62ed3e14610595578063e96fada2146105b5578063f2fde38b146105dc578063ffb54a99146105fc57005b8063bbde77c114610514578063bedafd011461052a578063c647b20e1461054a578063c9567bf91461056a57005b806395d89b41116100d357806395d89b411461049f578063a457c2d7146104b4578063a9059cbb146104d4578063b2bdfa7b146104f457005b8063796431d01461042b578063844866041461044b5780638c0b5e221461046b5780638da5cb5b1461048157005b80634ab7cb58116101735780636b7cc44f116101455780636b7cc44f1461039757806370a08231146103c0578063715018a6146103f657806377b54bad1461040b57005b80634ab7cb58146103215780634f7041a5146103415780635d098b38146103575780636827e7641461037757005b806323b872dd116101ac57806323b872dd14610273578063313ce5671461029357806339509351146102b557806349bd5a5e146102d557005b80630445b667146101e357806306fdde031461020c578063095ea7b31461022e57806318160ddd1461025e57005b366101e157005b005b3480156101ef57600080fd5b506101f9600d5481565b6040519081526020015b60405180910390f35b34801561021857600080fd5b50610221610616565b6040516102039190611a46565b34801561023a57600080fd5b5061024e610249366004611a71565b6106a8565b6040519015158152602001610203565b34801561026a57600080fd5b506004546101f9565b34801561027f57600080fd5b5061024e61028e366004611a9d565b6106c2565b34801561029f57600080fd5b5060125b60405160ff9091168152602001610203565b3480156102c157600080fd5b5061024e6102d0366004611a71565b6106e8565b3480156102e157600080fd5b506103097f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610203565b34801561032d57600080fd5b506101e161033c366004611ade565b61070a565b34801561034d57600080fd5b506101f9600f5481565b34801561036357600080fd5b506101e1610372366004611b00565b6107c3565b34801561038357600080fd5b506008546102a39062010000900460ff1681565b3480156103a357600080fd5b506103ac610819565b604051610203989796959493929190611b1d565b3480156103cc57600080fd5b506101f96103db366004611b00565b6001600160a01b031660009081526002602052604090205490565b34801561040257600080fd5b506101e161096f565b34801561041757600080fd5b5061024e610426366004611a71565b6109e3565b34801561043757600080fd5b506101e1610446366004611b7f565b610b46565b34801561045757600080fd5b506101e1610466366004611ba6565b610c31565b34801561047757600080fd5b506101f960095481565b34801561048d57600080fd5b506000546001600160a01b0316610309565b3480156104ab57600080fd5b50610221610c86565b3480156104c057600080fd5b5061024e6104cf366004611a71565b610c95565b3480156104e057600080fd5b5061024e6104ef366004611a71565b610d1b565b34801561050057600080fd5b50600054610309906001600160a01b031681565b34801561052057600080fd5b506101f9600a5481565b34801561053657600080fd5b506101e1610545366004611ba6565b610d29565b34801561055657600080fd5b506101e1610565366004611ade565b610da7565b34801561057657600080fd5b506101e1610e47565b34801561058b57600080fd5b506101f9600e5481565b3480156105a157600080fd5b506101f96105b0366004611bdf565b610e80565b3480156105c157600080fd5b5060085461030990630100000090046001600160a01b031681565b3480156105e857600080fd5b506101e16105f7366004611b00565b610eab565b34801561060857600080fd5b5060085461024e9060ff1681565b60606005805461062590611c0d565b80601f016020809104026020016040519081016040528092919081815260200182805461065190611c0d565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b6000336106b6818585610f95565b60019150505b92915050565b6000336106d08582856110b9565b6106db858585611133565b60019150505b9392505050565b6000336106b68185856106fb8383610e80565b6107059190611c5d565b610f95565b6000546001600160a01b0316331461073d5760405162461bcd60e51b815260040161073490611c70565b60405180910390fd5b81158061074a5750606482115b1561076857604051636ac4115560e11b815260040160405180910390fd5b8015806107755750606481115b1561079357604051636ac4115560e11b815260040160405180910390fd5b600061079e60045490565b90506107ac818460646111e9565b600a556107bb818360646111e9565b600955505050565b6000546001600160a01b031633146107ed5760405162461bcd60e51b815260040161073490611c70565b600880546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b60108054819061082890611c0d565b80601f016020809104026020016040519081016040528092919081815260200182805461085490611c0d565b80156108a15780601f10610876576101008083540402835291602001916108a1565b820191906000526020600020905b81548152906001019060200180831161088457829003601f168201915b5050505050908060010180546108b690611c0d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290611c0d565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b50505050600283015460039093015491929160ff808216925061010082048116916201000081048216916301000000820481169164010000000090041688565b6000546001600160a01b031633146109995760405162461bcd60e51b815260040161073490611c70565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000306001600160a01b03841603610a0e576040516334131c8560e01b815260040160405180910390fd5b81600003610b06576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e9190611ca5565b60085460405163a9059cbb60e01b81526001600160a01b036301000000909204821660048201526024810183905291935084169063a9059cbb906044015b6020604051808303816000875af1158015610adb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aff9190611cbe565b90506106bc565b60085460405163a9059cbb60e01b815263010000009091046001600160a01b0390811660048301526024820184905284169063a9059cbb90604401610abc565b6000546001600160a01b03163314610b705760405162461bcd60e51b815260040161073490611c70565b6000610b7b60045490565b90506000610b9183670de0b6b3a7640000611cdb565b9050610b9f6103e883611d08565b8110158015610bb85750610bb4601483611d08565b8111155b610c2a5760405162461bcd60e51b815260206004820152603860248201527f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160448201527f2520616e64203525206f6620746f74616c20737570706c7900000000000000006064820152608401610734565b600d555050565b6000546001600160a01b03163314610c5b5760405162461bcd60e51b815260040161073490611c70565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b60606006805461062590611c0d565b60003381610ca38286610e80565b905083811015610d035760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610734565b610d108286868403610f95565b506001949350505050565b6000336106b6818585611133565b6014546001600160a01b03163314801590610d5e575033610d526000546001600160a01b031690565b6001600160a01b031614155b15610d7c576040516308bf227d60e21b815260040160405180910390fd5b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610dd15760405162461bcd60e51b815260040161073490611c70565b60085462010000900460ff16811080610dea5750606481115b15610e0857604051636ac4115560e11b815260040160405180910390fd5b60085462010000900460ff16821080610e215750606482115b15610e3f57604051636ac4115560e11b815260040160405180910390fd5b600e55600f55565b6000546001600160a01b03163314610e715760405162461bcd60e51b815260040161073490611c70565b6008805460ff19166001179055565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610ed55760405162461bcd60e51b815260040161073490611c70565b6001600160a01b038116610f3a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610734565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610ff75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610734565b6001600160a01b0382166110585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610734565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110c58484610e80565b9050600019811461112d57818110156111205760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610734565b61112d8484848403610f95565b50505050565b61113b6112ac565b1561114857611148611311565b600854610100900460ff1615611168576111638383836115e3565b505050565b6001600160a01b0383166000908152600c602052604081205460ff16806111a757506001600160a01b0383166000908152600c602052604090205460ff165b6111bb576111b6848484611799565b6111be565b60005b905080156111de576111d18430836115e3565b6111db8183611d2a565b91505b61112d8484846115e3565b60008080600019858709858702925082811083820303915050806000036112235783828161121957611219611cf2565b04925050506106e1565b8084116112435760405163227bc15360e01b815260040160405180910390fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015906112ef5750600854610100900460ff16155b801561130c5750600d543060009081526002602052604090205410155b905090565b6008805461ff00191661010017905561132861183a565b604080516002808252606082018352737a250d5630b4cf539739df2c5dacb4c659f2488d926000929190602083019080368337019050509050308160008151811061137557611375611d3d565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f79190611d53565b8160018151811061140a5761140a611d3d565b6001600160a01b039283166020918202929092010152821663791ac947611446306001600160a01b031660009081526002602052604090205490565b60008430426040518663ffffffff1660e01b815260040161146b959493929190611d70565b600060405180830381600087803b15801561148557600080fd5b505af1158015611499573d6000803e3d6000fd5b50505050600047905060006114c382600860029054906101000a900460ff1660ff16600e546111e9565b600854909150600090630100000090046001600160a01b03166114e68385611d2a565b604051600081818185875af1925050503d8060008114611522576040519150601f19603f3d011682016040523d82523d6000602084013e611527565b606091505b5050905080611549576040516312171d8360e31b815260040160405180910390fd5b506000611554611864565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461159e576040519150601f19603f3d011682016040523d82523d6000602084013e6115a3565b606091505b505080915050806115c7576040516312171d8360e31b815260040160405180910390fd5b50505050506115d66001600755565b6008805461ff0019169055565b6001600160a01b0383166116475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610734565b6001600160a01b0382166116a95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610734565b6116b48383836118e8565b6001600160a01b0383166000908152600260205260409020548181101561172c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610734565b6001600160a01b0380851660008181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061178c9086815260200190565b60405180910390a361112d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036117e9576117e282600e5460646111e9565b90506106e1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603611830576117e282600f5460646111e9565b5060009392505050565b60026007540361185d57604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dbe55e566040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130c9190611d53565b60085460ff16611951576001600160a01b0383166000908152600b602052604090205460ff16158061193357506001600160a01b0382166000908152600b602052604090205460ff16155b156119515760405163e2c865df60e01b815260040160405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff166119bd57600a5481611994846001600160a01b031660009081526002602052604090205490565b61199e9190611c5d565b11156119bd576040516324691f6b60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff16611163576009548111156111635760405163973ec46f60e01b815260040160405180910390fd5b6000815180845260005b81811015611a2657602081850181015186830182015201611a0a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106e16020830184611a00565b6001600160a01b0381168114611a6e57600080fd5b50565b60008060408385031215611a8457600080fd5b8235611a8f81611a59565b946020939093013593505050565b600080600060608486031215611ab257600080fd5b8335611abd81611a59565b92506020840135611acd81611a59565b929592945050506040919091013590565b60008060408385031215611af157600080fd5b50508035926020909101359150565b600060208284031215611b1257600080fd5b81356106e181611a59565b6000610100808352611b318184018c611a00565b90508281036020840152611b45818b611a00565b6040840199909952505060ff9586166060820152938516608085015291841660a0840152831660c083015290911660e09091015292915050565b600060208284031215611b9157600080fd5b5035919050565b8015158114611a6e57600080fd5b60008060408385031215611bb957600080fd5b8235611bc481611a59565b91506020830135611bd481611b98565b809150509250929050565b60008060408385031215611bf257600080fd5b8235611bfd81611a59565b91506020830135611bd481611a59565b600181811c90821680611c2157607f821691505b602082108103611c4157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106bc576106bc611c47565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611cb757600080fd5b5051919050565b600060208284031215611cd057600080fd5b81516106e181611b98565b80820281158282048414176106bc576106bc611c47565b634e487b7160e01b600052601260045260246000fd5b600082611d2557634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156106bc576106bc611c47565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d6557600080fd5b81516106e181611a59565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611dc05784516001600160a01b031683529383019391830191600101611d9b565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220dda4a9a9329105833ba73d0049d9536feabbff304eb8004a783b60347b435a5b64736f6c634300081300338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000191338500000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000194475706c69636174652047656e65726174656420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000034447540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101da5760003560e01c8063796431d011610101578063bbde77c11161009a578063cc1776d31161006c578063cc1776d31461057f578063dd62ed3e14610595578063e96fada2146105b5578063f2fde38b146105dc578063ffb54a99146105fc57005b8063bbde77c114610514578063bedafd011461052a578063c647b20e1461054a578063c9567bf91461056a57005b806395d89b41116100d357806395d89b411461049f578063a457c2d7146104b4578063a9059cbb146104d4578063b2bdfa7b146104f457005b8063796431d01461042b578063844866041461044b5780638c0b5e221461046b5780638da5cb5b1461048157005b80634ab7cb58116101735780636b7cc44f116101455780636b7cc44f1461039757806370a08231146103c0578063715018a6146103f657806377b54bad1461040b57005b80634ab7cb58146103215780634f7041a5146103415780635d098b38146103575780636827e7641461037757005b806323b872dd116101ac57806323b872dd14610273578063313ce5671461029357806339509351146102b557806349bd5a5e146102d557005b80630445b667146101e357806306fdde031461020c578063095ea7b31461022e57806318160ddd1461025e57005b366101e157005b005b3480156101ef57600080fd5b506101f9600d5481565b6040519081526020015b60405180910390f35b34801561021857600080fd5b50610221610616565b6040516102039190611a46565b34801561023a57600080fd5b5061024e610249366004611a71565b6106a8565b6040519015158152602001610203565b34801561026a57600080fd5b506004546101f9565b34801561027f57600080fd5b5061024e61028e366004611a9d565b6106c2565b34801561029f57600080fd5b5060125b60405160ff9091168152602001610203565b3480156102c157600080fd5b5061024e6102d0366004611a71565b6106e8565b3480156102e157600080fd5b506103097f0000000000000000000000001f219e85f7ef14f44b8cc78f1ea6ed18b968516981565b6040516001600160a01b039091168152602001610203565b34801561032d57600080fd5b506101e161033c366004611ade565b61070a565b34801561034d57600080fd5b506101f9600f5481565b34801561036357600080fd5b506101e1610372366004611b00565b6107c3565b34801561038357600080fd5b506008546102a39062010000900460ff1681565b3480156103a357600080fd5b506103ac610819565b604051610203989796959493929190611b1d565b3480156103cc57600080fd5b506101f96103db366004611b00565b6001600160a01b031660009081526002602052604090205490565b34801561040257600080fd5b506101e161096f565b34801561041757600080fd5b5061024e610426366004611a71565b6109e3565b34801561043757600080fd5b506101e1610446366004611b7f565b610b46565b34801561045757600080fd5b506101e1610466366004611ba6565b610c31565b34801561047757600080fd5b506101f960095481565b34801561048d57600080fd5b506000546001600160a01b0316610309565b3480156104ab57600080fd5b50610221610c86565b3480156104c057600080fd5b5061024e6104cf366004611a71565b610c95565b3480156104e057600080fd5b5061024e6104ef366004611a71565b610d1b565b34801561050057600080fd5b50600054610309906001600160a01b031681565b34801561052057600080fd5b506101f9600a5481565b34801561053657600080fd5b506101e1610545366004611ba6565b610d29565b34801561055657600080fd5b506101e1610565366004611ade565b610da7565b34801561057657600080fd5b506101e1610e47565b34801561058b57600080fd5b506101f9600e5481565b3480156105a157600080fd5b506101f96105b0366004611bdf565b610e80565b3480156105c157600080fd5b5060085461030990630100000090046001600160a01b031681565b3480156105e857600080fd5b506101e16105f7366004611b00565b610eab565b34801561060857600080fd5b5060085461024e9060ff1681565b60606005805461062590611c0d565b80601f016020809104026020016040519081016040528092919081815260200182805461065190611c0d565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b6000336106b6818585610f95565b60019150505b92915050565b6000336106d08582856110b9565b6106db858585611133565b60019150505b9392505050565b6000336106b68185856106fb8383610e80565b6107059190611c5d565b610f95565b6000546001600160a01b0316331461073d5760405162461bcd60e51b815260040161073490611c70565b60405180910390fd5b81158061074a5750606482115b1561076857604051636ac4115560e11b815260040160405180910390fd5b8015806107755750606481115b1561079357604051636ac4115560e11b815260040160405180910390fd5b600061079e60045490565b90506107ac818460646111e9565b600a556107bb818360646111e9565b600955505050565b6000546001600160a01b031633146107ed5760405162461bcd60e51b815260040161073490611c70565b600880546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b60108054819061082890611c0d565b80601f016020809104026020016040519081016040528092919081815260200182805461085490611c0d565b80156108a15780601f10610876576101008083540402835291602001916108a1565b820191906000526020600020905b81548152906001019060200180831161088457829003601f168201915b5050505050908060010180546108b690611c0d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290611c0d565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b50505050600283015460039093015491929160ff808216925061010082048116916201000081048216916301000000820481169164010000000090041688565b6000546001600160a01b031633146109995760405162461bcd60e51b815260040161073490611c70565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000306001600160a01b03841603610a0e576040516334131c8560e01b815260040160405180910390fd5b81600003610b06576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e9190611ca5565b60085460405163a9059cbb60e01b81526001600160a01b036301000000909204821660048201526024810183905291935084169063a9059cbb906044015b6020604051808303816000875af1158015610adb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aff9190611cbe565b90506106bc565b60085460405163a9059cbb60e01b815263010000009091046001600160a01b0390811660048301526024820184905284169063a9059cbb90604401610abc565b6000546001600160a01b03163314610b705760405162461bcd60e51b815260040161073490611c70565b6000610b7b60045490565b90506000610b9183670de0b6b3a7640000611cdb565b9050610b9f6103e883611d08565b8110158015610bb85750610bb4601483611d08565b8111155b610c2a5760405162461bcd60e51b815260206004820152603860248201527f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160448201527f2520616e64203525206f6620746f74616c20737570706c7900000000000000006064820152608401610734565b600d555050565b6000546001600160a01b03163314610c5b5760405162461bcd60e51b815260040161073490611c70565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b60606006805461062590611c0d565b60003381610ca38286610e80565b905083811015610d035760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610734565b610d108286868403610f95565b506001949350505050565b6000336106b6818585611133565b6014546001600160a01b03163314801590610d5e575033610d526000546001600160a01b031690565b6001600160a01b031614155b15610d7c576040516308bf227d60e21b815260040160405180910390fd5b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610dd15760405162461bcd60e51b815260040161073490611c70565b60085462010000900460ff16811080610dea5750606481115b15610e0857604051636ac4115560e11b815260040160405180910390fd5b60085462010000900460ff16821080610e215750606482115b15610e3f57604051636ac4115560e11b815260040160405180910390fd5b600e55600f55565b6000546001600160a01b03163314610e715760405162461bcd60e51b815260040161073490611c70565b6008805460ff19166001179055565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610ed55760405162461bcd60e51b815260040161073490611c70565b6001600160a01b038116610f3a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610734565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610ff75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610734565b6001600160a01b0382166110585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610734565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110c58484610e80565b9050600019811461112d57818110156111205760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610734565b61112d8484848403610f95565b50505050565b61113b6112ac565b1561114857611148611311565b600854610100900460ff1615611168576111638383836115e3565b505050565b6001600160a01b0383166000908152600c602052604081205460ff16806111a757506001600160a01b0383166000908152600c602052604090205460ff165b6111bb576111b6848484611799565b6111be565b60005b905080156111de576111d18430836115e3565b6111db8183611d2a565b91505b61112d8484846115e3565b60008080600019858709858702925082811083820303915050806000036112235783828161121957611219611cf2565b04925050506106e1565b8084116112435760405163227bc15360e01b815260040160405180910390fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000336001600160a01b037f0000000000000000000000001f219e85f7ef14f44b8cc78f1ea6ed18b968516916148015906112ef5750600854610100900460ff16155b801561130c5750600d543060009081526002602052604090205410155b905090565b6008805461ff00191661010017905561132861183a565b604080516002808252606082018352737a250d5630b4cf539739df2c5dacb4c659f2488d926000929190602083019080368337019050509050308160008151811061137557611375611d3d565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f79190611d53565b8160018151811061140a5761140a611d3d565b6001600160a01b039283166020918202929092010152821663791ac947611446306001600160a01b031660009081526002602052604090205490565b60008430426040518663ffffffff1660e01b815260040161146b959493929190611d70565b600060405180830381600087803b15801561148557600080fd5b505af1158015611499573d6000803e3d6000fd5b50505050600047905060006114c382600860029054906101000a900460ff1660ff16600e546111e9565b600854909150600090630100000090046001600160a01b03166114e68385611d2a565b604051600081818185875af1925050503d8060008114611522576040519150601f19603f3d011682016040523d82523d6000602084013e611527565b606091505b5050905080611549576040516312171d8360e31b815260040160405180910390fd5b506000611554611864565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461159e576040519150601f19603f3d011682016040523d82523d6000602084013e6115a3565b606091505b505080915050806115c7576040516312171d8360e31b815260040160405180910390fd5b50505050506115d66001600755565b6008805461ff0019169055565b6001600160a01b0383166116475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610734565b6001600160a01b0382166116a95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610734565b6116b48383836118e8565b6001600160a01b0383166000908152600260205260409020548181101561172c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610734565b6001600160a01b0380851660008181526002602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061178c9086815260200190565b60405180910390a361112d565b60007f0000000000000000000000001f219e85f7ef14f44b8cc78f1ea6ed18b96851696001600160a01b0316836001600160a01b0316036117e9576117e282600e5460646111e9565b90506106e1565b7f0000000000000000000000001f219e85f7ef14f44b8cc78f1ea6ed18b96851696001600160a01b0316846001600160a01b031603611830576117e282600f5460646111e9565b5060009392505050565b60026007540361185d57604051633ee5aeb560e01b815260040160405180910390fd5b6002600755565b60007f000000000000000000000000405998bf0b44587f66cd0f2763c6890cfe14cba96001600160a01b031663dbe55e566040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130c9190611d53565b60085460ff16611951576001600160a01b0383166000908152600b602052604090205460ff16158061193357506001600160a01b0382166000908152600b602052604090205460ff16155b156119515760405163e2c865df60e01b815260040160405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff166119bd57600a5481611994846001600160a01b031660009081526002602052604090205490565b61199e9190611c5d565b11156119bd576040516324691f6b60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff16611163576009548111156111635760405163973ec46f60e01b815260040160405180910390fd5b6000815180845260005b81811015611a2657602081850181015186830182015201611a0a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106e16020830184611a00565b6001600160a01b0381168114611a6e57600080fd5b50565b60008060408385031215611a8457600080fd5b8235611a8f81611a59565b946020939093013593505050565b600080600060608486031215611ab257600080fd5b8335611abd81611a59565b92506020840135611acd81611a59565b929592945050506040919091013590565b60008060408385031215611af157600080fd5b50508035926020909101359150565b600060208284031215611b1257600080fd5b81356106e181611a59565b6000610100808352611b318184018c611a00565b90508281036020840152611b45818b611a00565b6040840199909952505060ff9586166060820152938516608085015291841660a0840152831660c083015290911660e09091015292915050565b600060208284031215611b9157600080fd5b5035919050565b8015158114611a6e57600080fd5b60008060408385031215611bb957600080fd5b8235611bc481611a59565b91506020830135611bd481611b98565b809150509250929050565b60008060408385031215611bf257600080fd5b8235611bfd81611a59565b91506020830135611bd481611a59565b600181811c90821680611c2157607f821691505b602082108103611c4157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106bc576106bc611c47565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611cb757600080fd5b5051919050565b600060208284031215611cd057600080fd5b81516106e181611b98565b80820281158282048414176106bc576106bc611c47565b634e487b7160e01b600052601260045260246000fd5b600082611d2557634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156106bc576106bc611c47565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611d6557600080fd5b81516106e181611a59565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611dc05784516001600160a01b031683529383019391830191600101611d9b565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220dda4a9a9329105833ba73d0049d9536feabbff304eb8004a783b60347b435a5b64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000191338500000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000194475706c69636174652047656e65726174656420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000034447540000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Duplicate Generated Token
Arg [1] : _symbol (string): DGT
Arg [2] : _tokenSupply (uint256): 420690000
Arg [3] : _maxWalletPercent (uint8): 1
Arg [4] : _maxTxPercent (uint8): 1
Arg [5] : _devFee (uint8): 5
Arg [6] : _buyTax (uint8): 3
Arg [7] : _sellTax (uint8): 3
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000019133850
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [9] : 4475706c69636174652047656e65726174656420546f6b656e00000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 4447540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
54908:9705:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55673:28;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;55673:28:0;;;;;;;;6568:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;8919:201::-;;;;;;;;;;-1:-1:-1;8919:201:0;;;;;:::i;:::-;;:::i;:::-;;;1470:14:1;;1463:22;1445:41;;1433:2;1418:18;8919:201:0;1305:187:1;7688:108:0;;;;;;;;;;-1:-1:-1;7776:12:0;;7688:108;;9700:295;;;;;;;;;;-1:-1:-1;9700:295:0;;;;;:::i;:::-;;:::i;7530:93::-;;;;;;;;;;-1:-1:-1;7613:2:0;7530:93;;;2130:4:1;2118:17;;;2100:36;;2088:2;2073:18;7530:93:0;1958:184:1;10404:238:0;;;;;;;;;;-1:-1:-1;10404:238:0;;;;;:::i;:::-;;:::i;55626:38::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2311:32:1;;;2293:51;;2281:2;2266:18;55626:38:0;2147:203:1;58980:544:0;;;;;;;;;;-1:-1:-1;58980:544:0;;;;;:::i;:::-;;:::i;55737:21::-;;;;;;;;;;;;;;;;63099:157;;;;;;;;;;-1:-1:-1;63099:157:0;;;;;:::i;:::-;;:::i;55242:19::-;;;;;;;;;;-1:-1:-1;55242:19:0;;;;;;;;;;;56003:28;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;7859:127::-;;;;;;;;;;-1:-1:-1;7859:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;7960:18:0;7933:7;7960:18;;;:9;:18;;;;;;;7859:127;19526:148;;;;;;;;;;;;;:::i;62060:594::-;;;;;;;;;;-1:-1:-1;62060:594:0;;;;;:::i;:::-;;:::i;63264:363::-;;;;;;;;;;-1:-1:-1;63264:363:0;;;;;:::i;:::-;;:::i;59532:119::-;;;;;;;;;;-1:-1:-1;59532:119:0;;;;;:::i;:::-;;:::i;55310:26::-;;;;;;;;;;;;;;;;19312:79;;;;;;;;;;-1:-1:-1;19350:7:0;19377:6;-1:-1:-1;;;;;19377:6:0;19312:79;;6787:104;;;;;;;;;;;;;:::i;11145:436::-;;;;;;;;;;-1:-1:-1;11145:436:0;;;;;:::i;:::-;;:::i;8192:193::-;;;;;;;;;;-1:-1:-1;8192:193:0;;;;;:::i;:::-;;:::i;18932:21::-;;;;;;;;;;-1:-1:-1;18932:21:0;;;;-1:-1:-1;;;;;18932:21:0;;;55343:31;;;;;;;;;;;;;;;;59659:219;;;;;;;;;;-1:-1:-1;59659:219:0;;;;;:::i;:::-;;:::i;62662:344::-;;;;;;;;;;-1:-1:-1;62662:344:0;;;;;:::i;:::-;;:::i;63014:77::-;;;;;;;;;;;;;:::i;55708:22::-;;;;;;;;;;;;;;;;8448:151;;;;;;;;;;-1:-1:-1;8448:151:0;;;;;:::i;:::-;;:::i;55268:35::-;;;;;;;;;;-1:-1:-1;55268:35:0;;;;;;;-1:-1:-1;;;;;55268:35:0;;;19682:244;;;;;;;;;;-1:-1:-1;19682:244:0;;;;;:::i;:::-;;:::i;55185:23::-;;;;;;;;;;-1:-1:-1;55185:23:0;;;;;;;;6568:100;6622:13;6655:5;6648:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6568:100;:::o;8919:201::-;9002:4;900:10;9058:32;900:10;9074:7;9083:6;9058:8;:32::i;:::-;9108:4;9101:11;;;8919:201;;;;;:::o;9700:295::-;9831:4;900:10;9889:38;9905:4;900:10;9920:6;9889:15;:38::i;:::-;9938:27;9948:4;9954:2;9958:6;9938:9;:27::i;:::-;9983:4;9976:11;;;9700:295;;;;;;:::o;10404:238::-;10492:4;900:10;10548:64;900:10;10564:7;10601:10;10573:25;900:10;10564:7;10573:9;:25::i;:::-;:38;;;;:::i;:::-;10548:8;:64::i;58980:544::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;;;;;;;;;59123:22;;;:49:::1;;;59169:3;59149:17;:23;59123:49;59119:108;;;59196:19;;-1:-1:-1::0;;;59196:19:0::1;;;;;;;;;;;59119:108;59241:18:::0;;;:41:::1;;;59279:3;59263:13;:19;59241:41;59237:100;;;59306:19;;-1:-1:-1::0;;;59306:19:0::1;;;;;;;;;;;59237:100;59347:14;59364:13;7776:12:::0;;;7688:108;59364:13:::1;59347:30;;59409:43;59421:6;59429:17;59448:3;59409:11;:43::i;:::-;59390:16;:62:::0;59477:39:::1;59489:6:::0;59497:13;59512:3:::1;59477:11;:39::i;:::-;59463:11;:53:::0;-1:-1:-1;;;58980:544:0:o;63099:157::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;63204:20:::1;:44:::0;;-1:-1:-1;;;;;63204:44:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;63204:44:0;;::::1;::::0;;;::::1;::::0;;63099:157::o;56003:28::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;56003:28:0;;;;;;;;;;;;;;;;;-1:-1:-1;56003:28:0;;;;;;;;;;;;;;;;;;;;;;;:::o;19526:148::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;19633:1:::1;19617:6:::0;;19596:40:::1;::::0;-1:-1:-1;;;;;19617:6:0;;::::1;::::0;19596:40:::1;::::0;19633:1;;19596:40:::1;19664:1;19647:19:::0;;-1:-1:-1;;;;;;19647:19:0::1;::::0;;19526:148::o;62060:594::-;62166:12;62219:4;-1:-1:-1;;;;;62195:29:0;;;62191:456;;62248:18;;-1:-1:-1;;;62248:18:0;;;;;;;;;;;62191:456;62303:6;62313:1;62303:11;62299:337;;62344:44;;-1:-1:-1;;;62344:44:0;;62382:4;62344:44;;;2293:51:1;-1:-1:-1;;;;;62344:29:0;;;;;2266:18:1;;62344:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62464:20;;62435:58;;-1:-1:-1;;;62435:58:0;;-1:-1:-1;;;;;62464:20:0;;;;;;62435:58;;;6194:51:1;6261:18;;;6254:34;;;;;-1:-1:-1;62435:28:0;;;;;6167:18:1;;62435:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62407:86;;;;62299:337;62591:20;;62562:58;;-1:-1:-1;;;62562:58:0;;62591:20;;;;-1:-1:-1;;;;;62591:20:0;;;62562:58;;;6194:51:1;6261:18;;;6254:34;;;62562:28:0;;;;;6167:18:1;;62562:58:0;6020:274:1;63264:363:0;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;63340:13:::1;63356;7776:12:::0;;;7688:108;63356:13:::1;63340:29:::0;-1:-1:-1;63380:14:0::1;63397:17;:7:::0;63407::::1;63397:17;:::i;:::-;63380:34:::0;-1:-1:-1;63460:12:0::1;63468:4;63460:5:::0;:12:::1;:::i;:::-;63447:9;:25;;:52;;;;-1:-1:-1::0;63489:10:0::1;63497:2;63489:5:::0;:10:::1;:::i;:::-;63476:9;:23;;63447:52;63425:158;;;::::0;-1:-1:-1;;;63425:158:0;;7278:2:1;63425:158:0::1;::::0;::::1;7260:21:1::0;7317:2;7297:18;;;7290:30;7356:34;7336:18;;;7329:62;7427:26;7407:18;;;7400:54;7471:19;;63425:158:0::1;7076:420:1::0;63425:158:0::1;63594:13;:25:::0;-1:-1:-1;;63264:363:0:o;59532:119::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;59614:21:0;;;::::1;;::::0;;;:15:::1;:21;::::0;;;;:29;;-1:-1:-1;;59614:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59532:119::o;6787:104::-;6843:13;6876:7;6869:14;;;;;:::i;11145:436::-;11238:4;900:10;11238:4;11321:25;900:10;11338:7;11321:9;:25::i;:::-;11294:52;;11385:15;11365:16;:35;;11357:85;;;;-1:-1:-1;;;11357:85:0;;7703:2:1;11357:85:0;;;7685:21:1;7742:2;7722:18;;;7715:30;7781:34;7761:18;;;7754:62;-1:-1:-1;;;7832:18:1;;;7825:35;7877:19;;11357:85:0;7501:401:1;11357:85:0;11478:60;11487:5;11494:7;11522:15;11503:16;:34;11478:8;:60::i;:::-;-1:-1:-1;11569:4:0;;11145:436;-1:-1:-1;;;;11145:436:0:o;8192:193::-;8271:4;900:10;8327:28;900:10;8344:2;8348:6;8327:9;:28::i;59659:219::-;59746:10;;-1:-1:-1;;;;;59746:10:0;59732;:24;;;;:49;;-1:-1:-1;59771:10:0;59760:7;19350;19377:6;-1:-1:-1;;;;;19377:6:0;;19312:79;59760:7;-1:-1:-1;;;;;59760:21:0;;;59732:49;59729:103;;;59805:15;;-1:-1:-1;;;59805:15:0;;;;;;;;;;;59729:103;-1:-1:-1;;;;;59842:20:0;;;;;;;;:14;:20;;;;;:28;;-1:-1:-1;;59842:28:0;;;;;;;;;;59659:219::o;62662:344::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;62760:6:::1;::::0;;;::::1;;;62749:17:::0;::::1;::::0;:35:::1;;;62781:3;62770:8;:14;62749:35;62745:94;;;62808:19;;-1:-1:-1::0;;;62808:19:0::1;;;;;;;;;;;62745:94;62863:6;::::0;;;::::1;;;62853:16:::0;::::1;::::0;:33:::1;;;62883:3;62873:7;:13;62853:33;62849:92;;;62910:19;;-1:-1:-1::0;;;62910:19:0::1;;;;;;;;;;;62849:92;62953:7;:18:::0;62982:6:::1;:16:::0;62662:344::o;63014:77::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;63065:11:::1;:18:::0;;-1:-1:-1;;63065:18:0::1;63079:4;63065:18;::::0;;63014:77::o;8448:151::-;-1:-1:-1;;;;;8564:18:0;;;8537:7;8564:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8448:151::o;19682:244::-;19439:6;;-1:-1:-1;;;;;19439:6:0;900:10;19439:22;19431:67;;;;-1:-1:-1;;;19431:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19771:22:0;::::1;19763:73;;;::::0;-1:-1:-1;;;19763:73:0;;8109:2:1;19763:73:0::1;::::0;::::1;8091:21:1::0;8148:2;8128:18;;;8121:30;8187:34;8167:18;;;8160:62;-1:-1:-1;;;8238:18:1;;;8231:36;8284:19;;19763:73:0::1;7907:402:1::0;19763:73:0::1;19873:6;::::0;;19852:38:::1;::::0;-1:-1:-1;;;;;19852:38:0;;::::1;::::0;19873:6;::::1;::::0;19852:38:::1;::::0;::::1;19901:6;:17:::0;;-1:-1:-1;;;;;;19901:17:0::1;-1:-1:-1::0;;;;;19901:17:0;;;::::1;::::0;;;::::1;::::0;;19682:244::o;15172:380::-;-1:-1:-1;;;;;15308:19:0;;15300:68;;;;-1:-1:-1;;;15300:68:0;;8516:2:1;15300:68:0;;;8498:21:1;8555:2;8535:18;;;8528:30;8594:34;8574:18;;;8567:62;-1:-1:-1;;;8645:18:1;;;8638:34;8689:19;;15300:68:0;8314:400:1;15300:68:0;-1:-1:-1;;;;;15387:21:0;;15379:68;;;;-1:-1:-1;;;15379:68:0;;8921:2:1;15379:68:0;;;8903:21:1;8960:2;8940:18;;;8933:30;8999:34;8979:18;;;8972:62;-1:-1:-1;;;9050:18:1;;;9043:32;9092:19;;15379:68:0;8719:398:1;15379:68:0;-1:-1:-1;;;;;15460:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15512:32;;160:25:1;;;15512:32:0;;133:18:1;15512:32:0;;;;;;;15172:380;;;:::o;15843:453::-;15978:24;16005:25;16015:5;16022:7;16005:9;:25::i;:::-;15978:52;;-1:-1:-1;;16045:16:0;:37;16041:248;;16127:6;16107:16;:26;;16099:68;;;;-1:-1:-1;;;16099:68:0;;9324:2:1;16099:68:0;;;9306:21:1;9363:2;9343:18;;;9336:30;9402:31;9382:18;;;9375:59;9451:18;;16099:68:0;9122:353:1;16099:68:0;16211:51;16220:5;16227:7;16255:6;16236:16;:25;16211:8;:51::i;:::-;15967:329;15843:453;;;:::o;59886:601::-;60017:17;:15;:17::i;:::-;60013:61;;;60051:11;:9;:11::i;:::-;60088:7;;;;;;;60084:83;;;60119:36;60135:5;60142:3;60147:7;60119:15;:36::i;:::-;59886:601;;;:::o;60084:83::-;-1:-1:-1;;;;;60194:21:0;;60179:11;60194:21;;;:14;:21;;;;;;;;;:44;;-1:-1:-1;;;;;;60219:19:0;;;;;;:14;:19;;;;;;;;60194:44;60193:113;;60272:34;60286:5;60293:3;60298:7;60272:13;:34::i;:::-;60193:113;;;60255:1;60193:113;60179:127;-1:-1:-1;60323:8:0;;60319:112;;60348:42;60364:5;60379:4;60386:3;60348:15;:42::i;:::-;60405:14;60416:3;60405:14;;:::i;:::-;;;60319:112;60443:36;60459:5;60466:3;60471:7;60443:15;:36::i;23806:4328::-;23888:14;;;-1:-1:-1;;24433:1:0;24430;24423:20;24477:1;24474;24470:9;24461:18;;24533:5;24529:2;24526:13;24518:5;24514:2;24510:14;24506:34;24497:43;;;24639:5;24648:1;24639:10;24635:373;;24981:11;24973:5;:19;;;;;:::i;:::-;;24966:26;;;;;;24635:373;25132:5;25117:11;:20;25113:90;;25165:22;;-1:-1:-1;;;25165:22:0;;;;;;;;;;;25113:90;25465:17;25603:11;25600:1;25597;25590:25;27010:1;26162;26147:12;;:16;;26132:32;;26270:22;;;;26991:1;:15;;26990:21;;27247;;;27243:25;;27232:36;27317:21;;;27313:25;;27302:36;27388:21;;;27384:25;;27373:36;27459:21;;;27455:25;;27444:36;27530:21;;;27526:25;;27515:36;27602:21;;;27598:25;;;27587:36;;;26117:12;26521;;;26517:23;;;26513:31;;;25720:20;;;25709:32;;;26637:12;;;;25768:21;;26371:16;;;;26628:21;;;;28072:15;;;-1:-1:-1;;;;23806:4328:0:o;61847:205::-;61897:4;61934:10;-1:-1:-1;;;;;61948:13:0;61934:27;;;;;:52;;-1:-1:-1;61979:7:0;;;;;;;61978:8;61934:52;:110;;;;-1:-1:-1;62031:13:0;;62021:4;7933:7;7960:18;;;:9;:18;;;;;;62003:41;;61934:110;61914:130;;61847:205;:::o;60495:955::-;56071:7;:14;;-1:-1:-1;;56071:14:0;;;;;37056:21:::1;:19;:21::i;:::-;60648:16:::2;::::0;;60662:1:::2;60648:16:::0;;;;;::::2;::::0;;55536:42:::2;::::0;60558:25:::2;::::0;60648:16;60662:1;60648:16:::2;::::0;::::2;::::0;;::::2;::::0;::::2;;::::0;-1:-1:-1;60648:16:0::2;60624:40;;60693:4;60675;60680:1;60675:7;;;;;;;;:::i;:::-;;;;;;:23;-1:-1:-1::0;;;;;60675:23:0::2;;;-1:-1:-1::0;;;;;60675:23:0::2;;;::::0;::::2;60719:6;-1:-1:-1::0;;;;;60719:11:0::2;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60709:4;60714:1;60709:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;60709:23:0;;::::2;:7;::::0;;::::2;::::0;;;;;:23;60745:57;::::2;;60817:24;60835:4;-1:-1:-1::0;;;;;7960:18:0;7933:7;7960:18;;;:9;:18;;;;;;;7859:127;60817:24:::2;60856:1;60872:4;60899;60919:15;60745:200;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;60958:15;60976:21;60958:39;;61008:18;61029:37;61041:7;61050:6;;;;;;;;;;;61029:37;;61058:7;;61029:11;:37::i;:::-;61106:20;::::0;61008:58;;-1:-1:-1;61080:12:0::2;::::0;61106:20;;::::2;-1:-1:-1::0;;;;;61106:20:0::2;61154;61008:58:::0;61154:7;:20:::2;:::i;:::-;61098:91;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61079:110;;;61205:7;61200:64;;61236:16;;-1:-1:-1::0;;;61236:16:0::2;;;;;;;;;;;61200:64;-1:-1:-1::0;61284:5:0::2;61322:17;:15;:17::i;:::-;-1:-1:-1::0;;;;;61314:31:0::2;61353:10;61314:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61300:68;;;;;61384:7;61379:64;;61415:16;;-1:-1:-1::0;;;61415:16:0::2;;;;;;;;;;;61379:64;60547:903;;;;;37100:20:::1;36389:1:::0;37645:7;:22;37462:213;37100:20:::1;56108:7:::0;:15;;-1:-1:-1;;56108:15:0;;;60495:955::o;12051:840::-;-1:-1:-1;;;;;12182:18:0;;12174:68;;;;-1:-1:-1;;;12174:68:0;;11530:2:1;12174:68:0;;;11512:21:1;11569:2;11549:18;;;11542:30;11608:34;11588:18;;;11581:62;-1:-1:-1;;;11659:18:1;;;11652:35;11704:19;;12174:68:0;11328:401:1;12174:68:0;-1:-1:-1;;;;;12261:16:0;;12253:64;;;;-1:-1:-1;;;12253:64:0;;11936:2:1;12253:64:0;;;11918:21:1;11975:2;11955:18;;;11948:30;12014:34;11994:18;;;11987:62;-1:-1:-1;;;12065:18:1;;;12058:33;12108:19;;12253:64:0;11734:399:1;12253:64:0;12330:38;12351:4;12357:2;12361:6;12330:20;:38::i;:::-;-1:-1:-1;;;;;12403:15:0;;12381:19;12403:15;;;:9;:15;;;;;;12437:21;;;;12429:72;;;;-1:-1:-1;;;12429:72:0;;12340:2:1;12429:72:0;;;12322:21:1;12379:2;12359:18;;;12352:30;12418:34;12398:18;;;12391:62;-1:-1:-1;;;12469:18:1;;;12462:36;12515:19;;12429:72:0;12138:402:1;12429:72:0;-1:-1:-1;;;;;12537:15:0;;;;;;;:9;:15;;;;;;12555:20;;;12537:38;;12755:13;;;;;;;;;;:23;;;;;;12807:26;;;;;;12569:6;160:25:1;;148:2;133:18;;14:177;12807:26:0;;;;;;;;12846:37;59886:601;61458:381;61589:7;61626:13;-1:-1:-1;;;;;61613:26:0;:9;-1:-1:-1;;;;;61613:26:0;;61609:200;;61663:33;61675:6;61683:7;;61692:3;61663:11;:33::i;:::-;61656:40;;;;61609:200;61728:13;-1:-1:-1;;;;;61718:23:0;:6;-1:-1:-1;;;;;61718:23:0;;61714:95;;61765:32;61777:6;61785;;61793:3;61765:11;:32::i;61714:95::-;-1:-1:-1;61829:1:0;61458:381;;;;;:::o;37136:318::-;36433:1;37266:7;;:19;37262:89;;37309:30;;-1:-1:-1;;;37309:30:0;;;;;;;;;;;37262:89;36433:1;37428:7;:18;37136:318::o;58849:123::-;58899:7;58936:8;-1:-1:-1;;;;;58927:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;63635:900::-;63899:11;;;;63894:155;;-1:-1:-1;;;;;63932:22:0;;;;;;:15;:22;;;;;;;;63931:23;;:48;;-1:-1:-1;;;;;;63959:20:0;;;;;;:15;:20;;;;;;;;63958:21;63931:48;63927:111;;;64007:15;;-1:-1:-1;;;64007:15:0;;;;;;;;;;;63927:111;-1:-1:-1;;;;;64141:20:0;;;;;;:15;:20;;;;;;;;64136:166;;64211:16;;64200:7;64183:14;64193:3;-1:-1:-1;;;;;7960:18:0;7933:7;7960:18;;;:9;:18;;;;;;;7859:127;64183:14;:24;;;;:::i;:::-;64182:45;64178:113;;;64255:20;;-1:-1:-1;;;64255:20:0;;;;;;;;;;;64178:113;-1:-1:-1;;;;;64388:22:0;;;;;;:15;:22;;;;;;;;64383:145;;64441:11;;64431:7;:21;64427:90;;;64480:21;;-1:-1:-1;;;64480:21:0;;;;;;;;;;;196:423:1;238:3;276:5;270:12;303:6;298:3;291:19;328:1;338:162;352:6;349:1;346:13;338:162;;;414:4;470:13;;;466:22;;460:29;442:11;;;438:20;;431:59;367:12;338:162;;;342:3;545:1;538:4;529:6;524:3;520:16;516:27;509:38;608:4;601:2;597:7;592:2;584:6;580:15;576:29;571:3;567:39;563:50;556:57;;;196:423;;;;:::o;624:220::-;773:2;762:9;755:21;736:4;793:45;834:2;823:9;819:18;811:6;793:45;:::i;849:131::-;-1:-1:-1;;;;;924:31:1;;914:42;;904:70;;970:1;967;960:12;904:70;849:131;:::o;985:315::-;1053:6;1061;1114:2;1102:9;1093:7;1089:23;1085:32;1082:52;;;1130:1;1127;1120:12;1082:52;1169:9;1156:23;1188:31;1213:5;1188:31;:::i;:::-;1238:5;1290:2;1275:18;;;;1262:32;;-1:-1:-1;;;985:315:1:o;1497:456::-;1574:6;1582;1590;1643:2;1631:9;1622:7;1618:23;1614:32;1611:52;;;1659:1;1656;1649:12;1611:52;1698:9;1685:23;1717:31;1742:5;1717:31;:::i;:::-;1767:5;-1:-1:-1;1824:2:1;1809:18;;1796:32;1837:33;1796:32;1837:33;:::i;:::-;1497:456;;1889:7;;-1:-1:-1;;;1943:2:1;1928:18;;;;1915:32;;1497:456::o;2355:248::-;2423:6;2431;2484:2;2472:9;2463:7;2459:23;2455:32;2452:52;;;2500:1;2497;2490:12;2452:52;-1:-1:-1;;2523:23:1;;;2593:2;2578:18;;;2565:32;;-1:-1:-1;2355:248:1:o;2608:247::-;2667:6;2720:2;2708:9;2699:7;2695:23;2691:32;2688:52;;;2736:1;2733;2726:12;2688:52;2775:9;2762:23;2794:31;2819:5;2794:31;:::i;2860:870::-;3168:4;3197:3;3227:2;3216:9;3209:21;3253:45;3294:2;3283:9;3279:18;3271:6;3253:45;:::i;:::-;3239:59;;3346:9;3338:6;3334:22;3329:2;3318:9;3314:18;3307:50;3374:33;3400:6;3392;3374:33;:::i;:::-;3438:2;3423:18;;3416:34;;;;-1:-1:-1;;3498:4:1;3486:17;;;3481:2;3466:18;;3459:45;3541:17;;;3535:3;3520:19;;3513:46;3596:17;;;3590:3;3575:19;;3568:46;3651:17;;3645:3;3630:19;;3623:46;3706:17;;;3700:3;3685:19;;;3678:46;3366:41;2860:870;-1:-1:-1;;2860:870:1:o;3735:180::-;3794:6;3847:2;3835:9;3826:7;3822:23;3818:32;3815:52;;;3863:1;3860;3853:12;3815:52;-1:-1:-1;3886:23:1;;3735:180;-1:-1:-1;3735:180:1:o;3920:118::-;4006:5;3999:13;3992:21;3985:5;3982:32;3972:60;;4028:1;4025;4018:12;4043:382;4108:6;4116;4169:2;4157:9;4148:7;4144:23;4140:32;4137:52;;;4185:1;4182;4175:12;4137:52;4224:9;4211:23;4243:31;4268:5;4243:31;:::i;:::-;4293:5;-1:-1:-1;4350:2:1;4335:18;;4322:32;4363:30;4322:32;4363:30;:::i;:::-;4412:7;4402:17;;;4043:382;;;;;:::o;4430:388::-;4498:6;4506;4559:2;4547:9;4538:7;4534:23;4530:32;4527:52;;;4575:1;4572;4565:12;4527:52;4614:9;4601:23;4633:31;4658:5;4633:31;:::i;:::-;4683:5;-1:-1:-1;4740:2:1;4725:18;;4712:32;4753:33;4712:32;4753:33;:::i;4823:380::-;4902:1;4898:12;;;;4945;;;4966:61;;5020:4;5012:6;5008:17;4998:27;;4966:61;5073:2;5065:6;5062:14;5042:18;5039:38;5036:161;;5119:10;5114:3;5110:20;5107:1;5100:31;5154:4;5151:1;5144:15;5182:4;5179:1;5172:15;5036:161;;4823:380;;;:::o;5208:127::-;5269:10;5264:3;5260:20;5257:1;5250:31;5300:4;5297:1;5290:15;5324:4;5321:1;5314:15;5340:125;5405:9;;;5426:10;;;5423:36;;;5439:18;;:::i;5470:356::-;5672:2;5654:21;;;5691:18;;;5684:30;5750:34;5745:2;5730:18;;5723:62;5817:2;5802:18;;5470:356::o;5831:184::-;5901:6;5954:2;5942:9;5933:7;5929:23;5925:32;5922:52;;;5970:1;5967;5960:12;5922:52;-1:-1:-1;5993:16:1;;5831:184;-1:-1:-1;5831:184:1:o;6299:245::-;6366:6;6419:2;6407:9;6398:7;6394:23;6390:32;6387:52;;;6435:1;6432;6425:12;6387:52;6467:9;6461:16;6486:28;6508:5;6486:28;:::i;6549:168::-;6622:9;;;6653;;6670:15;;;6664:22;;6650:37;6640:71;;6691:18;;:::i;6722:127::-;6783:10;6778:3;6774:20;6771:1;6764:31;6814:4;6811:1;6804:15;6838:4;6835:1;6828:15;6854:217;6894:1;6920;6910:132;;6964:10;6959:3;6955:20;6952:1;6945:31;6999:4;6996:1;6989:15;7027:4;7024:1;7017:15;6910:132;-1:-1:-1;7056:9:1;;6854:217::o;9480:128::-;9547:9;;;9568:11;;;9565:37;;;9582:18;;:::i;9745:127::-;9806:10;9801:3;9797:20;9794:1;9787:31;9837:4;9834:1;9827:15;9861:4;9858:1;9851:15;9877:251;9947:6;10000:2;9988:9;9979:7;9975:23;9971:32;9968:52;;;10016:1;10013;10006:12;9968:52;10048:9;10042:16;10067:31;10092:5;10067:31;:::i;10133:980::-;10395:4;10443:3;10432:9;10428:19;10474:6;10463:9;10456:25;10500:2;10538:6;10533:2;10522:9;10518:18;10511:34;10581:3;10576:2;10565:9;10561:18;10554:31;10605:6;10640;10634:13;10671:6;10663;10656:22;10709:3;10698:9;10694:19;10687:26;;10748:2;10740:6;10736:15;10722:29;;10769:1;10779:195;10793:6;10790:1;10787:13;10779:195;;;10858:13;;-1:-1:-1;;;;;10854:39:1;10842:52;;10949:15;;;;10914:12;;;;10890:1;10808:9;10779:195;;;-1:-1:-1;;;;;;;11030:32:1;;;;11025:2;11010:18;;11003:60;-1:-1:-1;;;11094:3:1;11079:19;11072:35;10991:3;10133:980;-1:-1:-1;;;10133:980:1:o
Swarm Source
ipfs://dda4a9a9329105833ba73d0049d9536feabbff304eb8004a783b60347b435a5b
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.