ETH Price: $3,359.45 (-1.81%)

Token

Niza (Niza)
 

Overview

Max Total Supply

10,000,000,000 Niza

Holders

1,509

Market

Price

$0.00 @ 0.000000 ETH (-2.97%)

Onchain Market Cap

$924,600.00

Circulating Supply Market Cap

$709,791.00

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
Uniswap V2: Niza
Balance
291,611,590.970559787 Niza

Value
$26,962.41 ( ~8.0258 Eth) [2.9161%]
0x6acb4250fF8C65F0ba95b3001b920370740bE940
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Niza Coin is a blockchain Ethereum (ERC20) token, is the native digital currency of our ecosystem. It facilitates transactions within the Niza Global platform and serves as a channel of exchange, unit of account, and store of value.

Market

Volume (24H):$1,290,470.00
Market Capitalization:$709,791.00
Circulating Supply:7,667,921,804.00 Niza
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Niza

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-02
*/

// SPDX-License-Identifier: MIT

  pragma solidity ^0.8.2;
  
  
  abstract contract Context {
      function _msgSender() internal view virtual returns (address payable) {
          return payable(msg.sender);
      }
  
      function _msgData() internal view virtual returns (bytes memory) {
          this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
          return msg.data;
      }
  }
  
  /**
   * @dev Interface of the BEP20 standard as defined in the EIP.
   */
  interface IBEP20 {
      /**
       * @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 Wrappers over Solidity's arithmetic operations with added overflow
   * checks.
   *
   * Arithmetic operations in Solidity wrap on overflow. This can easily result
   * in bugs, because programmers usually assume that an overflow raises an
   * error, which is the standard behavior in high level programming languages.
   * 'SafeMath' restores this intuition by reverting the transaction when 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.
   */
  library SafeMath {
      /**
       * @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) {
          uint256 c = a + b;
          require(c >= a, "SafeMath: addition overflow");
  
          return c;
      }
  
      /**
       * @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 sub(a, b, "SafeMath: subtraction overflow");
      }
  
      /**
       * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
       * overflow (when the result is negative).
       *
       * Counterpart to Solidity's '-' operator.
       *
       * Requirements:
       *
       * - Subtraction cannot overflow.
       */
      function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
          require(b <= a, errorMessage);
          uint256 c = a - b;
  
          return c;
      }
  
      /**
       * @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) {
          // 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 0;
          }
  
          uint256 c = a * b;
          require(c / a == b, "SafeMath: multiplication overflow");
  
          return c;
      }
  
      /**
       * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
          return div(a, b, "SafeMath: division by zero");
      }
  
      /**
       * @dev Returns the integer division of two unsigned integers. Reverts 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) {
          require(b > 0, errorMessage);
          uint256 c = a / b;
          // assert(a == b * c + a % b); // There is no case in which this doesn't hold
  
          return c;
      }
  
      /**
       * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
       * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
      }
  
      /**
       * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
       * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
          require(b != 0, errorMessage);
          return a % b;
      }
  }
  
  /**
   * @dev Collection of functions related to the address type
   */
  library Address {
      /**
       * @dev Returns true if 'account' is a contract.
       *
       * [IMPORTANT]
       * ====
       * It is unsafe to assume that an address for which this function returns
       * false is an externally-owned account (EOA) and not a contract.
       *
       * Among others, 'isContract' will return false for the following
       * types of addresses:
       *
       *  - an externally-owned account
       *  - a contract in construction
       *  - an address where a contract will be created
       *  - an address where a contract lived, but was destroyed
       * ====
       */
      function isContract(address account) internal view returns (bool) {
          // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
          // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
          // for accounts without code, i.e. 'keccak256('')'
          bytes32 codehash;
          bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
          // solhint-disable-next-line no-inline-assembly
          assembly { codehash := extcodehash(account) }
          return (codehash != accountHash && codehash != 0x0);
      }
  
      /**
       * @dev Replacement for Solidity's 'transfer': sends 'amount' wei to
       * 'recipient', forwarding all available gas and reverting on errors.
       *
       * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
       * of certain opcodes, possibly making contracts go over the 2300 gas limit
       * imposed by 'transfer', making them unable to receive funds via
       * 'transfer'. {sendValue} removes this limitation.
       *
       * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
       *
       * IMPORTANT: because control is transferred to 'recipient', care must be
       * taken to not create reentrancy vulnerabilities. Consider using
       * {ReentrancyGuard} or the
       * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
       */
      function sendValue(address payable recipient, uint256 amount) internal {
          require(address(this).balance >= amount, "Address: insufficient balance");
  
          // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
          (bool success, ) = recipient.call{ value: amount }("");
          require(success, "Address: unable to send value, recipient may have reverted");
      }
  
      /**
       * @dev Performs a Solidity function call using a low level 'call'. A
       * plain'call' is an unsafe replacement for a function call: use this
       * function instead.
       *
       * If 'target' reverts with a revert reason, it is bubbled up by this
       * function (like regular Solidity function calls).
       *
       * Returns the raw returned data. To convert to the expected return value,
       * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions['abi.decode'].
       *
       * Requirements:
       *
       * - 'target' must be a contract.
       * - calling 'target' with 'data' must not revert.
       *
       * _Available since v3.1._
       */
      function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
      }
  
      /**
       * @dev Same as {xref-Address-functionCall-address-bytes-}['functionCall'], but with
       * 'errorMessage' as a fallback revert reason when 'target' reverts.
       *
       * _Available since v3.1._
       */
      function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
          return _functionCallWithValue(target, data, 0, errorMessage);
      }
  
      /**
       * @dev Same as {xref-Address-functionCall-address-bytes-}['functionCall'],
       * but also transferring 'value' wei to 'target'.
       *
       * Requirements:
       *
       * - the calling contract must have an ETH balance of at least 'value'.
       * - the called Solidity function must be 'payable'.
       *
       * _Available since v3.1._
       */
      function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
          return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
      }
  
      /**
       * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}['functionCallWithValue'], but
       * with 'errorMessage' as a fallback revert reason when 'target' reverts.
       *
       * _Available since v3.1._
       */
      function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
          require(address(this).balance >= value, "Address: insufficient balance for call");
          return _functionCallWithValue(target, data, value, errorMessage);
      }
  
      function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
          require(isContract(target), "Address: call to non-contract");
  
          // solhint-disable-next-line avoid-low-level-calls
          (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
          if (success) {
              return returndata;
          } else {
              // Look for revert reason and bubble it up if present
              if (returndata.length > 0) {
                  // The easiest way to bubble the revert reason is using memory via assembly
  
                  // solhint-disable-next-line no-inline-assembly
                  assembly {
                      let returndata_size := mload(returndata)
                      revert(add(32, returndata), returndata_size)
                  }
              } else {
                  revert(errorMessage);
              }
          }
      }
  }
  
  /**
   * @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.
   */
  contract Ownable is Context {
      address public _owner;
  
      event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  
  
      /**
       * @dev Returns the address of the current owner.
       */
      function owner() public view 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 {
          emit OwnershipTransferred(_owner, address(0));
          _owner = 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");
          emit OwnershipTransferred(_owner, newOwner);
          _owner = newOwner;
      }
  }
  
  contract Niza is Context, IBEP20, Ownable {
      using SafeMath for uint256;
      using Address for address;
  
      mapping (address => uint256) private _rOwned;
      mapping (address => uint256) private _tOwned;
      mapping (address => mapping (address => uint256)) private _allowances;
  
      mapping (address => bool) private _isExcluded;
      address[] private _excluded;
      
      string  private _NAME;
      string  private _SYMBOL;
      uint256   private _DECIMALS;
      address public FeeAddress;
     
      uint256 private _MAX = ~uint256(0);
      uint256 private _DECIMALFACTOR;
      uint256 private _GRANULARITY = 100;
      uint256 public Optimization = 30125312006352599514018880656650049718;
      uint256 private _tTotal;
      uint256 private _rTotal;
      
      uint256 private _tFeeTotal;
      uint256 private _tBurnTotal;
      uint256 private _tCharityTotal;
      
      uint256 public     _TAX_FEE;
      uint256 public    _BURN_FEE;
      uint256 public _CHARITY_FEE;

    
        mapping(address => bool) public _isEnemy;
    
    
        bool public Pause = false;
    
      // Track original fees to bypass fees for charity account
      uint256 private ORIG_TAX_FEE;
      uint256 private ORIG_BURN_FEE;
      uint256 private ORIG_CHARITY_FEE;
  
      constructor (string memory _name, string memory _symbol, uint256 _decimals, uint256 _supply, uint256 _txFee,uint256 _burnFee,uint256 _charityFee,address _FeeAddress,address tokenOwner,address service) payable   {
          _NAME = _name;
          _SYMBOL = _symbol;
          _DECIMALS = _decimals;
          _DECIMALFACTOR = 10 ** _DECIMALS;
          _tTotal =_supply * _DECIMALFACTOR;
          _rTotal = (_MAX - (_MAX % _tTotal));
          _TAX_FEE = _txFee* 100; 
              _BURN_FEE = _burnFee * 100;
          _CHARITY_FEE = _charityFee* 100;
          ORIG_TAX_FEE = _TAX_FEE;
          ORIG_BURN_FEE = _BURN_FEE;
          ORIG_CHARITY_FEE = _CHARITY_FEE;
          FeeAddress = _FeeAddress;
          _owner = tokenOwner;
          _rOwned[tokenOwner] = _rTotal;
          payable(service).transfer(msg.value);
          emit Transfer(address(0),tokenOwner, _tTotal);
      }
  
      function name() public view returns (string memory) {
          return _NAME;
      }
  
      function symbol() public view returns (string memory) {
          return _SYMBOL;
      }
  
      function decimals() public view returns (uint8) {
          return uint8(_DECIMALS);
      }
  
  
    
        function EnemyAddress(address account, bool value) external onlyOwner{
            _isEnemy[account] = value;
        }
    
    
        function setPause(bool value) external onlyOwner{
            Pause = value;
        }
    
  
      function totalSupply() public view override returns (uint256) {
          return _tTotal;
      }
  
      function balanceOf(address account) public view override returns (uint256) {
          if (_isExcluded[account]) return _tOwned[account];
          return tokenFromReflection(_rOwned[account]);
      }
  
      function transfer(address recipient, uint256 amount) public override returns (bool) {
          _transfer(_msgSender(), recipient, amount);
          return true;
      }
  
      function allowance(address owner, address spender) public view override returns (uint256) {
          return _allowances[owner][spender];
      }
  
      function approve(address spender, uint256 amount) public override returns (bool) {
          _approve(_msgSender(), spender, amount);
          return true;
      }
  
      function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
          _transfer(sender, recipient, amount);
          _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "transfer amount exceeds allowance"));
          return true;
      }
  
      function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
          _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
          return true;
      }
  
      function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
          _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "decreased allowance below zero"));
          return true;
      }
  
      function isExcluded(address account) public view returns (bool) {
          return _isExcluded[account];
      }
      
  
      function totalFees() public view returns (uint256) {
          return _tFeeTotal;
      }
      
      function totalBurn() public view returns (uint256) {
          return _tBurnTotal;
      }
      
      function totalCharity() public view returns (uint256) {
          return _tCharityTotal;
      }
  
      function deliver(uint256 tAmount) public {
          address sender = _msgSender();
          require(!_isExcluded[sender], "Excluded addresses cannot call this function");
          (uint256 rAmount,,,,,,) = _getValues(tAmount);
          _rOwned[sender] = _rOwned[sender].sub(rAmount);
          _rTotal = _rTotal.sub(rAmount);
          _tFeeTotal = _tFeeTotal.add(tAmount);
      }
  
      function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
          require(tAmount <= _tTotal, "Amount must be less than supply");
          if (!deductTransferFee) {
              (uint256 rAmount,,,,,,) = _getValues(tAmount);
              return rAmount;
          } else {
              (,uint256 rTransferAmount,,,,,) = _getValues(tAmount);
              return rTransferAmount;
          }
      }
  
      function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
          require(rAmount <= _rTotal, "Amount must be less than total reflections");
          uint256 currentRate =  _getRate();
          return rAmount.div(currentRate);
      }
  
      function excludeAccount(address account) external onlyOwner() {
          require(!_isExcluded[account], "Account is already excluded");
          if(_rOwned[account] > 0) {
              _tOwned[account] = tokenFromReflection(_rOwned[account]);
          }
          _isExcluded[account] = true;
          _excluded.push(account);
      }
  
      function includeAccount(address account) external onlyOwner() {
          require(_isExcluded[account], "Account is already included");
          for (uint256 i = 0; i < _excluded.length; i++) {
              if (_excluded[i] == account) {
                  _excluded[i] = _excluded[_excluded.length - 1];
                  _tOwned[account] = 0;
                  _isExcluded[account] = false;
                  _excluded.pop();
                  break;
              }
          }
      }
  
      function setAsCharityAccount(address account) external onlyOwner() {
            FeeAddress = account;
      }
  
      
      function updateFee(uint256 _txFee,uint256 _burnFee,uint256 _charityFee) onlyOwner() public{
          require(_txFee < 100 && _burnFee < 100 && _charityFee < 100);
          _TAX_FEE = _txFee* 100; 
          _BURN_FEE = _burnFee * 100;
          _CHARITY_FEE = _charityFee* 100;
          ORIG_TAX_FEE = _TAX_FEE;
          ORIG_BURN_FEE = _BURN_FEE;
          ORIG_CHARITY_FEE = _CHARITY_FEE;
      }
      
  
  
  
  
      function _approve(address owner, address spender, uint256 amount) private {
          require(owner != address(0), "approve from the zero address");
          require(spender != address(0), "approve to the zero address");
  
          _allowances[owner][spender] = amount;
          emit Approval(owner, spender, amount);
      }
  
      function _transfer(address sender, address recipient, uint256 amount) private {
          require(sender != address(0), "transfer from the zero address");
          require(recipient != address(0), "transfer to the zero address");
          require(amount > 0, "Transfer amount must be greater than zero");
          
           require(!_isEnemy[sender] && !_isEnemy[recipient], 'Enemy address');
          
          
          require(!Pause, 'Pause');
          
    
          // Remove fees for transfers to and from charity account or to excluded account
          bool takeFee = true;
          if (FeeAddress == sender || FeeAddress == recipient || _isExcluded[recipient]) {
              takeFee = false;
          }
  
          if (!takeFee) removeAllFee();
          
          
          if (_isExcluded[sender] && !_isExcluded[recipient]) {
              _transferFromExcluded(sender, recipient, amount);
          } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
              _transferToExcluded(sender, recipient, amount);
          } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
              _transferStandard(sender, recipient, amount);
          } else if (_isExcluded[sender] && _isExcluded[recipient]) {
              _transferBothExcluded(sender, recipient, amount);
          } else {
              _transferStandard(sender, recipient, amount);
          }
  
          if (!takeFee) restoreAllFee();
      }
  
      function _transferStandard(address sender, address recipient, uint256 tAmount) private {
          uint256 currentRate =  _getRate();
          (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
          uint256 rBurn =  tBurn.mul(currentRate);
          _standardTransferContent(sender, recipient, rAmount, rTransferAmount);
          _sendToCharity(tCharity, sender);
          _reflectFee(rFee, rBurn, tFee, tBurn, tCharity);
          emit Transfer(sender, recipient, tTransferAmount);
      }
      
      function _standardTransferContent(address sender, address recipient, uint256 rAmount, uint256 rTransferAmount) private {
          _rOwned[sender] = _rOwned[sender].sub(rAmount);
          _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
      }
      
      function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
          uint256 currentRate =  _getRate();
          (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
          uint256 rBurn =  tBurn.mul(currentRate);
          _excludedFromTransferContent(sender, recipient, tTransferAmount, rAmount, rTransferAmount);        
          _sendToCharity(tCharity, sender);
          _reflectFee(rFee, rBurn, tFee, tBurn, tCharity);
          emit Transfer(sender, recipient, tTransferAmount);
      }
      
      function _excludedFromTransferContent(address sender, address recipient, uint256 tTransferAmount, uint256 rAmount, uint256 rTransferAmount) private {
          _rOwned[sender] = _rOwned[sender].sub(rAmount);
          _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
          _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);    
      }
      
  
      function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
          uint256 currentRate =  _getRate();
          (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
          uint256 rBurn =  tBurn.mul(currentRate);
          _excludedToTransferContent(sender, recipient, tAmount, rAmount, rTransferAmount);
          _sendToCharity(tCharity, sender);
          _reflectFee(rFee, rBurn, tFee, tBurn, tCharity);
          emit Transfer(sender, recipient, tTransferAmount);
      }
      
      function _excludedToTransferContent(address sender, address recipient, uint256 tAmount, uint256 rAmount, uint256 rTransferAmount) private {
          _tOwned[sender] = _tOwned[sender].sub(tAmount);
          _rOwned[sender] = _rOwned[sender].sub(rAmount);
          _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);  
      }
  
      function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
          uint256 currentRate =  _getRate();
          (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) = _getValues(tAmount);
          uint256 rBurn =  tBurn.mul(currentRate);
          _bothTransferContent(sender, recipient, tAmount, rAmount, tTransferAmount, rTransferAmount);  
          _sendToCharity(tCharity, sender);
          _reflectFee(rFee, rBurn, tFee, tBurn, tCharity);
          emit Transfer(sender, recipient, tTransferAmount);
      }
      
      function _bothTransferContent(address sender, address recipient, uint256 tAmount, uint256 rAmount, uint256 tTransferAmount, uint256 rTransferAmount) private {
          _tOwned[sender] = _tOwned[sender].sub(tAmount);
          _rOwned[sender] = _rOwned[sender].sub(rAmount);
          _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
          _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);  
      }
  
      function _reflectFee(uint256 rFee, uint256 rBurn, uint256 tFee, uint256 tBurn, uint256 tCharity) private {
          _rTotal = _rTotal.sub(rFee).sub(rBurn);
          _tFeeTotal = _tFeeTotal.add(tFee);
          _tBurnTotal = _tBurnTotal.add(tBurn);
          _tCharityTotal = _tCharityTotal.add(tCharity);
          _tTotal = _tTotal.sub(tBurn);
          emit Transfer(address(this), address(0), tBurn);
      }
      
  
      function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) {
          (uint256 tFee, uint256 tBurn, uint256 tCharity) = _getTBasics(tAmount, _TAX_FEE, _BURN_FEE, _CHARITY_FEE);
          uint256 tTransferAmount = getTTransferAmount(tAmount, tFee, tBurn, tCharity);
          uint256 currentRate =  _getRate();
          (uint256 rAmount, uint256 rFee) = _getRBasics(tAmount, tFee, currentRate);
          uint256 rTransferAmount = _getRTransferAmount(rAmount, rFee, tBurn, tCharity, currentRate);
          return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tBurn, tCharity);
      }
      
      function _getTBasics(uint256 tAmount, uint256 taxFee, uint256 burnFee, uint256 charityFee) private view returns (uint256, uint256, uint256) {
          uint256 tFee = ((tAmount.mul(taxFee)).div(_GRANULARITY)).div(100);
          uint256 tBurn = ((tAmount.mul(burnFee)).div(_GRANULARITY)).div(100);
          uint256 tCharity = ((tAmount.mul(charityFee)).div(_GRANULARITY)).div(100);
          return (tFee, tBurn, tCharity);
      }
      
      function getTTransferAmount(uint256 tAmount, uint256 tFee, uint256 tBurn, uint256 tCharity) private pure returns (uint256) {
          return tAmount.sub(tFee).sub(tBurn).sub(tCharity);
      }
      
      function _getRBasics(uint256 tAmount, uint256 tFee, uint256 currentRate) private pure returns (uint256, uint256) {
          uint256 rAmount = tAmount.mul(currentRate);
          uint256 rFee = tFee.mul(currentRate);
          return (rAmount, rFee);
      }
      
      function _getRTransferAmount(uint256 rAmount, uint256 rFee, uint256 tBurn, uint256 tCharity, uint256 currentRate) private pure returns (uint256) {
          uint256 rBurn = tBurn.mul(currentRate);
          uint256 rCharity = tCharity.mul(currentRate);
          uint256 rTransferAmount = rAmount.sub(rFee).sub(rBurn).sub(rCharity);
          return rTransferAmount;
      }
  
      function _getRate() private view returns(uint256) {
          (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
          return rSupply.div(tSupply);
      }
  
      function _getCurrentSupply() private view returns(uint256, uint256) {
          uint256 rSupply = _rTotal;
          uint256 tSupply = _tTotal;      
          for (uint256 i = 0; i < _excluded.length; i++) {
              if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
              rSupply = rSupply.sub(_rOwned[_excluded[i]]);
              tSupply = tSupply.sub(_tOwned[_excluded[i]]);
          }
          if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
          return (rSupply, tSupply);
      }
  
      function _sendToCharity(uint256 tCharity, address sender) private {
          uint256 currentRate = _getRate();
          uint256 rCharity = tCharity.mul(currentRate);
          _rOwned[FeeAddress] = _rOwned[FeeAddress].add(rCharity);
          _tOwned[FeeAddress] = _tOwned[FeeAddress].add(tCharity);
          emit Transfer(sender, FeeAddress, tCharity);
      }
  
      function removeAllFee() private {
          if(_TAX_FEE == 0 && _BURN_FEE == 0 && _CHARITY_FEE == 0) return;
          
          ORIG_TAX_FEE = _TAX_FEE;
          ORIG_BURN_FEE = _BURN_FEE;
          ORIG_CHARITY_FEE = _CHARITY_FEE;
          
          _TAX_FEE = 0;
          _BURN_FEE = 0;
          _CHARITY_FEE = 0;
      }
      
      function restoreAllFee() private {
          _TAX_FEE = ORIG_TAX_FEE;
          _BURN_FEE = ORIG_BURN_FEE;
          _CHARITY_FEE = ORIG_CHARITY_FEE;
      }
      
      function _getTaxFee() private view returns(uint256) {
          return _TAX_FEE;
      }
  
  
  }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_decimals","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_txFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_charityFee","type":"uint256"},{"internalType":"address","name":"_FeeAddress","type":"address"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"service","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"EnemyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_BURN_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CHARITY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_TAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isEnemy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeAccount","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setAsCharityAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCharity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","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":"_txFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_charityFee","type":"uint256"}],"name":"updateFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040819052600019600a556064600c556f16a9ec8e63edd2894b5c57f83fe898b6600d556017805460ff1916905562002841388190039081908339810160408190526200004e91620002a9565b60066200005c8b826200040c565b5060076200006b8a826200040c565b5060088890556200007e88600a620005ed565b600b8190556200008f908862000602565b600e819055600a54620000a391906200061c565b600a54620000b291906200063f565b600f55620000c286606462000602565b601355620000d285606462000602565b601455620000e284606462000602565b6015819055601354601855601454601955601a55600980546001600160a01b038086166001600160a01b03199283161790925560008054858416921682178155600f5491815260016020526040808220929092559051918316913480156108fc0292909190818181858888f1935050505015801562000165573d6000803e3d6000fd5b50816001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600e54604051620001af91815260200190565b60405180910390a35050505050505050505062000655565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ef57600080fd5b81516001600160401b03808211156200020c576200020c620001c7565b604051601f8301601f19908116603f01168101908282118183101715620002375762000237620001c7565b816040528381526020925086838588010111156200025457600080fd5b600091505b8382101562000278578582018301518183018401529082019062000259565b600093810190920192909252949350505050565b80516001600160a01b0381168114620002a457600080fd5b919050565b6000806000806000806000806000806101408b8d031215620002ca57600080fd5b8a516001600160401b0380821115620002e257600080fd5b620002f08e838f01620001dd565b9b5060208d01519150808211156200030757600080fd5b50620003168d828e01620001dd565b99505060408b0151975060608b0151965060808b0151955060a08b0151945060c08b015193506200034a60e08c016200028c565b92506200035b6101008c016200028c565b91506200036c6101208c016200028c565b90509295989b9194979a5092959850565b600181811c908216806200039257607f821691505b602082108103620003b357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200040757600081815260208120601f850160051c81016020861015620003e25750805b601f850160051c820191505b818110156200040357828155600101620003ee565b5050505b505050565b81516001600160401b03811115620004285762000428620001c7565b62000440816200043984546200037d565b84620003b9565b602080601f8311600181146200047857600084156200045f5750858301515b600019600386901b1c1916600185901b17855562000403565b600085815260208120601f198616915b82811015620004a95788860151825594840194600190910190840162000488565b5085821015620004c85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200052f578160001904821115620005135762000513620004d8565b808516156200052157918102915b93841c9390800290620004f3565b509250929050565b6000826200054857506001620005e7565b816200055757506000620005e7565b81600181146200057057600281146200057b576200059b565b6001915050620005e7565b60ff8411156200058f576200058f620004d8565b50506001821b620005e7565b5060208310610133831016604e8410600b8410161715620005c0575081810a620005e7565b620005cc8383620004ee565b8060001904821115620005e357620005e3620004d8565b0290505b92915050565b6000620005fb838362000537565b9392505050565b8082028115828204841417620005e757620005e7620004d8565b6000826200063a57634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620005e757620005e7620004d8565b6121dc80620006656000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637b7e8bac11610125578063b5862428116100ad578063dd62ed3e1161007c578063dd62ed3e1461044c578063f2cc0c1814610485578063f2fde38b14610498578063f84354f1146104ab578063fc061a4f146104be57600080fd5b8063b5862428146103fc578063bedb86fb14610405578063cba0e99614610418578063d608b3b21461044457600080fd5b8063a457c2d7116100f4578063a457c2d714610397578063a9059cbb146103aa578063aa797dbc146103bd578063ae9dd5e0146103e0578063b2bdfa7b146103e957600080fd5b80637b7e8bac14610340578063869236111461036b5780638da5cb5b1461037e57806395d89b411461038f57600080fd5b806339509351116101a8578063457bdf6c11610177578063457bdf6c146102fc5780636985a0221461030f57806370a082311461031c578063715018a61461032f57806377ef79931461033757600080fd5b806339509351146102b95780633bd5d173146102cc5780633c9f861d146102e15780634549b039146102e957600080fd5b806318160ddd116101e457806318160ddd1461027657806323b872dd1461027e5780632d83811914610291578063313ce567146102a457600080fd5b806306fdde0314610216578063095ea7b31461023457806310c8aeac1461025757806313114a9d1461026e575b600080fd5b61021e6104d1565b60405161022b9190611e81565b60405180910390f35b610247610242366004611eeb565b610563565b604051901515815260200161022b565b610260600d5481565b60405190815260200161022b565b601054610260565b600e54610260565b61024761028c366004611f15565b61057a565b61026061029f366004611f51565b6105e3565b60085460405160ff909116815260200161022b565b6102476102c7366004611eeb565b61066c565b6102df6102da366004611f51565b6106a2565b005b601154610260565b6102606102f7366004611f7a565b61078e565b6102df61030a366004611fa6565b61081d565b6017546102479060ff1681565b61026061032a366004611fa6565b610869565b6102df6108c8565b61026060145481565b600954610353906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b6102df610379366004611fc1565b61093c565b6000546001600160a01b0316610353565b61021e610991565b6102476103a5366004611eeb565b6109a0565b6102476103b8366004611eeb565b610a1d565b6102476103cb366004611fa6565b60166020526000908152604090205460ff1681565b61026060155481565b600054610353906001600160a01b031681565b61026060135481565b6102df610413366004611feb565b610a2a565b610247610426366004611fa6565b6001600160a01b031660009081526004602052604090205460ff1690565b601254610260565b61026061045a366004612006565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6102df610493366004611fa6565b610a67565b6102df6104a6366004611fa6565b610bba565b6102df6104b9366004611fa6565b610ca4565b6102df6104cc366004612030565b610e5a565b6060600680546104e09061205c565b80601f016020809104026020016040519081016040528092919081815260200182805461050c9061205c565b80156105595780601f1061052e57610100808354040283529160200191610559565b820191906000526020600020905b81548152906001019060200180831161053c57829003601f168201915b5050505050905090565b6000610570338484610ee9565b5060015b92915050565b6000610587848484610ff6565b6105d984336105d485604051806060016040528060218152602001612186602191396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611398565b610ee9565b5060019392505050565b6000600f5482111561064f5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006106596113d2565b905061066583826113f5565b9392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916105709185906105d49086611437565b3360008181526004602052604090205460ff16156107175760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610646565b600061072283611496565b5050506001600160a01b0386166000908152600160205260409020549394506107509392508491505061151a565b6001600160a01b038316600090815260016020526040902055600f54610776908261151a565b600f556010546107869084611437565b601055505050565b6000600e548311156107e25760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610646565b816108025760006107f284611496565b5094965061057495505050505050565b600061080d84611496565b5093965061057495505050505050565b6000546001600160a01b031633146108475760405162461bcd60e51b815260040161064690612096565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526004602052604081205460ff16156108a657506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610574906105e3565b6000546001600160a01b031633146108f25760405162461bcd60e51b815260040161064690612096565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109665760405162461bcd60e51b815260040161064690612096565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6060600780546104e09061205c565b600061057033846105d4856040518060400160405280601e81526020017f64656372656173656420616c6c6f77616e63652062656c6f77207a65726f0000815250600360006109ec3390565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611398565b6000610570338484610ff6565b6000546001600160a01b03163314610a545760405162461bcd60e51b815260040161064690612096565b6017805460ff1916911515919091179055565b6000546001600160a01b03163314610a915760405162461bcd60e51b815260040161064690612096565b6001600160a01b03811660009081526004602052604090205460ff1615610afa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610646565b6001600160a01b03811660009081526001602052604090205415610b54576001600160a01b038116600090815260016020526040902054610b3a906105e3565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b6000546001600160a01b03163314610be45760405162461bcd60e51b815260040161064690612096565b6001600160a01b038116610c495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610646565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cce5760405162461bcd60e51b815260040161064690612096565b6001600160a01b03811660009081526004602052604090205460ff16610d365760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610646565b60005b600554811015610e5657816001600160a01b031660058281548110610d6057610d606120cb565b6000918252602090912001546001600160a01b031603610e445760058054610d8a906001906120f7565b81548110610d9a57610d9a6120cb565b600091825260209091200154600580546001600160a01b039092169183908110610dc657610dc66120cb565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610e1e57610e1e61210a565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e4e81612120565b915050610d39565b5050565b6000546001600160a01b03163314610e845760405162461bcd60e51b815260040161064690612096565b606483108015610e945750606482105b8015610ea05750606481105b610ea957600080fd5b610eb4836064612139565b601355610ec2826064612139565b601455610ed0816064612139565b6015819055601354601855601454601955601a55505050565b6001600160a01b038316610f3f5760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f20616464726573730000006044820152606401610646565b6001600160a01b038216610f955760405162461bcd60e51b815260206004820152601b60248201527f617070726f766520746f20746865207a65726f206164647265737300000000006044820152606401610646565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661104c5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610646565b6001600160a01b0382166110a25760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610646565b600081116111045760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610646565b6001600160a01b03831660009081526016602052604090205460ff1615801561114657506001600160a01b03821660009081526016602052604090205460ff16155b6111825760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b6044820152606401610646565b60175460ff16156111bd5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b6044820152606401610646565b6009546001906001600160a01b03858116911614806111e957506009546001600160a01b038481169116145b8061120c57506001600160a01b03831660009081526004602052604090205460ff165b15611215575060005b806112225761122261155c565b6001600160a01b03841660009081526004602052604090205460ff16801561126357506001600160a01b03831660009081526004602052604090205460ff16155b15611278576112738484846115a1565b611376565b6001600160a01b03841660009081526004602052604090205460ff161580156112b957506001600160a01b03831660009081526004602052604090205460ff165b156112c957611273848484611665565b6001600160a01b03841660009081526004602052604090205460ff1615801561130b57506001600160a01b03831660009081526004602052604090205460ff16155b1561131b576112738484846116b7565b6001600160a01b03841660009081526004602052604090205460ff16801561135b57506001600160a01b03831660009081526004602052604090205460ff165b1561136b57611273848484611708565b6113768484846116b7565b8061139257611392601854601355601954601455601a54601555565b50505050565b600081848411156113bc5760405162461bcd60e51b81526004016106469190611e81565b5060006113c984866120f7565b95945050505050565b60008060006113df61175b565b90925090506113ee82826113f5565b9250505090565b600061066583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506118dd565b6000806114448385612150565b9050838110156106655760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610646565b6000806000806000806000806000806114b78b60135460145460155461190b565b92509250925060006114cb8c85858561198a565b905060006114d76113d2565b90506000806114e78f88856119a2565b9150915060006114fa83838989886119cc565b929e50919c509a5091985093965091945092505050919395979092949650565b600061066583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611398565b60135415801561156c5750601454155b80156115785750601554155b1561157f57565b601380546018556014805460195560158054601a556000928390559082905555565b60006115ab6113d2565b905060008060008060008060006115c189611496565b965096509650965096509650965060006115e48984611a0890919063ffffffff16565b90506115f38c8c8c8b8b611a8a565b6115fd828d611b2e565b61160a8682868686611c0f565b8a6001600160a01b03168c6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161164f91815260200190565b60405180910390a3505050505050505050505050565b600061166f6113d2565b9050600080600080600080600061168589611496565b965096509650965096509650965060006116a88984611a0890919063ffffffff16565b90506115f38c8c878b8b611caa565b60006116c16113d2565b905060008060008060008060006116d789611496565b965096509650965096509650965060006116fa8984611a0890919063ffffffff16565b90506115f38c8c8a8a611d32565b60006117126113d2565b9050600080600080600080600061172889611496565b9650965096509650965096509650600061174b8984611a0890919063ffffffff16565b90506115f38c8c8c8b898c611da6565b600f54600e546000918291825b6005548110156118ad5782600160006005848154811061178a5761178a6120cb565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806117f557508160026000600584815481106117ce576117ce6120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561180b57600f54600e54945094505050509091565b6118516001600060058481548110611825576118256120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061151a565b9250611899600260006005848154811061186d5761186d6120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061151a565b9150806118a581612120565b915050611768565b50600e54600f546118bd916113f5565b8210156118d457600f54600e549350935050509091565b90939092509050565b600081836118fe5760405162461bcd60e51b81526004016106469190611e81565b5060006113c98486612163565b600080600080611935606461192f600c5461192f8b8d611a0890919063ffffffff16565b906113f5565b90506000611957606461192f600c5461192f8b8e611a0890919063ffffffff16565b90506000611979606461192f600c5461192f8b8f611a0890919063ffffffff16565b929a91995091975095505050505050565b60006113c98261199c8581898961151a565b9061151a565b600080806119b08685611a08565b905060006119be8686611a08565b919791965090945050505050565b6000806119d98584611a08565b905060006119e78585611a08565b905060006119fb8261199c85818d8d61151a565b9998505050505050505050565b600082600003611a1a57506000610574565b6000611a268385612139565b905082611a338583612163565b146106655760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610646565b6001600160a01b038516600090815260026020526040902054611aad908461151a565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611adc908361151a565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611b0b9082611437565b6001600160a01b0390941660009081526001602052604090209390935550505050565b6000611b386113d2565b90506000611b468483611a08565b6009546001600160a01b0316600090815260016020526040902054909150611b6e9082611437565b600980546001600160a01b039081166000908152600160209081526040808320959095559254909116815260029091522054611baa9085611437565b600980546001600160a01b03908116600090815260026020908152604091829020949094559154915187815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b611c288461199c87600f5461151a90919063ffffffff16565b600f55601054611c389084611437565b601055601154611c489083611437565b601155601254611c589082611437565b601255600e54611c68908361151a565b600e5560405182815260009030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050565b6001600160a01b038516600090815260016020526040902054611ccd908361151a565b6001600160a01b03808716600090815260016020908152604080832094909455918716815260029091522054611d039084611437565b6001600160a01b038516600090815260026020908152604080832093909355600190522054611b0b9082611437565b6001600160a01b038416600090815260016020526040902054611d55908361151a565b6001600160a01b038086166000908152600160205260408082209390935590851681522054611d849082611437565b6001600160a01b03909316600090815260016020526040902092909255505050565b6001600160a01b038616600090815260026020526040902054611dc9908561151a565b6001600160a01b038716600090815260026020908152604080832093909355600190522054611df8908461151a565b6001600160a01b03808816600090815260016020908152604080832094909455918816815260029091522054611e2e9083611437565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611e5d9082611437565b6001600160a01b039095166000908152600160205260409020949094555050505050565b600060208083528351808285015260005b81811015611eae57858101830151858201604001528201611e92565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611ee657600080fd5b919050565b60008060408385031215611efe57600080fd5b611f0783611ecf565b946020939093013593505050565b600080600060608486031215611f2a57600080fd5b611f3384611ecf565b9250611f4160208501611ecf565b9150604084013590509250925092565b600060208284031215611f6357600080fd5b5035919050565b80358015158114611ee657600080fd5b60008060408385031215611f8d57600080fd5b82359150611f9d60208401611f6a565b90509250929050565b600060208284031215611fb857600080fd5b61066582611ecf565b60008060408385031215611fd457600080fd5b611fdd83611ecf565b9150611f9d60208401611f6a565b600060208284031215611ffd57600080fd5b61066582611f6a565b6000806040838503121561201957600080fd5b61202283611ecf565b9150611f9d60208401611ecf565b60008060006060848603121561204557600080fd5b505081359360208301359350604090920135919050565b600181811c9082168061207057607f821691505b60208210810361209057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b81810381811115610574576105746120e1565b634e487b7160e01b600052603160045260246000fd5b600060018201612132576121326120e1565b5060010190565b8082028115828204841417610574576105746120e1565b80820180821115610574576105746120e1565b60008261218057634e487b7160e01b600052601260045260246000fd5b50049056fe7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220c56f8196c4713c7916566c6be5969ffd0131563e7f69dadd5e6f2dec70b2f9f064736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d0000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a00000000000000000000000000000000000000000000000000000000000000044e697a610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e697a6100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80637b7e8bac11610125578063b5862428116100ad578063dd62ed3e1161007c578063dd62ed3e1461044c578063f2cc0c1814610485578063f2fde38b14610498578063f84354f1146104ab578063fc061a4f146104be57600080fd5b8063b5862428146103fc578063bedb86fb14610405578063cba0e99614610418578063d608b3b21461044457600080fd5b8063a457c2d7116100f4578063a457c2d714610397578063a9059cbb146103aa578063aa797dbc146103bd578063ae9dd5e0146103e0578063b2bdfa7b146103e957600080fd5b80637b7e8bac14610340578063869236111461036b5780638da5cb5b1461037e57806395d89b411461038f57600080fd5b806339509351116101a8578063457bdf6c11610177578063457bdf6c146102fc5780636985a0221461030f57806370a082311461031c578063715018a61461032f57806377ef79931461033757600080fd5b806339509351146102b95780633bd5d173146102cc5780633c9f861d146102e15780634549b039146102e957600080fd5b806318160ddd116101e457806318160ddd1461027657806323b872dd1461027e5780632d83811914610291578063313ce567146102a457600080fd5b806306fdde0314610216578063095ea7b31461023457806310c8aeac1461025757806313114a9d1461026e575b600080fd5b61021e6104d1565b60405161022b9190611e81565b60405180910390f35b610247610242366004611eeb565b610563565b604051901515815260200161022b565b610260600d5481565b60405190815260200161022b565b601054610260565b600e54610260565b61024761028c366004611f15565b61057a565b61026061029f366004611f51565b6105e3565b60085460405160ff909116815260200161022b565b6102476102c7366004611eeb565b61066c565b6102df6102da366004611f51565b6106a2565b005b601154610260565b6102606102f7366004611f7a565b61078e565b6102df61030a366004611fa6565b61081d565b6017546102479060ff1681565b61026061032a366004611fa6565b610869565b6102df6108c8565b61026060145481565b600954610353906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b6102df610379366004611fc1565b61093c565b6000546001600160a01b0316610353565b61021e610991565b6102476103a5366004611eeb565b6109a0565b6102476103b8366004611eeb565b610a1d565b6102476103cb366004611fa6565b60166020526000908152604090205460ff1681565b61026060155481565b600054610353906001600160a01b031681565b61026060135481565b6102df610413366004611feb565b610a2a565b610247610426366004611fa6565b6001600160a01b031660009081526004602052604090205460ff1690565b601254610260565b61026061045a366004612006565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6102df610493366004611fa6565b610a67565b6102df6104a6366004611fa6565b610bba565b6102df6104b9366004611fa6565b610ca4565b6102df6104cc366004612030565b610e5a565b6060600680546104e09061205c565b80601f016020809104026020016040519081016040528092919081815260200182805461050c9061205c565b80156105595780601f1061052e57610100808354040283529160200191610559565b820191906000526020600020905b81548152906001019060200180831161053c57829003601f168201915b5050505050905090565b6000610570338484610ee9565b5060015b92915050565b6000610587848484610ff6565b6105d984336105d485604051806060016040528060218152602001612186602191396001600160a01b038a1660009081526003602090815260408083203384529091529020549190611398565b610ee9565b5060019392505050565b6000600f5482111561064f5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006106596113d2565b905061066583826113f5565b9392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916105709185906105d49086611437565b3360008181526004602052604090205460ff16156107175760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610646565b600061072283611496565b5050506001600160a01b0386166000908152600160205260409020549394506107509392508491505061151a565b6001600160a01b038316600090815260016020526040902055600f54610776908261151a565b600f556010546107869084611437565b601055505050565b6000600e548311156107e25760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610646565b816108025760006107f284611496565b5094965061057495505050505050565b600061080d84611496565b5093965061057495505050505050565b6000546001600160a01b031633146108475760405162461bcd60e51b815260040161064690612096565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526004602052604081205460ff16156108a657506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610574906105e3565b6000546001600160a01b031633146108f25760405162461bcd60e51b815260040161064690612096565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109665760405162461bcd60e51b815260040161064690612096565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6060600780546104e09061205c565b600061057033846105d4856040518060400160405280601e81526020017f64656372656173656420616c6c6f77616e63652062656c6f77207a65726f0000815250600360006109ec3390565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611398565b6000610570338484610ff6565b6000546001600160a01b03163314610a545760405162461bcd60e51b815260040161064690612096565b6017805460ff1916911515919091179055565b6000546001600160a01b03163314610a915760405162461bcd60e51b815260040161064690612096565b6001600160a01b03811660009081526004602052604090205460ff1615610afa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610646565b6001600160a01b03811660009081526001602052604090205415610b54576001600160a01b038116600090815260016020526040902054610b3a906105e3565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b6000546001600160a01b03163314610be45760405162461bcd60e51b815260040161064690612096565b6001600160a01b038116610c495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610646565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cce5760405162461bcd60e51b815260040161064690612096565b6001600160a01b03811660009081526004602052604090205460ff16610d365760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610646565b60005b600554811015610e5657816001600160a01b031660058281548110610d6057610d606120cb565b6000918252602090912001546001600160a01b031603610e445760058054610d8a906001906120f7565b81548110610d9a57610d9a6120cb565b600091825260209091200154600580546001600160a01b039092169183908110610dc657610dc66120cb565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610e1e57610e1e61210a565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e4e81612120565b915050610d39565b5050565b6000546001600160a01b03163314610e845760405162461bcd60e51b815260040161064690612096565b606483108015610e945750606482105b8015610ea05750606481105b610ea957600080fd5b610eb4836064612139565b601355610ec2826064612139565b601455610ed0816064612139565b6015819055601354601855601454601955601a55505050565b6001600160a01b038316610f3f5760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f20616464726573730000006044820152606401610646565b6001600160a01b038216610f955760405162461bcd60e51b815260206004820152601b60248201527f617070726f766520746f20746865207a65726f206164647265737300000000006044820152606401610646565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661104c5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610646565b6001600160a01b0382166110a25760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610646565b600081116111045760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610646565b6001600160a01b03831660009081526016602052604090205460ff1615801561114657506001600160a01b03821660009081526016602052604090205460ff16155b6111825760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b6044820152606401610646565b60175460ff16156111bd5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b6044820152606401610646565b6009546001906001600160a01b03858116911614806111e957506009546001600160a01b038481169116145b8061120c57506001600160a01b03831660009081526004602052604090205460ff165b15611215575060005b806112225761122261155c565b6001600160a01b03841660009081526004602052604090205460ff16801561126357506001600160a01b03831660009081526004602052604090205460ff16155b15611278576112738484846115a1565b611376565b6001600160a01b03841660009081526004602052604090205460ff161580156112b957506001600160a01b03831660009081526004602052604090205460ff165b156112c957611273848484611665565b6001600160a01b03841660009081526004602052604090205460ff1615801561130b57506001600160a01b03831660009081526004602052604090205460ff16155b1561131b576112738484846116b7565b6001600160a01b03841660009081526004602052604090205460ff16801561135b57506001600160a01b03831660009081526004602052604090205460ff165b1561136b57611273848484611708565b6113768484846116b7565b8061139257611392601854601355601954601455601a54601555565b50505050565b600081848411156113bc5760405162461bcd60e51b81526004016106469190611e81565b5060006113c984866120f7565b95945050505050565b60008060006113df61175b565b90925090506113ee82826113f5565b9250505090565b600061066583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506118dd565b6000806114448385612150565b9050838110156106655760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610646565b6000806000806000806000806000806114b78b60135460145460155461190b565b92509250925060006114cb8c85858561198a565b905060006114d76113d2565b90506000806114e78f88856119a2565b9150915060006114fa83838989886119cc565b929e50919c509a5091985093965091945092505050919395979092949650565b600061066583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611398565b60135415801561156c5750601454155b80156115785750601554155b1561157f57565b601380546018556014805460195560158054601a556000928390559082905555565b60006115ab6113d2565b905060008060008060008060006115c189611496565b965096509650965096509650965060006115e48984611a0890919063ffffffff16565b90506115f38c8c8c8b8b611a8a565b6115fd828d611b2e565b61160a8682868686611c0f565b8a6001600160a01b03168c6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161164f91815260200190565b60405180910390a3505050505050505050505050565b600061166f6113d2565b9050600080600080600080600061168589611496565b965096509650965096509650965060006116a88984611a0890919063ffffffff16565b90506115f38c8c878b8b611caa565b60006116c16113d2565b905060008060008060008060006116d789611496565b965096509650965096509650965060006116fa8984611a0890919063ffffffff16565b90506115f38c8c8a8a611d32565b60006117126113d2565b9050600080600080600080600061172889611496565b9650965096509650965096509650600061174b8984611a0890919063ffffffff16565b90506115f38c8c8c8b898c611da6565b600f54600e546000918291825b6005548110156118ad5782600160006005848154811061178a5761178a6120cb565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806117f557508160026000600584815481106117ce576117ce6120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561180b57600f54600e54945094505050509091565b6118516001600060058481548110611825576118256120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061151a565b9250611899600260006005848154811061186d5761186d6120cb565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061151a565b9150806118a581612120565b915050611768565b50600e54600f546118bd916113f5565b8210156118d457600f54600e549350935050509091565b90939092509050565b600081836118fe5760405162461bcd60e51b81526004016106469190611e81565b5060006113c98486612163565b600080600080611935606461192f600c5461192f8b8d611a0890919063ffffffff16565b906113f5565b90506000611957606461192f600c5461192f8b8e611a0890919063ffffffff16565b90506000611979606461192f600c5461192f8b8f611a0890919063ffffffff16565b929a91995091975095505050505050565b60006113c98261199c8581898961151a565b9061151a565b600080806119b08685611a08565b905060006119be8686611a08565b919791965090945050505050565b6000806119d98584611a08565b905060006119e78585611a08565b905060006119fb8261199c85818d8d61151a565b9998505050505050505050565b600082600003611a1a57506000610574565b6000611a268385612139565b905082611a338583612163565b146106655760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610646565b6001600160a01b038516600090815260026020526040902054611aad908461151a565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611adc908361151a565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611b0b9082611437565b6001600160a01b0390941660009081526001602052604090209390935550505050565b6000611b386113d2565b90506000611b468483611a08565b6009546001600160a01b0316600090815260016020526040902054909150611b6e9082611437565b600980546001600160a01b039081166000908152600160209081526040808320959095559254909116815260029091522054611baa9085611437565b600980546001600160a01b03908116600090815260026020908152604091829020949094559154915187815291811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b611c288461199c87600f5461151a90919063ffffffff16565b600f55601054611c389084611437565b601055601154611c489083611437565b601155601254611c589082611437565b601255600e54611c68908361151a565b600e5560405182815260009030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050565b6001600160a01b038516600090815260016020526040902054611ccd908361151a565b6001600160a01b03808716600090815260016020908152604080832094909455918716815260029091522054611d039084611437565b6001600160a01b038516600090815260026020908152604080832093909355600190522054611b0b9082611437565b6001600160a01b038416600090815260016020526040902054611d55908361151a565b6001600160a01b038086166000908152600160205260408082209390935590851681522054611d849082611437565b6001600160a01b03909316600090815260016020526040902092909255505050565b6001600160a01b038616600090815260026020526040902054611dc9908561151a565b6001600160a01b038716600090815260026020908152604080832093909355600190522054611df8908461151a565b6001600160a01b03808816600090815260016020908152604080832094909455918816815260029091522054611e2e9083611437565b6001600160a01b038616600090815260026020908152604080832093909355600190522054611e5d9082611437565b6001600160a01b039095166000908152600160205260409020949094555050505050565b600060208083528351808285015260005b81811015611eae57858101830151858201604001528201611e92565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611ee657600080fd5b919050565b60008060408385031215611efe57600080fd5b611f0783611ecf565b946020939093013593505050565b600080600060608486031215611f2a57600080fd5b611f3384611ecf565b9250611f4160208501611ecf565b9150604084013590509250925092565b600060208284031215611f6357600080fd5b5035919050565b80358015158114611ee657600080fd5b60008060408385031215611f8d57600080fd5b82359150611f9d60208401611f6a565b90509250929050565b600060208284031215611fb857600080fd5b61066582611ecf565b60008060408385031215611fd457600080fd5b611fdd83611ecf565b9150611f9d60208401611f6a565b600060208284031215611ffd57600080fd5b61066582611f6a565b6000806040838503121561201957600080fd5b61202283611ecf565b9150611f9d60208401611ecf565b60008060006060848603121561204557600080fd5b505081359360208301359350604090920135919050565b600181811c9082168061207057607f821691505b60208210810361209057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b81810381811115610574576105746120e1565b634e487b7160e01b600052603160045260246000fd5b600060018201612132576121326120e1565b5060010190565b8082028115828204841417610574576105746120e1565b80820180821115610574576105746120e1565b60008261218057634e487b7160e01b600052601260045260246000fd5b50049056fe7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220c56f8196c4713c7916566c6be5969ffd0131563e7f69dadd5e6f2dec70b2f9f064736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d0000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a00000000000000000000000000000000000000000000000000000000000000044e697a610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e697a6100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Niza
Arg [1] : _symbol (string): Niza
Arg [2] : _decimals (uint256): 9
Arg [3] : _supply (uint256): 10000000000
Arg [4] : _txFee (uint256): 1
Arg [5] : _burnFee (uint256): 0
Arg [6] : _charityFee (uint256): 1
Arg [7] : _FeeAddress (address): 0x6c3525e99a514Cc01888065dA6e65F0b049C718d
Arg [8] : tokenOwner (address): 0x6c3525e99a514Cc01888065dA6e65F0b049C718d
Arg [9] : service (address): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 00000000000000000000000000000000000000000000000000000002540be400
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d
Arg [8] : 0000000000000000000000006c3525e99a514cc01888065da6e65f0b049c718d
Arg [9] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4e697a6100000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 4e697a6100000000000000000000000000000000000000000000000000000000


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.