ERC-20
Overview
Max Total Supply
9,992,913,539.183048813947983846 $ZFG_Dividend_Tracker
Holders
69
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
5,002,016.616979240870122706 $ZFG_Dividend_TrackerValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
$ZFGDividendTracker
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-09 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SignedSafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SignedSafeMath { /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { return a * b; } /** * @dev Returns the integer division of two signed integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(int256 a, int256 b) internal pure returns (int256) { return a / b; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { return a - b; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { return a + b; } } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } } /* * @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 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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 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); } /** * @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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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; _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; } _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 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 {} } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } library IterableMapping { // Iterable mapping from address to uint; struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(Map storage map, address key) public view returns (uint) { return map.values[key]; } function getIndexOfKey(Map storage map, address key) public view returns (int) { if(!map.inserted[key]) { return -1; } return int(map.indexOf[key]); } function getKeyAtIndex(Map storage map, uint index) public view returns (address) { return map.keys[index]; } function size(Map storage map) public view returns (uint) { return map.keys.length; } function set(Map storage map, address key, uint val) public { if (map.inserted[key]) { map.values[key] = val; } else { map.inserted[key] = true; map.values[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(Map storage map, address key) public { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.values[key]; uint index = map.indexOf[key]; uint lastIndex = map.keys.length - 1; address lastKey = map.keys[lastIndex]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } } /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); } /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); } /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SignedSafeMath for int256; using SafeCast for uint256; using SafeCast for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) { } /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); (bool success,) = user.call{value: _withdrawableDividend, gas: 3000}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256() .add(magnifiedDividendCorrections[_owner]).toUint256() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer(address from, address to, uint256 value) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } } contract $ZFGDividendTracker is DividendPayingToken, Ownable { using SafeMath for uint256; using SignedSafeMath for int256; using IterableMapping for IterableMapping.Map; IterableMapping.Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() DividendPayingToken("$ZFG_Dividend_Tracker", "$ZFG_Dividend_Tracker") { claimWait = 172800; minimumTokenBalanceForDividends = 100000 * (10**18); //must hold 100000+ tokens } function _transfer(address, address, uint256) internal pure override { require(false, "$ZFG_Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public pure override { require(false, "$ZFG_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main $ZFG contract."); } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); tokenHoldersMap.remove(account); emit ExcludeFromDividends(account); } function setMinimumTokensForHolds(uint256 _amount) external onlyOwner { minimumTokenBalanceForDividends = _amount *(10**18); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 3600 && newClaimWait <= 604800, "$ZFG_Dividend_Tracker: claimWait must be updated to between 1 and 7 days"); require(newClaimWait != claimWait, "$ZFG_Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = tokenHoldersMap.getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= tokenHoldersMap.size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = tokenHoldersMap.getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); tokenHoldersMap.set(account, newBalance); } else { _setBalance(account, 0); tokenHoldersMap.remove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } } contract ZFG is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public immutable uniswapV2Pair; bool private inSwapAndLiquify; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; bool public limitsInEffect = true; bool public swapAndLiquifyEnabled = true; bool public tradingActive = false; uint256 public tradingActiveBlock = 0; // 0 means trading is not active mapping(address => bool) public boughtEarly; // mapping to track addresses that buy within the first 2 blocks pay a 3x tax for 24 hours to sell uint256 public earlyBuyPenaltyEnd; // determines when snipers/bots can sell without extra penalty $ZFGDividendTracker public dividendTracker; uint256 public maxSellTransactionAmount = 100000000 * (10**18); //1% uint256 public maxBuyTransactionAmount = 100000000 * (10**18); //1% uint256 public swapTokensAtAmount = 10000000 * (10**18); //0.1% uint256 public maxWalletToken = 200000000 * (10**18); //2% uint256 public ETHRewardsFee; uint256 public liquidityFee; uint256 public totalFees; uint256 public marketingFee; uint256 public onSellETHRewardsFee; uint256 public onSellliquidityFee; uint256 public onSelltotalFees; uint256 public onSellmarketingFee; address payable public marketingWallet; // use by default 300,000 gas to process auto-claiming dividends uint256 public gasForProcessing = 300000; // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedFromMaxTx; mapping(address => bool) public _isBlacklisted; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event BoughtEarly(address indexed sniper); event RemovedSniper(address indexed notsnipersupposedly); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensIntoLiqudity, uint256 ethReceived ); event SendDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function setFee(uint256 _ethRewardFee, uint256 _liquidityFee, uint256 _marketingFee) public onlyOwner { ETHRewardsFee = _ethRewardFee; liquidityFee = _liquidityFee; marketingFee = _marketingFee; totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee); // total fee transfer and buy require(totalFees <= 20, "bUY FEE SHOULD BE 20% or less"); } // remove limits after token is stable - 30-60 minutes function removeLimits() external onlyOwner returns (bool){ limitsInEffect = false; transferDelayEnabled = false; return true; } // disable Transfer delay function disableTransferDelay() external onlyOwner returns (bool){ transferDelayEnabled = false; return true; } function blacklistAddress(address account, bool value) external onlyOwner{ _isBlacklisted[account] = value; } function setSellFee(uint256 _onSellEthRewardFee, uint256 _onSellliuidityFee, uint256 _onSellMarketingFee) public onlyOwner { onSellETHRewardsFee = _onSellEthRewardFee; onSellliquidityFee = _onSellliuidityFee; onSellmarketingFee = _onSellMarketingFee; onSelltotalFees = onSellETHRewardsFee.add(onSellliquidityFee).add(onSellmarketingFee); require(onSelltotalFees <= 30, "Buy Fee should be 30% or less"); } function setMaxWalletTokens(uint256 _maxToken) external onlyOwner { maxWalletToken = _maxToken * (10**18); } function setMarketingWallet(address payable _newMarketingWallet) public onlyOwner { marketingWallet = _newMarketingWallet; } constructor() ERC20("Zero Fvcks Given", "$ZFG") { ETHRewardsFee = 0; liquidityFee = 3; marketingFee = 3; onSellETHRewardsFee = 7; onSellliquidityFee = 5; onSellmarketingFee = 8; marketingWallet = payable(0x37202411d10D550e45dc4465B074A4E399Da9be9); totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee); // total fee transfer and buy onSelltotalFees = onSellETHRewardsFee.add(onSellliquidityFee).add(onSellmarketingFee); dividendTracker = new $ZFGDividendTracker(); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(0x64E69904Fc69991916AEf940A8A8Ce4799A99a4C, true); excludeFromFees(marketingWallet, true); excludeFromFees(address(this), true); // exclude from max tx _isExcludedFromMaxTx[owner()] = true; _isExcludedFromMaxTx[address(this)] = true; _isExcludedFromMaxTx[marketingWallet] = true; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), 10000000000 * (10**18)); } receive() external payable { } // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapAndLiquifyEnabled = true; tradingActiveBlock = block.number; earlyBuyPenaltyEnd = block.timestamp + 72 hours; } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "$ZFG: The router already has that address"); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function setMaxBuyTrxAmount(uint256 _amount) external onlyOwner { maxBuyTransactionAmount = _amount * (10**18); } function setMaxSellTrxAmount(uint256 _amount) external onlyOwner { maxSellTransactionAmount = _amount * (10**18); } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "$ZFG: Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setExcludeFromMaxTx(address _address, bool value) public onlyOwner { _isExcludedFromMaxTx[_address] = value; } function setExcludeFromAll(address _address) public onlyOwner { _isExcludedFromMaxTx[_address] = true; _isExcludedFromFees[_address] = true; dividendTracker.excludeFromDividends(_address); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "$ZFG: The PancakeSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function setSWapToensAtAmount(uint256 _newAmount) public onlyOwner { swapTokensAtAmount = _newAmount * (10**18); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "$ZFG: Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateGasForProcessing(uint256 newValue) public onlyOwner { require(newValue >= 200000 && newValue <= 500000, "$ZFG: gasForProcessing must be between 200,000 and 500,000"); require(newValue != gasForProcessing, "$ZFG: Cannot update gasForProcessing to same value"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function isExcludedFromMaxTx(address account) public view returns(bool) { return _isExcludedFromMaxTx[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.balanceOf(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } //this will be used to exclude from dividends the presale smart contract address function excludeFromDividends(address account) external onlyOwner { dividendTracker.excludeFromDividends(account); } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!_isBlacklisted[from] && !_isBlacklisted[to], "Blacklisted address"); if(!tradingActive){ require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active yet."); } if(amount == 0) { super._transfer(from, to, 0); return; } if(limitsInEffect){ if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && to != uniswapV2Pair ) { if(from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock){ boughtEarly[to] = true; emit BoughtEarly(to); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled){ if (to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair)){ require(_holderLastTransferTimestamp[to] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed."); _holderLastTransferTimestamp[to] = block.number; } } uint256 contractBalanceRecepient = balanceOf(to); require( contractBalanceRecepient + amount <= maxWalletToken, "Exceeds maximum wallet token amount." ); } //when sell if(automatedMarketMakerPairs[to] && (!_isExcludedFromMaxTx[from]) && (!_isExcludedFromMaxTx[to])){ if(balanceOf(from) >= maxSellTransactionAmount){ require(amount <= balanceOf(from)/2); } } //when buy if(automatedMarketMakerPairs[from] && (!_isExcludedFromMaxTx[from]) && (!_isExcludedFromMaxTx[to])){ require(amount <= maxBuyTransactionAmount, "Sell transfer amount exceeds the maxBuyTransactionAmount."); } } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= swapTokensAtAmount; if( overMinTokenBalance && !inSwapAndLiquify && !automatedMarketMakerPairs[from] && swapAndLiquifyEnabled ) { swapAndLiquify(contractTokenBalance); } // if any account belongs to _isExcludedFromFee account then remove the fee if(!_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { uint256 fees = (amount*totalFees)/100; if(automatedMarketMakerPairs[to]) { fees =(amount*onSelltotalFees)/100; // higher tax if bought in the same block as trading active for 72 hours (sniper protect) if(boughtEarly[from] && earlyBuyPenaltyEnd > block.timestamp){ fees = fees * 2; } } amount = amount-fees; super._transfer(from, address(this), fees); // get total fee first } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} if(!inSwapAndLiquify) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch { } } } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { // take liquidity fee, keep a half token // halfLiquidityToken = totalAmount * (liquidityFee/2totalFee) uint256 tokensToAddLiquidityWith = contractTokenBalance.div(onSelltotalFees.mul(2)).mul(onSellliquidityFee); // swap the remaining to BNB uint256 toSwap = contractTokenBalance-tokensToAddLiquidityWith; // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForBnb(toSwap, address(this)); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered uint256 deltaBalance = address(this).balance-initialBalance; // take worthy amount bnb to add liquidity // worthyBNB = deltaBalance * liquidity/(2totalFees - liquidityFee) uint256 bnbToAddLiquidityWith = deltaBalance.mul(onSellliquidityFee).div(onSelltotalFees.mul(2).sub(onSellliquidityFee)); // add liquidity to uniswap addLiquidity(tokensToAddLiquidityWith, bnbToAddLiquidityWith); // worthy marketing fee uint256 marketingAmount = deltaBalance.sub(bnbToAddLiquidityWith).div(onSelltotalFees.sub(onSellliquidityFee)).mul(onSellmarketingFee); marketingWallet.transfer(marketingAmount); uint256 dividends = address(this).balance; (bool success,) = address(dividendTracker).call{value: dividends}(""); if(success) { emit SendDividends(toSwap-tokensToAddLiquidityWith, dividends); } emit SwapAndLiquify(tokensToAddLiquidityWith, deltaBalance); } function swapTokensForBnb(uint256 tokenAmount, address _to) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); if(allowance(address(this), address(uniswapV2Router)) < tokenAmount) { _approve(address(this), address(uniswapV2Router), ~uint256(0)); } // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, _to, block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function withdrawStuckETh() external onlyOwner{ require (address(this).balance > 0, "Can't withdraw negative or zero"); payable(owner()).transfer(address(this).balance); } function removeBoughtEarly(address account) external onlyOwner { boughtEarly[account] = false; emit RemovedSniper(account); } function removeStuckToken(address _address) external onlyOwner { require(_address != address(this), "Can't withdraw tokens destined for liquidity"); require(IERC20(_address).balanceOf(address(this)) > 0, "Can't withdraw 0"); IERC20(_address).transfer(owner(), IERC20(_address).balanceOf(address(this))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"claimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"int256","name":"index","type":"int256"},{"internalType":"int256","name":"iterationsUntilProcessed","type":"int256"},{"internalType":"uint256","name":"withdrawableDividends","type":"uint256"},{"internalType":"uint256","name":"totalDividends","type":"uint256"},{"internalType":"uint256","name":"lastClaimTime","type":"uint256"},{"internalType":"uint256","name":"nextClaimTime","type":"uint256"},{"internalType":"uint256","name":"secondsUntilAutoClaimAvailable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"bool","name":"automatic","type":"bool"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMinimumTokensForHolds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260158082527f245a46475f4469766964656e645f547261636b65720000000000000000000000602080840182815285518087019096529285528401528151919291839183916200006e9160039162000114565b5080516200008490600490602084019062000114565b5050505050620000a36200009d620000be60201b60201c565b620000c2565b6202a30060115569152d02c7e14af6800000601255620001f6565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012290620001ba565b90600052602060002090601f01602090048101928262000146576000855562000191565b82601f106200016157805160ff191683800117855562000191565b8280016001018555821562000191579182015b828111156200019157825182559160200191906001019062000174565b506200019f929150620001a3565b5090565b5b808211156200019f5760008155600101620001a4565b600181811c90821680620001cf57607f821691505b602082108103620001f057634e487b7160e01b600052602260045260246000fd5b50919050565b611ff080620002066000396000f3fe6080604052600436106102135760003560e01c8063715018a611610118578063bc4c4b37116100a0578063e7841ec01161006f578063e7841ec01461066d578063e98030c714610682578063f2fde38b146106a2578063fbcbc0f1146106c2578063ffb2c479146106e257600080fd5b8063bc4c4b37146105d1578063be10b614146105f1578063dd62ed3e14610607578063e30443bc1461064d57600080fd5b806395d89b41116100e757806395d89b4114610526578063a457c2d71461053b578063a8b9d2401461055b578063a9059cbb1461057b578063aafd847a1461059b57600080fd5b8063715018a6146104b357806385a6b3ae146104c85780638da5cb5b146104de57806391b89fba1461050657600080fd5b80633009a6091161019b5780634e7b827f1161016a5780634e7b827f146103bd5780635183d6fd146103ed5780636a474002146104525780636f2789ec1461046757806370a082311461047d57600080fd5b80633009a6091461034b578063313ce5671461036157806331e79db01461037d578063395093511461039d57600080fd5b806318160ddd116101e257806318160ddd146102a9578063226cfa3d146102be57806323b872dd146102eb57806325910e861461030b57806327ce01471461032b57600080fd5b806303c833021461022757806306fdde031461022f578063095ea7b31461025a57806309bbedde1461028a57600080fd5b366102225761022061071d565b005b600080fd5b61022061071d565b34801561023b57600080fd5b506102446107b0565b6040516102519190611c67565b60405180910390f35b34801561026657600080fd5b5061027a610275366004611cd1565b610842565b6040519015158152602001610251565b34801561029657600080fd5b50600a545b604051908152602001610251565b3480156102b557600080fd5b5060025461029b565b3480156102ca57600080fd5b5061029b6102d9366004611cfd565b60106020526000908152604090205481565b3480156102f757600080fd5b5061027a610306366004611d1a565b610859565b34801561031757600080fd5b50610220610326366004611d5b565b610908565b34801561033757600080fd5b5061029b610346366004611cfd565b61094a565b34801561035757600080fd5b5061029b600e5481565b34801561036d57600080fd5b5060405160128152602001610251565b34801561038957600080fd5b50610220610398366004611cfd565b6109a6565b3480156103a957600080fd5b5061027a6103b8366004611cd1565b610acd565b3480156103c957600080fd5b5061027a6103d8366004611cfd565b600f6020526000908152604090205460ff1681565b3480156103f957600080fd5b5061040d610408366004611d5b565b610b09565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610251565b34801561045e57600080fd5b50610220610c5d565b34801561047357600080fd5b5061029b60115481565b34801561048957600080fd5b5061029b610498366004611cfd565b6001600160a01b031660009081526020819052604090205490565b3480156104bf57600080fd5b50610220610cff565b3480156104d457600080fd5b5061029b60085481565b3480156104ea57600080fd5b506009546040516001600160a01b039091168152602001610251565b34801561051257600080fd5b5061029b610521366004611cfd565b610d33565b34801561053257600080fd5b50610244610d3e565b34801561054757600080fd5b5061027a610556366004611cd1565b610d4d565b34801561056757600080fd5b5061029b610576366004611cfd565b610de6565b34801561058757600080fd5b5061027a610596366004611cd1565b610e12565b3480156105a757600080fd5b5061029b6105b6366004611cfd565b6001600160a01b031660009081526007602052604090205490565b3480156105dd57600080fd5b5061027a6105ec366004611d74565b610e1f565b3480156105fd57600080fd5b5061029b60125481565b34801561061357600080fd5b5061029b610622366004611db2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561065957600080fd5b50610220610668366004611cd1565b610ecd565b34801561067957600080fd5b50600e5461029b565b34801561068e57600080fd5b5061022061069d366004611d5b565b611037565b3480156106ae57600080fd5b506102206106bd366004611cfd565b6111a3565b3480156106ce57600080fd5b5061040d6106dd366004611cfd565b61123e565b3480156106ee57600080fd5b506107026106fd366004611d5b565b6113a7565b60408051938452602084019290925290820152606001610251565b600061072860025490565b1161073257600080fd5b34156107ae5761076561074460025490565b61075234600160801b6114c4565b61075c9190611df6565b600554906114d7565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26008546107aa90346114d7565b6008555b565b6060600380546107bf90611e18565b80601f01602080910402602001604051908101604052809291908181526020018280546107eb90611e18565b80156108385780601f1061080d57610100808354040283529160200191610838565b820191906000526020600020905b81548152906001019060200180831161081b57829003601f168201915b5050505050905090565b600061084f3384846114e3565b5060015b92915050565b6000610866848484611607565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108f05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6108fd85338584036114e3565b506001949350505050565b6009546001600160a01b031633146109325760405162461bcd60e51b81526004016108e790611e52565b61094481670de0b6b3a7640000611e87565b60125550565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261099c92610997926109919161098c91906114c4565b611663565b906116d1565b6116dd565b6108539190611df6565b6009546001600160a01b031633146109d05760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0381166000908152600f602052604090205460ff16156109f657600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff19166001179055610a2490829061172f565b60405163131836e760e21b8152600a60048201526001600160a01b038216602482015273a268a890a8047871d71f93cecc9af0b35e32e6e190634c60db9c9060440160006040518083038186803b158015610a7e57600080fd5b505af4158015610a92573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161084f918590610b04908690611ea6565b6114e3565b600080600080600080600080600a73a268a890a8047871d71f93cecc9af0b35e32e6e163deb3d89690916040518263ffffffff1660e01b8152600401610b5191815260200190565b602060405180830381865af4158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190611ebe565b8910610bb7575060009650600019955085945086935083925082915081905080610c52565b6040516368d54f3f60e11b8152600a6004820152602481018a905260009073a268a890a8047871d71f93cecc9af0b35e32e6e19063d1aa9e7e90604401602060405180830381865af4158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c359190611ed7565b9050610c408161123e565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606560248201527f245a46475f4469766964656e645f547261636b65723a2077697468647261774460448201527f69766964656e642064697361626c65642e20557365207468652027636c61696d60648201527f272066756e6374696f6e206f6e20746865206d61696e20245a464720636f6e746084820152643930b1ba1760d91b60a482015260c4016108e7565b6009546001600160a01b03163314610d295760405162461bcd60e51b81526004016108e790611e52565b6107ae6000611794565b600061085382610de6565b6060600480546107bf90611e18565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610dcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108e7565b610ddc33858584036114e3565b5060019392505050565b6001600160a01b03811660009081526007602052604081205461085390610e0c8461094a565b906117e6565b600061084f338484611607565b6009546000906001600160a01b03163314610e4c5760405162461bcd60e51b81526004016108e790611e52565b6000610e57846117f2565b90508015610ec3576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610eb19085815260200190565b60405180910390a36001915050610853565b5060009392505050565b6009546001600160a01b03163314610ef75760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0382166000908152600f602052604090205460ff16611033576012548110610fa857610f2a828261172f565b604051632f0ad01760e21b8152600a60048201526001600160a01b03831660248201526044810182905273a268a890a8047871d71f93cecc9af0b35e32e6e19063bc2b405c9060640160006040518083038186803b158015610f8b57600080fd5b505af4158015610f9f573d6000803e3d6000fd5b50505050611026565b610fb382600061172f565b60405163131836e760e21b8152600a60048201526001600160a01b038316602482015273a268a890a8047871d71f93cecc9af0b35e32e6e190634c60db9c9060440160006040518083038186803b15801561100d57600080fd5b505af4158015611021573d6000803e3d6000fd5b505050505b611031826001610e1f565b505b5050565b6009546001600160a01b031633146110615760405162461bcd60e51b81526004016108e790611e52565b610e108110158015611076575062093a808111155b6110f95760405162461bcd60e51b815260206004820152604860248201527f245a46475f4469766964656e645f547261636b65723a20636c61696d5761697460448201527f206d757374206265207570646174656420746f206265747765656e203120616e606482015267642037206461797360c01b608482015260a4016108e7565b60115481036111705760405162461bcd60e51b815260206004820152603c60248201527f245a46475f4469766964656e645f547261636b65723a2043616e6e6f7420757060448201527f6461746520636c61696d5761697420746f2073616d652076616c75650000000060648201526084016108e7565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6009546001600160a01b031633146111cd5760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0381166112325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e7565b61123b81611794565b50565b6040516317e142d160e01b8152600a60048201526001600160a01b0382166024820152819060009081908190819081908190819073a268a890a8047871d71f93cecc9af0b35e32e6e1906317e142d190604401602060405180830381865af41580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d29190611ebe565b965060001995506000871261133457600e5487111561130057600e546112f9908890611938565b9550611334565b600e54600a5460009110611315576000611324565b600e54600a54611324916117e6565b905061133088826116d1565b9650505b61133d88610de6565b94506113488861094a565b6001600160a01b038916600090815260106020526040902054909450925082611372576000611380565b6011546113809084906114d7565b915042821161139057600061139a565b61139a82426117e6565b9050919395975091939597565b600a54600090819081908082036113c9575050600e54600092508291506114bd565b600e546000805a90506000805b89841080156113e457508582105b156114ac57846113f381611ef4565b600a549096508610905061140657600094505b6000600a600001868154811061141e5761141e611f0d565b60009182526020808320909101546001600160a01b0316808352601090915260409091205490915061144f90611944565b156114725761145f816001610e1f565b15611472578161146e81611ef4565b9250505b8261147c81611ef4565b93505060005a9050808511156114a3576114a061149986836117e6565b87906114d7565b95505b93506113d69050565b600e85905590975095509193505050505b9193909250565b60006114d08284611e87565b9392505050565b60006114d08284611ea6565b6001600160a01b0383166115455760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108e7565b6001600160a01b0382166115a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108e7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602b60248201527f245a46475f4469766964656e645f547261636b65723a204e6f207472616e736660448201526a195c9cc8185b1b1bddd95960aa1b60648201526084016108e7565b60006001600160ff1b038211156116cd5760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b60648201526084016108e7565b5090565b60006114d08284611f23565b6000808212156116cd5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016108e7565b6001600160a01b0382166000908152602081905260409020548082111561176e57600061175c83836117e6565b9050611768848261196b565b50611031565b8082101561103157600061178282846117e6565b905061178e84826119cf565b50505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006114d08284611f64565b6000806117fe83610de6565b9050801561192f576001600160a01b03831660009081526007602052604090205461182990826114d7565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906118789084815260200190565b60405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d80600081146118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5050905080611928576001600160a01b03841660009081526007602052604090205461190390836117e6565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b60006114d08284611f7b565b60004282111561195657506000919050565b60115461196342846117e6565b101592915050565b6119758282611a13565b6119af61199061098c836005546114c490919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611938565b6001600160a01b0390921660009081526006602052604090209190915550565b6119d98282611b06565b6119af6119f461098c836005546114c490919063ffffffff16565b6001600160a01b038416600090815260066020526040902054906116d1565b6001600160a01b038216611a695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108e7565b611a7560008383611031565b8060026000828254611a879190611ea6565b90915550506001600160a01b03821660009081526020819052604081208054839290611ab4908490611ea6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361103360008383611031565b6001600160a01b038216611b665760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108e7565b611b7282600083611031565b6001600160a01b03821660009081526020819052604090205481811015611be65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108e7565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c15908490611f64565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361103183600084611031565b600060208083528351808285015260005b81811015611c9457858101830151858201604001528201611c78565b81811115611ca6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461123b57600080fd5b60008060408385031215611ce457600080fd5b8235611cef81611cbc565b946020939093013593505050565b600060208284031215611d0f57600080fd5b81356114d081611cbc565b600080600060608486031215611d2f57600080fd5b8335611d3a81611cbc565b92506020840135611d4a81611cbc565b929592945050506040919091013590565b600060208284031215611d6d57600080fd5b5035919050565b60008060408385031215611d8757600080fd5b8235611d9281611cbc565b915060208301358015158114611da757600080fd5b809150509250929050565b60008060408385031215611dc557600080fd5b8235611dd081611cbc565b91506020830135611da781611cbc565b634e487b7160e01b600052601160045260246000fd5b600082611e1357634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680611e2c57607f821691505b602082108103611e4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615611ea157611ea1611de0565b500290565b60008219821115611eb957611eb9611de0565b500190565b600060208284031215611ed057600080fd5b5051919050565b600060208284031215611ee957600080fd5b81516114d081611cbc565b600060018201611f0657611f06611de0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600080821280156001600160ff1b0384900385131615611f4557611f45611de0565b600160ff1b8390038412811615611f5e57611f5e611de0565b50500190565b600082821015611f7657611f76611de0565b500390565b60008083128015600160ff1b850184121615611f9957611f99611de0565b6001600160ff1b0384018313811615611fb457611fb4611de0565b5050039056fea2646970667358221220c6231f1706697671ad02297216150950459b646eb3d06d55c50c61681494c30664736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106102135760003560e01c8063715018a611610118578063bc4c4b37116100a0578063e7841ec01161006f578063e7841ec01461066d578063e98030c714610682578063f2fde38b146106a2578063fbcbc0f1146106c2578063ffb2c479146106e257600080fd5b8063bc4c4b37146105d1578063be10b614146105f1578063dd62ed3e14610607578063e30443bc1461064d57600080fd5b806395d89b41116100e757806395d89b4114610526578063a457c2d71461053b578063a8b9d2401461055b578063a9059cbb1461057b578063aafd847a1461059b57600080fd5b8063715018a6146104b357806385a6b3ae146104c85780638da5cb5b146104de57806391b89fba1461050657600080fd5b80633009a6091161019b5780634e7b827f1161016a5780634e7b827f146103bd5780635183d6fd146103ed5780636a474002146104525780636f2789ec1461046757806370a082311461047d57600080fd5b80633009a6091461034b578063313ce5671461036157806331e79db01461037d578063395093511461039d57600080fd5b806318160ddd116101e257806318160ddd146102a9578063226cfa3d146102be57806323b872dd146102eb57806325910e861461030b57806327ce01471461032b57600080fd5b806303c833021461022757806306fdde031461022f578063095ea7b31461025a57806309bbedde1461028a57600080fd5b366102225761022061071d565b005b600080fd5b61022061071d565b34801561023b57600080fd5b506102446107b0565b6040516102519190611c67565b60405180910390f35b34801561026657600080fd5b5061027a610275366004611cd1565b610842565b6040519015158152602001610251565b34801561029657600080fd5b50600a545b604051908152602001610251565b3480156102b557600080fd5b5060025461029b565b3480156102ca57600080fd5b5061029b6102d9366004611cfd565b60106020526000908152604090205481565b3480156102f757600080fd5b5061027a610306366004611d1a565b610859565b34801561031757600080fd5b50610220610326366004611d5b565b610908565b34801561033757600080fd5b5061029b610346366004611cfd565b61094a565b34801561035757600080fd5b5061029b600e5481565b34801561036d57600080fd5b5060405160128152602001610251565b34801561038957600080fd5b50610220610398366004611cfd565b6109a6565b3480156103a957600080fd5b5061027a6103b8366004611cd1565b610acd565b3480156103c957600080fd5b5061027a6103d8366004611cfd565b600f6020526000908152604090205460ff1681565b3480156103f957600080fd5b5061040d610408366004611d5b565b610b09565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610251565b34801561045e57600080fd5b50610220610c5d565b34801561047357600080fd5b5061029b60115481565b34801561048957600080fd5b5061029b610498366004611cfd565b6001600160a01b031660009081526020819052604090205490565b3480156104bf57600080fd5b50610220610cff565b3480156104d457600080fd5b5061029b60085481565b3480156104ea57600080fd5b506009546040516001600160a01b039091168152602001610251565b34801561051257600080fd5b5061029b610521366004611cfd565b610d33565b34801561053257600080fd5b50610244610d3e565b34801561054757600080fd5b5061027a610556366004611cd1565b610d4d565b34801561056757600080fd5b5061029b610576366004611cfd565b610de6565b34801561058757600080fd5b5061027a610596366004611cd1565b610e12565b3480156105a757600080fd5b5061029b6105b6366004611cfd565b6001600160a01b031660009081526007602052604090205490565b3480156105dd57600080fd5b5061027a6105ec366004611d74565b610e1f565b3480156105fd57600080fd5b5061029b60125481565b34801561061357600080fd5b5061029b610622366004611db2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561065957600080fd5b50610220610668366004611cd1565b610ecd565b34801561067957600080fd5b50600e5461029b565b34801561068e57600080fd5b5061022061069d366004611d5b565b611037565b3480156106ae57600080fd5b506102206106bd366004611cfd565b6111a3565b3480156106ce57600080fd5b5061040d6106dd366004611cfd565b61123e565b3480156106ee57600080fd5b506107026106fd366004611d5b565b6113a7565b60408051938452602084019290925290820152606001610251565b600061072860025490565b1161073257600080fd5b34156107ae5761076561074460025490565b61075234600160801b6114c4565b61075c9190611df6565b600554906114d7565b60055560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26008546107aa90346114d7565b6008555b565b6060600380546107bf90611e18565b80601f01602080910402602001604051908101604052809291908181526020018280546107eb90611e18565b80156108385780601f1061080d57610100808354040283529160200191610838565b820191906000526020600020905b81548152906001019060200180831161081b57829003601f168201915b5050505050905090565b600061084f3384846114e3565b5060015b92915050565b6000610866848484611607565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108f05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6108fd85338584036114e3565b506001949350505050565b6009546001600160a01b031633146109325760405162461bcd60e51b81526004016108e790611e52565b61094481670de0b6b3a7640000611e87565b60125550565b6001600160a01b03811660009081526006602090815260408083205491839052822054600554600160801b9261099c92610997926109919161098c91906114c4565b611663565b906116d1565b6116dd565b6108539190611df6565b6009546001600160a01b031633146109d05760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0381166000908152600f602052604090205460ff16156109f657600080fd5b6001600160a01b0381166000908152600f60205260408120805460ff19166001179055610a2490829061172f565b60405163131836e760e21b8152600a60048201526001600160a01b038216602482015273a268a890a8047871d71f93cecc9af0b35e32e6e190634c60db9c9060440160006040518083038186803b158015610a7e57600080fd5b505af4158015610a92573d6000803e3d6000fd5b50506040516001600160a01b03841692507fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b259150600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161084f918590610b04908690611ea6565b6114e3565b600080600080600080600080600a73a268a890a8047871d71f93cecc9af0b35e32e6e163deb3d89690916040518263ffffffff1660e01b8152600401610b5191815260200190565b602060405180830381865af4158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190611ebe565b8910610bb7575060009650600019955085945086935083925082915081905080610c52565b6040516368d54f3f60e11b8152600a6004820152602481018a905260009073a268a890a8047871d71f93cecc9af0b35e32e6e19063d1aa9e7e90604401602060405180830381865af4158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c359190611ed7565b9050610c408161123e565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152606560248201527f245a46475f4469766964656e645f547261636b65723a2077697468647261774460448201527f69766964656e642064697361626c65642e20557365207468652027636c61696d60648201527f272066756e6374696f6e206f6e20746865206d61696e20245a464720636f6e746084820152643930b1ba1760d91b60a482015260c4016108e7565b6009546001600160a01b03163314610d295760405162461bcd60e51b81526004016108e790611e52565b6107ae6000611794565b600061085382610de6565b6060600480546107bf90611e18565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610dcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108e7565b610ddc33858584036114e3565b5060019392505050565b6001600160a01b03811660009081526007602052604081205461085390610e0c8461094a565b906117e6565b600061084f338484611607565b6009546000906001600160a01b03163314610e4c5760405162461bcd60e51b81526004016108e790611e52565b6000610e57846117f2565b90508015610ec3576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610eb19085815260200190565b60405180910390a36001915050610853565b5060009392505050565b6009546001600160a01b03163314610ef75760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0382166000908152600f602052604090205460ff16611033576012548110610fa857610f2a828261172f565b604051632f0ad01760e21b8152600a60048201526001600160a01b03831660248201526044810182905273a268a890a8047871d71f93cecc9af0b35e32e6e19063bc2b405c9060640160006040518083038186803b158015610f8b57600080fd5b505af4158015610f9f573d6000803e3d6000fd5b50505050611026565b610fb382600061172f565b60405163131836e760e21b8152600a60048201526001600160a01b038316602482015273a268a890a8047871d71f93cecc9af0b35e32e6e190634c60db9c9060440160006040518083038186803b15801561100d57600080fd5b505af4158015611021573d6000803e3d6000fd5b505050505b611031826001610e1f565b505b5050565b6009546001600160a01b031633146110615760405162461bcd60e51b81526004016108e790611e52565b610e108110158015611076575062093a808111155b6110f95760405162461bcd60e51b815260206004820152604860248201527f245a46475f4469766964656e645f547261636b65723a20636c61696d5761697460448201527f206d757374206265207570646174656420746f206265747765656e203120616e606482015267642037206461797360c01b608482015260a4016108e7565b60115481036111705760405162461bcd60e51b815260206004820152603c60248201527f245a46475f4469766964656e645f547261636b65723a2043616e6e6f7420757060448201527f6461746520636c61696d5761697420746f2073616d652076616c75650000000060648201526084016108e7565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6009546001600160a01b031633146111cd5760405162461bcd60e51b81526004016108e790611e52565b6001600160a01b0381166112325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e7565b61123b81611794565b50565b6040516317e142d160e01b8152600a60048201526001600160a01b0382166024820152819060009081908190819081908190819073a268a890a8047871d71f93cecc9af0b35e32e6e1906317e142d190604401602060405180830381865af41580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d29190611ebe565b965060001995506000871261133457600e5487111561130057600e546112f9908890611938565b9550611334565b600e54600a5460009110611315576000611324565b600e54600a54611324916117e6565b905061133088826116d1565b9650505b61133d88610de6565b94506113488861094a565b6001600160a01b038916600090815260106020526040902054909450925082611372576000611380565b6011546113809084906114d7565b915042821161139057600061139a565b61139a82426117e6565b9050919395975091939597565b600a54600090819081908082036113c9575050600e54600092508291506114bd565b600e546000805a90506000805b89841080156113e457508582105b156114ac57846113f381611ef4565b600a549096508610905061140657600094505b6000600a600001868154811061141e5761141e611f0d565b60009182526020808320909101546001600160a01b0316808352601090915260409091205490915061144f90611944565b156114725761145f816001610e1f565b15611472578161146e81611ef4565b9250505b8261147c81611ef4565b93505060005a9050808511156114a3576114a061149986836117e6565b87906114d7565b95505b93506113d69050565b600e85905590975095509193505050505b9193909250565b60006114d08284611e87565b9392505050565b60006114d08284611ea6565b6001600160a01b0383166115455760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108e7565b6001600160a01b0382166115a65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108e7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602b60248201527f245a46475f4469766964656e645f547261636b65723a204e6f207472616e736660448201526a195c9cc8185b1b1bddd95960aa1b60648201526084016108e7565b60006001600160ff1b038211156116cd5760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b60648201526084016108e7565b5090565b60006114d08284611f23565b6000808212156116cd5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016108e7565b6001600160a01b0382166000908152602081905260409020548082111561176e57600061175c83836117e6565b9050611768848261196b565b50611031565b8082101561103157600061178282846117e6565b905061178e84826119cf565b50505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006114d08284611f64565b6000806117fe83610de6565b9050801561192f576001600160a01b03831660009081526007602052604090205461182990826114d7565b6001600160a01b038416600081815260076020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906118789084815260200190565b60405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d80600081146118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5050905080611928576001600160a01b03841660009081526007602052604090205461190390836117e6565b6001600160a01b03909416600090815260076020526040812094909455509192915050565b5092915050565b50600092915050565b60006114d08284611f7b565b60004282111561195657506000919050565b60115461196342846117e6565b101592915050565b6119758282611a13565b6119af61199061098c836005546114c490919063ffffffff16565b6001600160a01b03841660009081526006602052604090205490611938565b6001600160a01b0390921660009081526006602052604090209190915550565b6119d98282611b06565b6119af6119f461098c836005546114c490919063ffffffff16565b6001600160a01b038416600090815260066020526040902054906116d1565b6001600160a01b038216611a695760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108e7565b611a7560008383611031565b8060026000828254611a879190611ea6565b90915550506001600160a01b03821660009081526020819052604081208054839290611ab4908490611ea6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361103360008383611031565b6001600160a01b038216611b665760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108e7565b611b7282600083611031565b6001600160a01b03821660009081526020819052604090205481811015611be65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108e7565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c15908490611f64565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361103183600084611031565b600060208083528351808285015260005b81811015611c9457858101830151858201604001528201611c78565b81811115611ca6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461123b57600080fd5b60008060408385031215611ce457600080fd5b8235611cef81611cbc565b946020939093013593505050565b600060208284031215611d0f57600080fd5b81356114d081611cbc565b600080600060608486031215611d2f57600080fd5b8335611d3a81611cbc565b92506020840135611d4a81611cbc565b929592945050506040919091013590565b600060208284031215611d6d57600080fd5b5035919050565b60008060408385031215611d8757600080fd5b8235611d9281611cbc565b915060208301358015158114611da757600080fd5b809150509250929050565b60008060408385031215611dc557600080fd5b8235611dd081611cbc565b91506020830135611da781611cbc565b634e487b7160e01b600052601160045260246000fd5b600082611e1357634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680611e2c57607f821691505b602082108103611e4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000816000190483118215151615611ea157611ea1611de0565b500290565b60008219821115611eb957611eb9611de0565b500190565b600060208284031215611ed057600080fd5b5051919050565b600060208284031215611ee957600080fd5b81516114d081611cbc565b600060018201611f0657611f06611de0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600080821280156001600160ff1b0384900385131615611f4557611f45611de0565b600160ff1b8390038412811615611f5e57611f5e611de0565b50500190565b600082821015611f7657611f76611de0565b500390565b60008083128015600160ff1b850184121615611f9957611f99611de0565b6001600160ff1b0384018313811615611fb457611fb4611de0565b5050039056fea2646970667358221220c6231f1706697671ad02297216150950459b646eb3d06d55c50c61681494c30664736f6c634300080e0033
Deployed Bytecode Sourcemap
53332:6789:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47095:21;:19;:21::i;:::-;53332:6789;;;;;47971:393;;;:::i;28051:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30218:169;;;;;;;;;;-1:-1:-1;30218:169:0;;;;;:::i;:::-;;:::i;:::-;;;1237:14:1;;1230:22;1212:41;;1200:2;1185:18;30218:169:0;1072:187:1;55600:119:0;;;;;;;;;;-1:-1:-1;55684:15:0;:27;55600:119;;;1410:25:1;;;1398:2;1383:18;55600:119:0;1264:177:1;29171:108:0;;;;;;;;;;-1:-1:-1;29259:12:0;;29171:108;;53680:50;;;;;;;;;;-1:-1:-1;53680:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;30869:492;;;;;;;;;;-1:-1:-1;30869:492:0;;;;;:::i;:::-;;:::i;54913:140::-;;;;;;;;;;-1:-1:-1;54913:140:0;;;;;:::i;:::-;;:::i;50935:239::-;;;;;;;;;;-1:-1:-1;50935:239:0;;;;;:::i;:::-;;:::i;53575:33::-;;;;;;;;;;;;;;;;29013:93;;;;;;;;;;-1:-1:-1;29013:93:0;;29096:2;2486:36:1;;2474:2;2459:18;29013:93:0;2344:184:1;54622:283:0;;;;;;;;;;-1:-1:-1;54622:283:0;;;;;:::i;:::-;;:::i;31770:215::-;;;;;;;;;;-1:-1:-1;31770:215:0;;;;;:::i;:::-;;:::i;53617:54::-;;;;;;;;;;-1:-1:-1;53617:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;57409:505;;;;;;;;;;-1:-1:-1;57409:505:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;2890:32:1;;;2872:51;;2954:2;2939:18;;2932:34;;;;2982:18;;;2975:34;;;;3040:2;3025:18;;3018:34;;;;3083:3;3068:19;;3061:35;2910:3;3112:19;;3105:35;3171:3;3156:19;;3149:35;3215:3;3200:19;;3193:35;2859:3;2844:19;57409:505:0;2533:701:1;54427:187:0;;;;;;;;;;;;;:::i;53739:24::-;;;;;;;;;;;;;;;;29342:127;;;;;;;;;;-1:-1:-1;29342:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;29443:18:0;29416:7;29443:18;;;;;;;;;;;;29342:127;39573:94;;;;;;;;;;;;;:::i;46847:40::-;;;;;;;;;;;;;;;;38922:87;;;;;;;;;;-1:-1:-1;38995:6:0;;38922:87;;-1:-1:-1;;;;;38995:6:0;;;3385:51:1;;3373:2;3358:18;38922:87:0;3239:203:1;49649:124:0;;;;;;;;;;-1:-1:-1;49649:124:0;;;;;:::i;:::-;;:::i;28270:104::-;;;;;;;;;;;;;:::i;32488:413::-;;;;;;;;;;-1:-1:-1;32488:413:0;;;;;:::i;:::-;;:::i;49984:168::-;;;;;;;;;;-1:-1:-1;49984:168:0;;;;;:::i;:::-;;:::i;29682:175::-;;;;;;;;;;-1:-1:-1;29682:175:0;;;;;:::i;:::-;;:::i;50365:129::-;;;;;;;;;;-1:-1:-1;50365:129:0;;;;;:::i;:::-;-1:-1:-1;;;;;50462:26:0;50439:7;50462:26;;;:18;:26;;;;;;;50365:129;59775:343;;;;;;;;;;-1:-1:-1;59775:343:0;;;;;:::i;:::-;;:::i;53770:47::-;;;;;;;;;;;;;;;;29920:151;;;;;;;;;;-1:-1:-1;29920:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;30036:18:0;;;30009:7;30036:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;29920:151;58149:460;;;;;;;;;;-1:-1:-1;58149:460:0;;;;;:::i;:::-;;:::i;55487:105::-;;;;;;;;;;-1:-1:-1;55566:18:0;;55487:105;;55061:418;;;;;;;;;;-1:-1:-1;55061:418:0;;;;;:::i;:::-;;:::i;39822:192::-;;;;;;;;;;-1:-1:-1;39822:192:0;;;;;:::i;:::-;;:::i;55731:1670::-;;;;;;;;;;-1:-1:-1;55731:1670:0;;;;;:::i;:::-;;:::i;58617:1150::-;;;;;;;;;;-1:-1:-1;58617:1150:0;;;;;:::i;:::-;;:::i;:::-;;;;4799:25:1;;;4855:2;4840:18;;4833:34;;;;4883:18;;;4876:34;4787:2;4772:18;58617:1150:0;4597:319:1;47971:393:0;48057:1;48041:13;29259:12;;;29171:108;48041:13;:17;48033:26;;;;;;48072:9;:13;48068:291;;48124:91;48193:13;29259:12;;;29171:108;48193:13;48164:26;48165:9;-1:-1:-1;;;48164:15:0;:26::i;:::-;:42;;;;:::i;:::-;48124:25;;;:29;:91::i;:::-;48096:25;:119;48229:43;;48262:9;1410:25:1;;48250:10:0;;48229:43;;1398:2:1;1383:18;48229:43:0;;;;;;;48311:25;;:40;;48341:9;48311:29;:40::i;:::-;48283:25;:68;48068:291;47971:393::o;28051:100::-;28105:13;28138:5;28131:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28051:100;:::o;30218:169::-;30301:4;30318:39;22657:10;30341:7;30350:6;30318:8;:39::i;:::-;-1:-1:-1;30375:4:0;30218:169;;;;;:::o;30869:492::-;31009:4;31026:36;31036:6;31044:9;31055:6;31026:9;:36::i;:::-;-1:-1:-1;;;;;31102:19:0;;31075:24;31102:19;;;:11;:19;;;;;;;;22657:10;31102:33;;;;;;;;31154:26;;;;31146:79;;;;-1:-1:-1;;;31146:79:0;;5862:2:1;31146:79:0;;;5844:21:1;5901:2;5881:18;;;5874:30;5940:34;5920:18;;;5913:62;-1:-1:-1;;;5991:18:1;;;5984:38;6039:19;;31146:79:0;;;;;;;;;31261:57;31270:6;22657:10;31311:6;31292:16;:25;31261:8;:57::i;:::-;-1:-1:-1;31349:4:0;;30869:492;-1:-1:-1;;;;30869:492:0:o;54913:140::-;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;55028:17:::1;:7:::0;55038:6:::1;55028:17;:::i;:::-;54994:31;:51:::0;-1:-1:-1;54913:140:0:o;50935:239::-;-1:-1:-1;;;;;51107:36:0;;51012:7;51107:36;;;:28;:36;;;;;;;;;29443:18;;;;;;;51035:25;;-1:-1:-1;;;45753:6:0;51035:121;;:109;;:59;;:48;;:25;:29;:48::i;:::-;:57;:59::i;:::-;:71;;:109::i;:::-;:119;:121::i;:::-;:133;;;;:::i;54622:283::-;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54705:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;54704:31;54696:40;;;::::0;::::1;;-1:-1:-1::0;;;;;54744:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:37;;-1:-1:-1;;54744:37:0::1;54777:4;54744:37;::::0;;54791:23:::1;::::0;54766:7;;54791:11:::1;:23::i;:::-;54822:31;::::0;-1:-1:-1;;;54822:31:0;;:15:::1;:31;::::0;::::1;6807:25:1::0;-1:-1:-1;;;;;6868:32:1;;6848:18;;;6841:60;54822:22:0::1;::::0;::::1;::::0;6780:18:1;;54822:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;54868:29:0::1;::::0;-1:-1:-1;;;;;54868:29:0;::::1;::::0;-1:-1:-1;54868:29:0::1;::::0;-1:-1:-1;54868:29:0;;::::1;54622:283:::0;:::o;31770:215::-;22657:10;31858:4;31907:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;31907:34:0;;;;;;;;;;31858:4;;31875:80;;31898:7;;31907:47;;31944:10;;31907:47;:::i;:::-;31875:8;:80::i;57409:505::-;57495:7;57517:6;57538;57559:7;57581;57603;57625;57647;57676:15;:20;;;;:22;;;;;;;;;;;;;1410:25:1;;1398:2;1383:18;;1264:177;57676:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57667:5;:31;57664:137;;-1:-1:-1;57723:42:0;;-1:-1:-1;;;57767:2:0;-1:-1:-1;57767:2:0;;-1:-1:-1;57723:42:0;;-1:-1:-1;57723:42:0;;-1:-1:-1;57723:42:0;;-1:-1:-1;57723:42:0;;-1:-1:-1;57723:42:0;57715:74;;57664:137;57831:36;;-1:-1:-1;;;57831:36:0;;:15;:36;;;7650:25:1;7691:18;;;7684:34;;;57813:15:0;;57831:29;;;;7623:18:1;;57831:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57813:54;;57887:19;57898:7;57887:10;:19::i;:::-;57880:26;;;;;;;;;;;;;;;;;57409:505;;;;;;;;;;:::o;54427:187::-;54487:119;;-1:-1:-1;;;54487:119:0;;8187:2:1;54487:119:0;;;8169:21:1;8226:3;8206:18;;;8199:31;8266:34;8246:18;;;8239:62;8337:34;8317:18;;;8310:62;8409:34;8388:19;;;8381:63;-1:-1:-1;;;8460:19:1;;;8453:36;8506:19;;54487:119:0;7985:546:1;39573:94:0;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;39638:21:::1;39656:1;39638:9;:21::i;49649:124::-:0;49714:7;49737:30;49760:6;49737:22;:30::i;28270:104::-;28326:13;28359:7;28352:14;;;;;:::i;32488:413::-;22657:10;32581:4;32625:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;32625:34:0;;;;;;;;;;32678:35;;;;32670:85;;;;-1:-1:-1;;;32670:85:0;;8738:2:1;32670:85:0;;;8720:21:1;8777:2;8757:18;;;8750:30;8816:34;8796:18;;;8789:62;-1:-1:-1;;;8867:18:1;;;8860:35;8912:19;;32670:85:0;8536:401:1;32670:85:0;32791:67;22657:10;32814:7;32842:15;32823:16;:34;32791:8;:67::i;:::-;-1:-1:-1;32889:4:0;;32488:413;-1:-1:-1;;;32488:413:0:o;49984:168::-;-1:-1:-1;;;;;50119:26:0;;50061:7;50119:26;;;:18;:26;;;;;;50084:62;;:30;50138:6;50084:22;:30::i;:::-;:34;;:62::i;29682:175::-;29768:4;29785:42;22657:10;29809:9;29820:6;29785:9;:42::i;59775:343::-;38995:6;;59866:4;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;59883:14:::1;59900:32;59924:7;59900:23;:32::i;:::-;59883:49:::0;-1:-1:-1;59945:10:0;;59942:147:::1;;-1:-1:-1::0;;;;;59966:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;59992:15:::1;59966:41:::0;;60027:33;;::::1;;::::0;59966:23;60027:33:::1;::::0;::::1;::::0;60042:6;1410:25:1;;1398:2;1383:18;;1264:177;60027:33:0::1;;;;;;;;60076:4;60069:11;;;;;59942:147;-1:-1:-1::0;60105:5:0::1;::::0;59775:343;-1:-1:-1;;;59775:343:0:o;58149:460::-;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58244:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;58285:7;58241:59;58326:31;;58312:10;:45;58309:254;;58374:32;58386:7;58395:10;58374:11;:32::i;:::-;58415:40;::::0;-1:-1:-1;;;58415:40:0;;:15:::1;:40;::::0;::::1;9182:25:1::0;-1:-1:-1;;;;;9243:32:1;;9223:18;;;9216:60;9292:18;;;9285:34;;;58415:19:0::1;::::0;::::1;::::0;9155:18:1;;58415:40:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58309:254;;;58491:23;58503:7;58512:1;58491:11;:23::i;:::-;58523:31;::::0;-1:-1:-1;;;58523:31:0;;:15:::1;:31;::::0;::::1;6807:25:1::0;-1:-1:-1;;;;;6868:32:1;;6848:18;;;6841:60;58523:22:0::1;::::0;::::1;::::0;6780:18:1;;58523:31:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58309:254;58572:29;58587:7;58596:4;58572:14;:29::i;:::-;;39213:1;58149:460:::0;;:::o;55061:418::-;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;55162:4:::1;55146:12;:20;;:46;;;;;55186:6;55170:12;:22;;55146:46;55138:131;;;::::0;-1:-1:-1;;;55138:131:0;;9849:2:1;55138:131:0::1;::::0;::::1;9831:21:1::0;9888:2;9868:18;;;9861:30;9927:34;9907:18;;;9900:62;9998:34;9978:18;;;9971:62;-1:-1:-1;;;10049:19:1;;;10042:39;10098:19;;55138:131:0::1;9647:476:1::0;55138:131:0::1;55305:9;;55289:12;:25:::0;55281:98:::1;;;::::0;-1:-1:-1;;;55281:98:0;;10330:2:1;55281:98:0::1;::::0;::::1;10312:21:1::0;10369:2;10349:18;;;10342:30;10408:34;10388:18;;;10381:62;10479:30;10459:18;;;10452:58;10527:19;;55281:98:0::1;10128:424:1::0;55281:98:0::1;55426:9;::::0;55395:41:::1;::::0;55412:12;;55395:41:::1;::::0;;;::::1;55447:9;:24:::0;55061:418::o;39822:192::-;38995:6;;-1:-1:-1;;;;;38995:6:0;22657:10;39142:23;39134:68;;;;-1:-1:-1;;;39134:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39911:22:0;::::1;39903:73;;;::::0;-1:-1:-1;;;39903:73:0;;10759:2:1;39903:73:0::1;::::0;::::1;10741:21:1::0;10798:2;10778:18;;;10771:30;10837:34;10817:18;;;10810:62;-1:-1:-1;;;10888:18:1;;;10881:36;10934:19;;39903:73:0::1;10557:402:1::0;39903:73:0::1;39987:19;39997:8;39987:9;:19::i;:::-;39822:192:::0;:::o;55731:1670::-;56159:38;;-1:-1:-1;;;56159:38:0;;:15;:38;;;6807:25:1;-1:-1:-1;;;;;6868:32:1;;6848:18;;;6841:60;56130:8:0;;55813:15;;;;;;;;;;;;;;56159:29;;;;6780:18:1;;56159:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56151:46;;-1:-1:-1;;56210:29:0;;56264:1;56255:5;:10;56252:582;;56302:18;;56293:5;56285:35;56282:541;;;56385:18;;56368:37;;:5;;:9;:37::i;:::-;56341:64;;56282:541;;;56524:18;;56494:15;:27;56459:32;;-1:-1:-1;56494:220:0;;56713:1;56494:220;;;56634:18;;56602:15;:27;:51;;:31;:51::i;:::-;56459:255;-1:-1:-1;56764:43:0;:5;56459:255;56764:9;:43::i;:::-;56737:70;;56440:383;56282:541;56872:31;56895:7;56872:22;:31::i;:::-;56848:55;;56931:31;56954:7;56931:22;:31::i;:::-;-1:-1:-1;;;;;56991:23:0;;;;;;:14;:23;;;;;;56914:48;;-1:-1:-1;56991:23:0;-1:-1:-1;57043:17:0;:126;;57168:1;57043:126;;;57118:9;;57100:28;;:13;;:17;:28::i;:::-;57027:142;;57231:15;57215:13;:31;:178;;57392:1;57215:178;;;57302:34;:13;57320:15;57302:17;:34::i;:::-;57182:211;;55731:1670;;;;;;;;;:::o;58617:1150::-;58729:15;:27;58663:7;;;;;;58769:25;;;58766:81;;-1:-1:-1;;58819:18:0;;58813:1;;-1:-1:-1;58813:1:0;;-1:-1:-1;58805:33:0;;58766:81;58886:18;;58856:27;;58961:9;58943:27;;58980:18;59010:14;59038:615;59054:3;59044:7;:13;:50;;;;;59074:20;59061:10;:33;59044:50;59038:615;;;59105:21;;;;:::i;:::-;59163:15;:27;59105:21;;-1:-1:-1;59140:50:0;;;-1:-1:-1;59137:98:0;;59224:1;59202:23;;59137:98;59245:15;59263;:20;;59284:19;59263:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;59263:41:0;59331:23;;;:14;:23;;;;;;;;59263:41;;-1:-1:-1;59318:37:0;;:12;:37::i;:::-;59315:134;;;59370:38;59393:7;59403:4;59370:14;:38::i;:::-;59367:73;;;59421:8;;;;:::i;:::-;;;;59367:73;59459:12;;;;:::i;:::-;;;;59482:18;59503:9;59482:30;;59536:10;59526:7;:20;59523:91;;;59568:36;59580:23;:7;59592:10;59580:11;:23::i;:::-;59568:7;;:11;:36::i;:::-;59558:46;;59523:91;59634:10;-1:-1:-1;59038:615:0;;-1:-1:-1;59038:615:0;;59662:18;:40;;;59720:10;;-1:-1:-1;59732:6:0;-1:-1:-1;59683:19:0;;-1:-1:-1;;;;58617:1150:0;;;;;;:::o;10672:98::-;10730:7;10757:5;10761:1;10757;:5;:::i;:::-;10750:12;10672:98;-1:-1:-1;;;10672:98:0:o;9934:::-;9992:7;10019:5;10023:1;10019;:5;:::i;36172:380::-;-1:-1:-1;;;;;36308:19:0;;36300:68;;;;-1:-1:-1;;;36300:68:0;;11626:2:1;36300:68:0;;;11608:21:1;11665:2;11645:18;;;11638:30;11704:34;11684:18;;;11677:62;-1:-1:-1;;;11755:18:1;;;11748:34;11799:19;;36300:68:0;11424:400:1;36300:68:0;-1:-1:-1;;;;;36387:21:0;;36379:68;;;;-1:-1:-1;;;36379:68:0;;12031:2:1;36379:68:0;;;12013:21:1;12070:2;12050:18;;;12043:30;12109:34;12089:18;;;12082:62;-1:-1:-1;;;12160:18:1;;;12153:32;12202:19;;36379:68:0;11829:398:1;36379:68:0;-1:-1:-1;;;;;36460:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;36512:32;;1410:25:1;;;36512:32:0;;1383:18:1;36512:32:0;;;;;;;36172:380;;;:::o;54270:149::-;54350:61;;-1:-1:-1;;;54350:61:0;;12434:2:1;54350:61:0;;;12416:21:1;12473:2;12453:18;;;12446:30;12512:34;12492:18;;;12485:62;-1:-1:-1;;;12563:18:1;;;12556:41;12614:19;;54350:61:0;12232:407:1;21730:301:0;21786:6;-1:-1:-1;;;;;21913:5:0;:34;;21905:87;;;;-1:-1:-1;;;21905:87:0;;12846:2:1;21905:87:0;;;12828:21:1;12885:2;12865:18;;;12858:30;12924:34;12904:18;;;12897:62;-1:-1:-1;;;12975:18:1;;;12968:38;13023:19;;21905:87:0;12644:404:1;21905:87:0;-1:-1:-1;22017:5:0;21730:301::o;7131:95::-;7187:6;7213:5;7217:1;7213;:5;:::i;18453:171::-;18509:7;18546:1;18537:5;:10;;18529:55;;;;-1:-1:-1;;;18529:55:0;;13525:2:1;18529:55:0;;;13507:21:1;;;13544:18;;;13537:30;13603:34;13583:18;;;13576:62;13655:18;;18529:55:0;13323:356:1;52920:407:0;-1:-1:-1;;;;;29443:18:0;;52994:22;29443:18;;;;;;;;;;;53049:27;;;53046:276;;;53087:18;53108:30;:10;53123:14;53108;:30::i;:::-;53087:51;;53147:26;53153:7;53162:10;53147:5;:26::i;:::-;53078:103;53046:276;;;53203:14;53190:10;:27;53187:135;;;53228:18;53249:30;:14;53268:10;53249:18;:30::i;:::-;53228:51;;53288:26;53294:7;53303:10;53288:5;:26::i;:::-;53219:103;52987:340;52920:407;;:::o;40022:173::-;40097:6;;;-1:-1:-1;;;;;40114:17:0;;;-1:-1:-1;;;;;;40114:17:0;;;;;;;40147:40;;40097:6;;;40114:17;40097:6;;40147:40;;40078:16;;40147:40;40067:128;40022:173;:::o;10315:98::-;10373:7;10400:5;10404:1;10400;:5;:::i;48811:625::-;48884:7;48900:29;48932:28;48955:4;48932:22;:28::i;:::-;48900:60;-1:-1:-1;48971:25:0;;48967:447;;-1:-1:-1;;;;;49034:24:0;;;;;;:18;:24;;;;;;:51;;49063:21;49034:28;:51::i;:::-;-1:-1:-1;;;;;49007:24:0;;;;;;:18;:24;;;;;;;:78;;;;49099:46;;;;;;49123:21;1410:25:1;;1398:2;1383:18;;1264:177;49099:46:0;;;;;;;;49155:12;49172:4;-1:-1:-1;;;;;49172:9:0;49189:21;49217:4;49172:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49154:72;;;49241:7;49237:131;;-1:-1:-1;;;;;49288:24:0;;;;;;:18;:24;;;;;;:51;;49317:21;49288:28;:51::i;:::-;-1:-1:-1;;;;;49261:24:0;;;;;;;:18;:24;;;;;:78;;;;-1:-1:-1;49261:24:0;;48811:625;-1:-1:-1;;48811:625:0:o;49237:131::-;-1:-1:-1;49385:21:0;48811:625;-1:-1:-1;;48811:625:0:o;48967:447::-;-1:-1:-1;49429:1:0;;48811:625;-1:-1:-1;;48811:625:0:o;6791:95::-;6847:6;6873:5;6877:1;6873;:5;:::i;57922:219::-;57989:4;58022:15;58006:13;:31;58003:67;;;-1:-1:-1;58056:5:0;;57922:219;-1:-1:-1;57922:219:0:o;58003:67::-;58124:9;;58086:34;:15;58106:13;58086:19;:34::i;:::-;:47;;;57922:219;-1:-1:-1;;57922:219:0:o;52127:256::-;52199:27;52211:7;52220:5;52199:11;:27::i;:::-;52275:102;52326:49;52327:36;52357:5;52327:25;;:29;;:36;;;;:::i;52326:49::-;-1:-1:-1;;;;;52275:37:0;;;;;;:28;:37;;;;;;;:49;:102::i;:::-;-1:-1:-1;;;;;52235:37:0;;;;;;;:28;:37;;;;;:142;;;;-1:-1:-1;52127:256:0:o;52658:::-;52730:27;52742:7;52751:5;52730:11;:27::i;:::-;52806:102;52857:49;52858:36;52888:5;52858:25;;:29;;:36;;;;:::i;52857:49::-;-1:-1:-1;;;;;52806:37:0;;;;;;:28;:37;;;;;;;:49;:102::i;34411:399::-;-1:-1:-1;;;;;34495:21:0;;34487:65;;;;-1:-1:-1;;;34487:65:0;;14498:2:1;34487:65:0;;;14480:21:1;14537:2;14517:18;;;14510:30;14576:33;14556:18;;;14549:61;14627:18;;34487:65:0;14296:355:1;34487:65:0;34565:49;34594:1;34598:7;34607:6;34565:20;:49::i;:::-;34643:6;34627:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;34660:18:0;;:9;:18;;;;;;;;;;:28;;34682:6;;34660:9;:28;;34682:6;;34660:28;:::i;:::-;;;;-1:-1:-1;;34704:37:0;;1410:25:1;;;-1:-1:-1;;;;;34704:37:0;;;34721:1;;34704:37;;1398:2:1;1383:18;34704:37:0;;;;;;;34754:48;34782:1;34786:7;34795:6;34754:19;:48::i;35143:591::-;-1:-1:-1;;;;;35227:21:0;;35219:67;;;;-1:-1:-1;;;35219:67:0;;14858:2:1;35219:67:0;;;14840:21:1;14897:2;14877:18;;;14870:30;14936:34;14916:18;;;14909:62;-1:-1:-1;;;14987:18:1;;;14980:31;15028:19;;35219:67:0;14656:397:1;35219:67:0;35299:49;35320:7;35337:1;35341:6;35299:20;:49::i;:::-;-1:-1:-1;;;;;35386:18:0;;35361:22;35386:18;;;;;;;;;;;35423:24;;;;35415:71;;;;-1:-1:-1;;;35415:71:0;;15260:2:1;35415:71:0;;;15242:21:1;15299:2;15279:18;;;15272:30;15338:34;15318:18;;;15311:62;-1:-1:-1;;;15389:18:1;;;15382:32;15431:19;;35415:71:0;15058:398:1;35415:71:0;-1:-1:-1;;;;;35522:18:0;;:9;:18;;;;;;;;;;35543:23;;;35522:44;;35588:12;:22;;35560:6;;35522:9;35588:22;;35560:6;;35588:22;:::i;:::-;;;;-1:-1:-1;;35628:37:0;;1410:25:1;;;35654:1:0;;-1:-1:-1;;;;;35628:37:0;;;;;1398:2:1;1383:18;35628:37:0;;;;;;;35678:48;35698:7;35715:1;35719:6;35678:19;:48::i;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:131::-;-1:-1:-1;;;;;691:31:1;;681:42;;671:70;;737:1;734;727:12;752:315;820:6;828;881:2;869:9;860:7;856:23;852:32;849:52;;;897:1;894;887:12;849:52;936:9;923:23;955:31;980:5;955:31;:::i;:::-;1005:5;1057:2;1042:18;;;;1029:32;;-1:-1:-1;;;752:315:1:o;1446:247::-;1505:6;1558:2;1546:9;1537:7;1533:23;1529:32;1526:52;;;1574:1;1571;1564:12;1526:52;1613:9;1600:23;1632:31;1657:5;1632:31;:::i;1698:456::-;1775:6;1783;1791;1844:2;1832:9;1823:7;1819:23;1815:32;1812:52;;;1860:1;1857;1850:12;1812:52;1899:9;1886:23;1918:31;1943:5;1918:31;:::i;:::-;1968:5;-1:-1:-1;2025:2:1;2010:18;;1997:32;2038:33;1997:32;2038:33;:::i;:::-;1698:456;;2090:7;;-1:-1:-1;;;2144:2:1;2129:18;;;;2116:32;;1698:456::o;2159:180::-;2218:6;2271:2;2259:9;2250:7;2246:23;2242:32;2239:52;;;2287:1;2284;2277:12;2239:52;-1:-1:-1;2310:23:1;;2159:180;-1:-1:-1;2159:180:1:o;3447:424::-;3520:6;3528;3581:2;3569:9;3560:7;3556:23;3552:32;3549:52;;;3597:1;3594;3587:12;3549:52;3636:9;3623:23;3655:31;3680:5;3655:31;:::i;:::-;3705:5;-1:-1:-1;3762:2:1;3747:18;;3734:32;3804:15;;3797:23;3785:36;;3775:64;;3835:1;3832;3825:12;3775:64;3858:7;3848:17;;;3447:424;;;;;:::o;3876:388::-;3944:6;3952;4005:2;3993:9;3984:7;3980:23;3976:32;3973:52;;;4021:1;4018;4011:12;3973:52;4060:9;4047:23;4079:31;4104:5;4079:31;:::i;:::-;4129:5;-1:-1:-1;4186:2:1;4171:18;;4158:32;4199:33;4158:32;4199:33;:::i;4921:127::-;4982:10;4977:3;4973:20;4970:1;4963:31;5013:4;5010:1;5003:15;5037:4;5034:1;5027:15;5053:217;5093:1;5119;5109:132;;5163:10;5158:3;5154:20;5151:1;5144:31;5198:4;5195:1;5188:15;5226:4;5223:1;5216:15;5109:132;-1:-1:-1;5255:9:1;;5053:217::o;5275:380::-;5354:1;5350:12;;;;5397;;;5418:61;;5472:4;5464:6;5460:17;5450:27;;5418:61;5525:2;5517:6;5514:14;5494:18;5491:38;5488:161;;5571:10;5566:3;5562:20;5559:1;5552:31;5606:4;5603:1;5596:15;5634:4;5631:1;5624:15;5488:161;;5275:380;;;:::o;6069:356::-;6271:2;6253:21;;;6290:18;;;6283:30;6349:34;6344:2;6329:18;;6322:62;6416:2;6401:18;;6069:356::o;6430:168::-;6470:7;6536:1;6532;6528:6;6524:14;6521:1;6518:21;6513:1;6506:9;6499:17;6495:45;6492:71;;;6543:18;;:::i;:::-;-1:-1:-1;6583:9:1;;6430:168::o;6912:128::-;6952:3;6983:1;6979:6;6976:1;6973:13;6970:39;;;6989:18;;:::i;:::-;-1:-1:-1;7025:9:1;;6912:128::o;7257:184::-;7327:6;7380:2;7368:9;7359:7;7355:23;7351:32;7348:52;;;7396:1;7393;7386:12;7348:52;-1:-1:-1;7419:16:1;;7257:184;-1:-1:-1;7257:184:1:o;7729:251::-;7799:6;7852:2;7840:9;7831:7;7827:23;7823:32;7820:52;;;7868:1;7865;7858:12;7820:52;7900:9;7894:16;7919:31;7944:5;7919:31;:::i;11152:135::-;11191:3;11212:17;;;11209:43;;11232:18;;:::i;:::-;-1:-1:-1;11279:1:1;11268:13;;11152:135::o;11292:127::-;11353:10;11348:3;11344:20;11341:1;11334:31;11384:4;11381:1;11374:15;11408:4;11405:1;11398:15;13053:265;13092:3;13120:9;;;13145:10;;-1:-1:-1;;;;;13164:27:1;;;13157:35;;13141:52;13138:78;;;13196:18;;:::i;:::-;-1:-1:-1;;;13243:19:1;;;13236:27;;13228:36;;13225:62;;;13267:18;;:::i;:::-;-1:-1:-1;;13303:9:1;;13053:265::o;13684:125::-;13724:4;13752:1;13749;13746:8;13743:34;;;13757:18;;:::i;:::-;-1:-1:-1;13794:9:1;;13684:125::o;14024:267::-;14063:4;14092:9;;;14117:10;;-1:-1:-1;;;14136:19:1;;14129:27;;14113:44;14110:70;;;14160:18;;:::i;:::-;-1:-1:-1;;;;;14207:27:1;;14200:35;;14192:44;;14189:70;;;14239:18;;:::i;:::-;-1:-1:-1;;14276:9:1;;14024:267::o
Swarm Source
ipfs://c6231f1706697671ad02297216150950459b646eb3d06d55c50c61681494c306
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.