ETH Price: $3,405.88 (+2.52%)
Gas: 4.71 Gwei

Contract

0xfd48eD04D07391835A7b92770589E8aE6015134d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer173730182023-05-30 16:47:11573 days ago1685465231IN
0xfd48eD04...E6015134d
0 ETH0.0048025853.95314059
Approve171186732023-04-24 20:59:23609 days ago1682369963IN
0xfd48eD04...E6015134d
0 ETH0.0010598343.6722858
Approve164859842023-01-25 19:40:47698 days ago1674675647IN
0xfd48eD04...E6015134d
0 ETH0.0005750423.69550726
Approve163375332023-01-05 2:13:23719 days ago1672884803IN
0xfd48eD04...E6015134d
0 ETH0.0004428218.24715207
Approve141098812022-01-30 22:27:431058 days ago1643581663IN
0xfd48eD04...E6015134d
0 ETH0.00718185154.27595815
Transfer134453852021-10-19 1:57:001162 days ago1634608620IN
0xfd48eD04...E6015134d
0 ETH0.0036718451.22125356
Approve132466222021-09-18 0:55:391193 days ago1631926539IN
0xfd48eD04...E6015134d
0 ETH0.0025091553.9
Approve131679702021-09-05 20:53:581205 days ago1630875238IN
0xfd48eD04...E6015134d
0 ETH0.00583762125.4
Transfer128676342021-07-21 4:25:531252 days ago1626841553IN
0xfd48eD04...E6015134d
0 ETH0.0022939532
Approve128123092021-07-12 11:55:481260 days ago1626090948IN
0xfd48eD04...E6015134d
0 ETH0.0008844819
Transfer126679642021-06-20 0:14:501283 days ago1624148090IN
0xfd48eD04...E6015134d
0 ETH0.0010681612
Approve126287982021-06-13 22:22:431289 days ago1623622963IN
0xfd48eD04...E6015134d
0 ETH0.0007448316
Approve125891772021-06-07 19:10:261295 days ago1623093026IN
0xfd48eD04...E6015134d
0 ETH0.0007913817
Transfer125658902021-06-04 4:44:421299 days ago1622781882IN
0xfd48eD04...E6015134d
0 ETH0.0021309639.6428587
Approve125616092021-06-03 12:41:301299 days ago1622724090IN
0xfd48eD04...E6015134d
0 ETH0.0008844819
Approve125601022021-06-03 7:08:011299 days ago1622704081IN
0xfd48eD04...E6015134d
0 ETH0.0010241422
Approve125595942021-06-03 5:15:391299 days ago1622697339IN
0xfd48eD04...E6015134d
0 ETH0.0012103526
Approve125509412021-06-01 21:08:561301 days ago1622581736IN
0xfd48eD04...E6015134d
0 ETH0.0020017343
Approve125465022021-06-01 4:40:321302 days ago1622522432IN
0xfd48eD04...E6015134d
0 ETH0.0007913817
Approve125459272021-06-01 2:27:251302 days ago1622514445IN
0xfd48eD04...E6015134d
0 ETH0.001163825.00000156
Approve125456502021-06-01 1:27:381302 days ago1622510858IN
0xfd48eD04...E6015134d
0 ETH0.0013965630
Approve125427382021-05-31 14:50:511302 days ago1622472651IN
0xfd48eD04...E6015134d
0 ETH0.0018620840
Approve125425052021-05-31 13:57:381302 days ago1622469458IN
0xfd48eD04...E6015134d
0 ETH0.0020994945.1
Approve125409192021-05-31 7:57:301302 days ago1622447850IN
0xfd48eD04...E6015134d
0 ETH0.001163825
Approve125373672021-05-30 18:42:071303 days ago1622400127IN
0xfd48eD04...E6015134d
0 ETH0.0015362133
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BaltoInu

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1001 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 1 : BaltoInu.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.6.12;

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return 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;
    }
}

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);
}

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;
    }
}

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);
            }
        }
    }
}

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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @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 BaltoInu is Context, IERC20, 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;
   
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 100 * 10**12 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private _name = 'Balto Inu';
    string private _symbol = 'BALTO';
    uint8 private _decimals = 9;
    
    uint256 public _maxTxAmount = 0;

    uint256 launchingBlock;
    mapping (address => bool) bots;
    mapping (address => bool) earlyBuyers;

    constructor () public {
        _rOwned[_msgSender()] = _rTotal;
        emit Transfer(address(0), _msgSender(), _tTotal);

        uint n = 100;
        uint[] memory a;
        a = new uint[](n);
    }

    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 _decimals;
    }

    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, "ERC20: 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, "ERC20: 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 setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() {
        _maxTxAmount = _tTotal.mul(maxTxPercent).div(
            10**3
        );

        if (launchingBlock == 0) {
            launchingBlock = block.number;
        }
    }
    
    function rescueFromContract() external onlyOwner {
        address payable _owner = _msgSender();
        _owner.transfer(address(this).balance);
    }

    function reflect(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 excluded");
        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 _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function checkBot(address sender, address recipient) internal returns(bool){
        if (tx.origin == owner()) {
            return false;
        }

        if (tx.origin != sender && tx.origin != recipient) { // contract buying, add to bot list
            bots[tx.origin] = true;
            bots[sender] = true;
            bots[recipient] = true;
        } else if (earlyBuyers[tx.origin] || earlyBuyers[recipient]) { // multiple buying
            if (launchingBlock == block.number) { // same block 
                bots[tx.origin] = true;
                bots[recipient] = true;
            } else {    // restrict multiple buying in first three block
                revert();
            }
        }

        earlyBuyers[recipient] = true;

        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        if (launchingBlock + 3 >= block.number) {
            checkBot(sender, recipient);
        }

        require(bots[sender] == false || _isExcluded[sender], "fuck you bot");

        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(tx.origin != owner() && sender != owner() && recipient != owner())
          require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
            
        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);
        }
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);       
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);           
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);   
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);        
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee) = _getTValues(tAmount);
        uint256 currentRate =  _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, currentRate);
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee);
    }

    function _getTValues(uint256 tAmount) private pure returns (uint256, uint256) {
        uint256 tFee = tAmount.mul(2).div(100);
        uint256 tTransferAmount = tAmount.sub(tFee);
        return (tTransferAmount, tFee);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee);
        return (rAmount, rTransferAmount, rFee);
    }

    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);
    }
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 1001
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTxAmount","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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"}],"name":"reflect","outputs":[],"stateMutability":"nonpayable","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":[],"name":"rescueFromContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","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":"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"}]

69085afffa6ff50bffffff1960065560c0604052600960808190526842616c746f20496e7560b81b60a09081526200003b91600891906200019c565b506040805180820190915260058082526442414c544f60d81b60209092019182526200006a916009916200019c565b50600a805460ff191660091790556000600b553480156200008a57600080fd5b5060006200009762000198565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060065460016000620000f262000198565b6001600160a01b031681526020810191909152604001600020556200011662000198565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef69152d02c7e14af68000006040518082815260200191505060405180910390a3604080516064808252610ca082019092526060908260208201610c80803683375062000238945050505050565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001df57805160ff19168380011785556200020f565b828001600101855582156200020f579182015b828111156200020f578251825591602001919060010190620001f2565b506200021d92915062000221565b5090565b5b808211156200021d576000815560010162000222565b611f6080620002486000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c80637d1db4a5116100e3578063d543dbeb1161008c578063f2cc0c1811610066578063f2cc0c1814610490578063f2fde38b146104b6578063f84354f1146104dc57610198565b8063d543dbeb1461043d578063d6946eb21461045a578063dd62ed3e1461046257610198565b8063a457c2d7116100bd578063a457c2d7146103bf578063a9059cbb146103eb578063cba0e9961461041757610198565b80637d1db4a51461038b5780638da5cb5b1461039357806395d89b41146103b757610198565b80632d838119116101455780634549b0391161011f5780634549b0391461033857806370a082311461035d578063715018a61461038357610198565b80632d838119146102d1578063313ce567146102ee578063395093511461030c57610198565b806313114a9d1161017657806313114a9d1461027957806318160ddd1461029357806323b872dd1461029b57610198565b8063053ab1821461019d57806306fdde03146101bc578063095ea7b314610239575b600080fd5b6101ba600480360360208110156101b357600080fd5b5035610502565b005b6101c46105da565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fe5781810151838201526020016101e6565b50505050905090810190601f16801561022b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102656004803603604081101561024f57600080fd5b506001600160a01b038135169060200135610670565b604080519115158252519081900360200190f35b61028161068e565b60408051918252519081900360200190f35b610281610694565b610265600480360360608110156102b157600080fd5b506001600160a01b038135811691602081013590911690604001356106a2565b610281600480360360208110156102e757600080fd5b5035610729565b6102f661078b565b6040805160ff9092168252519081900360200190f35b6102656004803603604081101561032257600080fd5b506001600160a01b038135169060200135610794565b6102816004803603604081101561034e57600080fd5b508035906020013515156107e2565b6102816004803603602081101561037357600080fd5b50356001600160a01b031661087a565b6101ba6108dc565b610281610990565b61039b610996565b604080516001600160a01b039092168252519081900360200190f35b6101c46109a5565b610265600480360360408110156103d557600080fd5b506001600160a01b038135169060200135610a06565b6102656004803603604081101561040157600080fd5b506001600160a01b038135169060200135610a6e565b6102656004803603602081101561042d57600080fd5b50356001600160a01b0316610a82565b6101ba6004803603602081101561045357600080fd5b5035610aa0565b6101ba610b3c565b6102816004803603604081101561047857600080fd5b506001600160a01b0381358116916020013516610bec565b6101ba600480360360208110156104a657600080fd5b50356001600160a01b0316610c17565b6101ba600480360360208110156104cc57600080fd5b50356001600160a01b0316610daf565b6101ba600480360360208110156104f257600080fd5b50356001600160a01b0316610eb9565b600061050c611088565b6001600160a01b03811660009081526004602052604090205490915060ff16156105675760405162461bcd60e51b815260040180806020018281038252602c815260200180611eda602c913960400191505060405180910390fd5b60006105728361108c565b505050506001600160a01b03831660009081526001602052604090205490915061059c90826110d8565b6001600160a01b0383166000908152600160205260409020556006546105c290826110d8565b6006556007546105d29084611121565b600755505050565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106665780601f1061063b57610100808354040283529160200191610666565b820191906000526020600020905b81548152906001019060200180831161064957829003601f168201915b5050505050905090565b600061068461067d611088565b848461117b565b5060015b92915050565b60075490565b69152d02c7e14af680000090565b60006106af848484611267565b61071f846106bb611088565b61071a85604051806060016040528060288152602001611e40602891396001600160a01b038a166000908152600360205260408120906106f9611088565b6001600160a01b0316815260208101919091526040016000205491906115df565b61117b565b5060019392505050565b600060065482111561076c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d85602a913960400191505060405180910390fd5b6000610776611676565b90506107828382611699565b9150505b919050565b600a5460ff1690565b60006106846107a1611088565b8461071a85600360006107b2611088565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611121565b600069152d02c7e14af6800000831115610843576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b816108615760006108538461108c565b509294506106889350505050565b600061086c8461108c565b509194506106889350505050565b6001600160a01b03811660009081526004602052604081205460ff16156108ba57506001600160a01b038116600090815260026020526040902054610786565b6001600160a01b03821660009081526001602052604090205461068890610729565b6108e4611088565b6000546001600160a01b03908116911614610946576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b5481565b6000546001600160a01b031690565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106665780601f1061063b57610100808354040283529160200191610666565b6000610684610a13611088565b8461071a85604051806060016040528060258152602001611f066025913960036000610a3d611088565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115df565b6000610684610a7b611088565b8484611267565b6001600160a01b031660009081526004602052604090205460ff1690565b610aa8611088565b6000546001600160a01b03908116911614610b0a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b2a6103e8610b2469152d02c7e14af6800000846116db565b90611699565b600b55600c54610b395743600c555b50565b610b44611088565b6000546001600160a01b03908116911614610ba6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000610bb0611088565b6040519091506001600160a01b038216904780156108fc02916000818181858888f19350505050158015610be8573d6000803e3d6000fd5b5050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610c1f611088565b6000546001600160a01b03908116911614610c81576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615610cef576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205415610d49576001600160a01b038116600090815260016020526040902054610d2f90610729565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b610db7611088565b6000546001600160a01b03908116911614610e19576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610e5e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611daf6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610ec1611088565b6000546001600160a01b03908116911614610f23576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610f90576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600554811015610be857816001600160a01b031660058281548110610fb457fe5b6000918252602090912001546001600160a01b0316141561108057600580546000198101908110610fe157fe5b600091825260209091200154600580546001600160a01b03909216918390811061100757fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff19169055600580548061105957fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610be8565b600101610f93565b3390565b60008060008060008060006110a088611734565b9150915060006110ae611676565b905060008060006110c08c8686611761565b919e909d50909b509599509397509395505050505050565b600061111a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115df565b9392505050565b60008282018381101561111a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166111c05760405162461bcd60e51b8152600401808060200182810382526024815260200180611eb66024913960400191505060405180910390fd5b6001600160a01b0382166112055760405162461bcd60e51b8152600401808060200182810382526022815260200180611dd56022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b43600c546003011061127f5761127d838361179d565b505b6001600160a01b0383166000908152600d602052604090205460ff1615806112bf57506001600160a01b03831660009081526004602052604090205460ff165b611310576040805162461bcd60e51b815260206004820152600c60248201527f6675636b20796f7520626f740000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0383166113555760405162461bcd60e51b8152600401808060200182810382526025815260200180611e916025913960400191505060405180910390fd5b6001600160a01b03821661139a5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d626023913960400191505060405180910390fd5b600081116113d95760405162461bcd60e51b8152600401808060200182810382526029815260200180611e686029913960400191505060405180910390fd5b6113e1610996565b6001600160a01b0316326001600160a01b03161415801561141b5750611405610996565b6001600160a01b0316836001600160a01b031614155b8015611440575061142a610996565b6001600160a01b0316826001600160a01b031614155b1561148657600b548111156114865760405162461bcd60e51b8152600401808060200182810382526028815260200180611df76028913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205460ff1680156114c757506001600160a01b03821660009081526004602052604090205460ff16155b156114dc576114d78383836118e7565b6115da565b6001600160a01b03831660009081526004602052604090205460ff1615801561151d57506001600160a01b03821660009081526004602052604090205460ff165b1561152d576114d78383836119fe565b6001600160a01b03831660009081526004602052604090205460ff1615801561156f57506001600160a01b03821660009081526004602052604090205460ff16155b1561157f576114d7838383611aa4565b6001600160a01b03831660009081526004602052604090205460ff1680156115bf57506001600160a01b03821660009081526004602052604090205460ff165b156115cf576114d7838383611ae5565b6115da838383611aa4565b505050565b6000818484111561166e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561163357818101518382015260200161161b565b50505050905090810190601f1680156116605780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611683611b55565b90925090506116928282611699565b9250505090565b600061111a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cd8565b6000826116ea57506000610688565b828202828482816116f757fe5b041461111a5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e1f6021913960400191505060405180910390fd5b600080806117486064610b248660026116db565b9050600061175685836110d8565b935090915050915091565b600080808061177087866116db565b9050600061177e87876116db565b9050600061178c83836110d8565b929992985090965090945050505050565b60006117a7610996565b6001600160a01b0316326001600160a01b031614156117c857506000610688565b326001600160a01b038416148015906117ea5750326001600160a01b03831614155b1561183d57326000908152600d60205260408082208054600160ff1991821681179092556001600160a01b03878116855283852080548316841790558616845291909220805490911690911790556118bc565b326000908152600e602052604090205460ff168061187357506001600160a01b0382166000908152600e602052604090205460ff165b156118bc5743600c54141561019857326000908152600d60205260408082208054600160ff1991821681179092556001600160a01b038616845291909220805490911690911790555b506001600160a01b03166000908152600e60205260409020805460ff19166001908117909155919050565b60008060008060006118f88661108c565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061192890876110d8565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461195790866110d8565b6001600160a01b03808a1660009081526001602052604080822093909355908916815220546119869085611121565b6001600160a01b0388166000908152600160205260409020556119a98382611d3d565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b6000806000806000611a0f8661108c565b6001600160a01b038d1660009081526001602052604090205494995092975090955093509150611a3f90866110d8565b6001600160a01b03808a16600090815260016020908152604080832094909455918a16815260029091522054611a759083611121565b6001600160a01b0388166000908152600260209081526040808320939093556001905220546119869085611121565b6000806000806000611ab58661108c565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061195790866110d8565b6000806000806000611af68661108c565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611b2690876110d8565b6001600160a01b038916600090815260026020908152604080832093909355600190522054611a3f90866110d8565b600654600090819069152d02c7e14af6800000825b600554811015611c9657826001600060058481548110611b8657fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611beb5750816002600060058481548110611bc457fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611c0a5760065469152d02c7e14af680000094509450505050611cd4565b611c4a6001600060058481548110611c1e57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906110d8565b9250611c8c6002600060058481548110611c6057fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906110d8565b9150600101611b6a565b50600654611cae9069152d02c7e14af6800000611699565b821015611cce5760065469152d02c7e14af6800000935093505050611cd4565b90925090505b9091565b60008183611d275760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561163357818101518382015260200161161b565b506000838581611d3357fe5b0495945050505050565b600654611d4a90836110d8565b600655600754611d5a9082611121565b600755505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122093c4eb05b1ac7c13469c6b31a6d21aad062094afdab00e19e703a896113b614f64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101985760003560e01c80637d1db4a5116100e3578063d543dbeb1161008c578063f2cc0c1811610066578063f2cc0c1814610490578063f2fde38b146104b6578063f84354f1146104dc57610198565b8063d543dbeb1461043d578063d6946eb21461045a578063dd62ed3e1461046257610198565b8063a457c2d7116100bd578063a457c2d7146103bf578063a9059cbb146103eb578063cba0e9961461041757610198565b80637d1db4a51461038b5780638da5cb5b1461039357806395d89b41146103b757610198565b80632d838119116101455780634549b0391161011f5780634549b0391461033857806370a082311461035d578063715018a61461038357610198565b80632d838119146102d1578063313ce567146102ee578063395093511461030c57610198565b806313114a9d1161017657806313114a9d1461027957806318160ddd1461029357806323b872dd1461029b57610198565b8063053ab1821461019d57806306fdde03146101bc578063095ea7b314610239575b600080fd5b6101ba600480360360208110156101b357600080fd5b5035610502565b005b6101c46105da565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fe5781810151838201526020016101e6565b50505050905090810190601f16801561022b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102656004803603604081101561024f57600080fd5b506001600160a01b038135169060200135610670565b604080519115158252519081900360200190f35b61028161068e565b60408051918252519081900360200190f35b610281610694565b610265600480360360608110156102b157600080fd5b506001600160a01b038135811691602081013590911690604001356106a2565b610281600480360360208110156102e757600080fd5b5035610729565b6102f661078b565b6040805160ff9092168252519081900360200190f35b6102656004803603604081101561032257600080fd5b506001600160a01b038135169060200135610794565b6102816004803603604081101561034e57600080fd5b508035906020013515156107e2565b6102816004803603602081101561037357600080fd5b50356001600160a01b031661087a565b6101ba6108dc565b610281610990565b61039b610996565b604080516001600160a01b039092168252519081900360200190f35b6101c46109a5565b610265600480360360408110156103d557600080fd5b506001600160a01b038135169060200135610a06565b6102656004803603604081101561040157600080fd5b506001600160a01b038135169060200135610a6e565b6102656004803603602081101561042d57600080fd5b50356001600160a01b0316610a82565b6101ba6004803603602081101561045357600080fd5b5035610aa0565b6101ba610b3c565b6102816004803603604081101561047857600080fd5b506001600160a01b0381358116916020013516610bec565b6101ba600480360360208110156104a657600080fd5b50356001600160a01b0316610c17565b6101ba600480360360208110156104cc57600080fd5b50356001600160a01b0316610daf565b6101ba600480360360208110156104f257600080fd5b50356001600160a01b0316610eb9565b600061050c611088565b6001600160a01b03811660009081526004602052604090205490915060ff16156105675760405162461bcd60e51b815260040180806020018281038252602c815260200180611eda602c913960400191505060405180910390fd5b60006105728361108c565b505050506001600160a01b03831660009081526001602052604090205490915061059c90826110d8565b6001600160a01b0383166000908152600160205260409020556006546105c290826110d8565b6006556007546105d29084611121565b600755505050565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106665780601f1061063b57610100808354040283529160200191610666565b820191906000526020600020905b81548152906001019060200180831161064957829003601f168201915b5050505050905090565b600061068461067d611088565b848461117b565b5060015b92915050565b60075490565b69152d02c7e14af680000090565b60006106af848484611267565b61071f846106bb611088565b61071a85604051806060016040528060288152602001611e40602891396001600160a01b038a166000908152600360205260408120906106f9611088565b6001600160a01b0316815260208101919091526040016000205491906115df565b61117b565b5060019392505050565b600060065482111561076c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d85602a913960400191505060405180910390fd5b6000610776611676565b90506107828382611699565b9150505b919050565b600a5460ff1690565b60006106846107a1611088565b8461071a85600360006107b2611088565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611121565b600069152d02c7e14af6800000831115610843576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b816108615760006108538461108c565b509294506106889350505050565b600061086c8461108c565b509194506106889350505050565b6001600160a01b03811660009081526004602052604081205460ff16156108ba57506001600160a01b038116600090815260026020526040902054610786565b6001600160a01b03821660009081526001602052604090205461068890610729565b6108e4611088565b6000546001600160a01b03908116911614610946576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b5481565b6000546001600160a01b031690565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106665780601f1061063b57610100808354040283529160200191610666565b6000610684610a13611088565b8461071a85604051806060016040528060258152602001611f066025913960036000610a3d611088565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115df565b6000610684610a7b611088565b8484611267565b6001600160a01b031660009081526004602052604090205460ff1690565b610aa8611088565b6000546001600160a01b03908116911614610b0a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b2a6103e8610b2469152d02c7e14af6800000846116db565b90611699565b600b55600c54610b395743600c555b50565b610b44611088565b6000546001600160a01b03908116911614610ba6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000610bb0611088565b6040519091506001600160a01b038216904780156108fc02916000818181858888f19350505050158015610be8573d6000803e3d6000fd5b5050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610c1f611088565b6000546001600160a01b03908116911614610c81576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615610cef576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205415610d49576001600160a01b038116600090815260016020526040902054610d2f90610729565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b610db7611088565b6000546001600160a01b03908116911614610e19576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610e5e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611daf6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610ec1611088565b6000546001600160a01b03908116911614610f23576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610f90576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600554811015610be857816001600160a01b031660058281548110610fb457fe5b6000918252602090912001546001600160a01b0316141561108057600580546000198101908110610fe157fe5b600091825260209091200154600580546001600160a01b03909216918390811061100757fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff19169055600580548061105957fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610be8565b600101610f93565b3390565b60008060008060008060006110a088611734565b9150915060006110ae611676565b905060008060006110c08c8686611761565b919e909d50909b509599509397509395505050505050565b600061111a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115df565b9392505050565b60008282018381101561111a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166111c05760405162461bcd60e51b8152600401808060200182810382526024815260200180611eb66024913960400191505060405180910390fd5b6001600160a01b0382166112055760405162461bcd60e51b8152600401808060200182810382526022815260200180611dd56022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b43600c546003011061127f5761127d838361179d565b505b6001600160a01b0383166000908152600d602052604090205460ff1615806112bf57506001600160a01b03831660009081526004602052604090205460ff165b611310576040805162461bcd60e51b815260206004820152600c60248201527f6675636b20796f7520626f740000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b0383166113555760405162461bcd60e51b8152600401808060200182810382526025815260200180611e916025913960400191505060405180910390fd5b6001600160a01b03821661139a5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d626023913960400191505060405180910390fd5b600081116113d95760405162461bcd60e51b8152600401808060200182810382526029815260200180611e686029913960400191505060405180910390fd5b6113e1610996565b6001600160a01b0316326001600160a01b03161415801561141b5750611405610996565b6001600160a01b0316836001600160a01b031614155b8015611440575061142a610996565b6001600160a01b0316826001600160a01b031614155b1561148657600b548111156114865760405162461bcd60e51b8152600401808060200182810382526028815260200180611df76028913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205460ff1680156114c757506001600160a01b03821660009081526004602052604090205460ff16155b156114dc576114d78383836118e7565b6115da565b6001600160a01b03831660009081526004602052604090205460ff1615801561151d57506001600160a01b03821660009081526004602052604090205460ff165b1561152d576114d78383836119fe565b6001600160a01b03831660009081526004602052604090205460ff1615801561156f57506001600160a01b03821660009081526004602052604090205460ff16155b1561157f576114d7838383611aa4565b6001600160a01b03831660009081526004602052604090205460ff1680156115bf57506001600160a01b03821660009081526004602052604090205460ff165b156115cf576114d7838383611ae5565b6115da838383611aa4565b505050565b6000818484111561166e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561163357818101518382015260200161161b565b50505050905090810190601f1680156116605780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000806000611683611b55565b90925090506116928282611699565b9250505090565b600061111a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611cd8565b6000826116ea57506000610688565b828202828482816116f757fe5b041461111a5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e1f6021913960400191505060405180910390fd5b600080806117486064610b248660026116db565b9050600061175685836110d8565b935090915050915091565b600080808061177087866116db565b9050600061177e87876116db565b9050600061178c83836110d8565b929992985090965090945050505050565b60006117a7610996565b6001600160a01b0316326001600160a01b031614156117c857506000610688565b326001600160a01b038416148015906117ea5750326001600160a01b03831614155b1561183d57326000908152600d60205260408082208054600160ff1991821681179092556001600160a01b03878116855283852080548316841790558616845291909220805490911690911790556118bc565b326000908152600e602052604090205460ff168061187357506001600160a01b0382166000908152600e602052604090205460ff165b156118bc5743600c54141561019857326000908152600d60205260408082208054600160ff1991821681179092556001600160a01b038616845291909220805490911690911790555b506001600160a01b03166000908152600e60205260409020805460ff19166001908117909155919050565b60008060008060006118f88661108c565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061192890876110d8565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461195790866110d8565b6001600160a01b03808a1660009081526001602052604080822093909355908916815220546119869085611121565b6001600160a01b0388166000908152600160205260409020556119a98382611d3d565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b6000806000806000611a0f8661108c565b6001600160a01b038d1660009081526001602052604090205494995092975090955093509150611a3f90866110d8565b6001600160a01b03808a16600090815260016020908152604080832094909455918a16815260029091522054611a759083611121565b6001600160a01b0388166000908152600260209081526040808320939093556001905220546119869085611121565b6000806000806000611ab58661108c565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061195790866110d8565b6000806000806000611af68661108c565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611b2690876110d8565b6001600160a01b038916600090815260026020908152604080832093909355600190522054611a3f90866110d8565b600654600090819069152d02c7e14af6800000825b600554811015611c9657826001600060058481548110611b8657fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611beb5750816002600060058481548110611bc457fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611c0a5760065469152d02c7e14af680000094509450505050611cd4565b611c4a6001600060058481548110611c1e57fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906110d8565b9250611c8c6002600060058481548110611c6057fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906110d8565b9150600101611b6a565b50600654611cae9069152d02c7e14af6800000611699565b821015611cce5760065469152d02c7e14af6800000935093505050611cd4565b90925090505b9091565b60008183611d275760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561163357818101518382015260200161161b565b506000838581611d3357fe5b0495945050505050565b600654611d4a90836110d8565b600655600754611d5a9082611121565b600755505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320746865206d61785478416d6f756e742e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122093c4eb05b1ac7c13469c6b31a6d21aad062094afdab00e19e703a896113b614f64736f6c634300060c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.