Contract 0xa59a817b5abd42af6c45b90d05131fadaf56f763

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x765adb4f672865370853ad5873628d46420e04abb6687ae14a6aa7fce2bc0300Transfer98699922021-06-19 12:55:1695 days 14 hrs ago0x0311223c2529c95cceb7099996ee326de7f7d3ff IN  0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB0.00051391
0x298a2e7810189d923bd2453e1b5355a1ca5b81e3486128003ab9fa9e1f642d22Transfer98608972021-06-19 5:20:3195 days 21 hrs ago0xfdbcc17c0288990305fd27ff6aada9ae05696da1 IN  0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB0.00051415
0xbfff47fc05dc7b4554aa9c9a7b9f3fecb77de751d07c0f4b18e5f2d09139795a0x6080604098607402021-06-19 5:12:4095 days 22 hrs ago0xfdbcc17c0288990305fd27ff6aada9ae05696da1 IN  Contract Creation0 BNB0.02033476
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xab4670f942c28761826a19e99769f5214f6cdeb1dc06a28e8c9b5cff17d10532100066002021-06-24 6:45:4090 days 20 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x379c83353fbf523b02f7ec4c6741075b1f31b17cd8d2a14f1b52eac3ccde1bab99873962021-06-23 14:45:2891 days 12 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x379c83353fbf523b02f7ec4c6741075b1f31b17cd8d2a14f1b52eac3ccde1bab99873962021-06-23 14:45:2891 days 12 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x379c83353fbf523b02f7ec4c6741075b1f31b17cd8d2a14f1b52eac3ccde1bab99873962021-06-23 14:45:2891 days 12 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xc3b2acef66fa7a4996791297292683a58ac08d186c6472c6c658534cc59f268899459802021-06-22 4:14:4092 days 23 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xc3b2acef66fa7a4996791297292683a58ac08d186c6472c6c658534cc59f268899459802021-06-22 4:14:4092 days 23 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xc3b2acef66fa7a4996791297292683a58ac08d186c6472c6c658534cc59f268899459802021-06-22 4:14:4092 days 23 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x0faa8058068ed2de611e265a2a059bfc6c8de9b4fa3222e19352d6684a0a465599047262021-06-20 17:51:5894 days 9 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x0faa8058068ed2de611e265a2a059bfc6c8de9b4fa3222e19352d6684a0a465599047262021-06-20 17:51:5894 days 9 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x0faa8058068ed2de611e265a2a059bfc6c8de9b4fa3222e19352d6684a0a465599047262021-06-20 17:51:5894 days 9 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x93ebc8ac6c4f95fc53a1acb9b5ebf4d832c32c27c9a0e8b7eb8f33fd5f79ca6298992982021-06-20 13:20:3494 days 13 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x93ebc8ac6c4f95fc53a1acb9b5ebf4d832c32c27c9a0e8b7eb8f33fd5f79ca6298992982021-06-20 13:20:3494 days 13 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x93ebc8ac6c4f95fc53a1acb9b5ebf4d832c32c27c9a0e8b7eb8f33fd5f79ca6298992982021-06-20 13:20:3494 days 13 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x898637af79f3695648c805864d4786496ff1e29d4afdea5a3ace2edaf6c74ac698992602021-06-20 13:18:4094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x898637af79f3695648c805864d4786496ff1e29d4afdea5a3ace2edaf6c74ac698992602021-06-20 13:18:4094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x898637af79f3695648c805864d4786496ff1e29d4afdea5a3ace2edaf6c74ac698992602021-06-20 13:18:4094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xf302c9391420db4370725b3357d380f479de7806079db14efb6c242ffda0c6d198991472021-06-20 13:13:0194 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xf302c9391420db4370725b3357d380f479de7806079db14efb6c242ffda0c6d198991472021-06-20 13:13:0194 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0xf302c9391420db4370725b3357d380f479de7806079db14efb6c242ffda0c6d198991472021-06-20 13:13:0194 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x2c01cd52d98632dc5c5b2d27ddf77386f4923440ad987beaaffb7f59f7f638dc98990232021-06-20 13:06:4994 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x2c01cd52d98632dc5c5b2d27ddf77386f4923440ad987beaaffb7f59f7f638dc98990232021-06-20 13:06:4994 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x2c01cd52d98632dc5c5b2d27ddf77386f4923440ad987beaaffb7f59f7f638dc98990232021-06-20 13:06:4994 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x5b478293bd0e47c549617d23f1a5e0f1140d61b1258939a44a238f8c0b121ef898990002021-06-20 13:05:4094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x3b664fd103e972b7f233ac7f987475c5998b01dcd8af800ca10d160a17759b0798989302021-06-20 13:02:1094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
0x3b664fd103e972b7f233ac7f987475c5998b01dcd8af800ca10d160a17759b0798989302021-06-20 13:02:1094 days 14 hrs ago 0x0473b9119ba568ddb6665dceb025857ed692fffe 0xa59a817b5abd42af6c45b90d05131fadaf56f7630 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UFAToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : UFAToken.sol
pragma solidity ^0.8.0;

contract Context {
  // Empty internal constructor, to prevent people from mistakenly deploying
  // an instance of this contract, which should be used via inheritance.
  constructor () { }

  function _msgSender() internal view returns (address) {
    return msg.sender;
  }

  function _msgData() internal view returns (bytes memory) {
    this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
    return msg.data;
  }
}

interface IBEP20 {
  /**
   * @dev Returns the amount of tokens in existence.
   */
  function totalSupply() external view returns (uint256);

  /**
   * @dev Returns the token decimals.
   */
  function decimals() external view returns (uint8);

  /**
   * @dev Returns the token symbol.
   */
  function symbol() external view returns (string memory);

  /**
  * @dev Returns the token name.
  */
  function name() external view returns (string memory);

  /**
   * @dev Returns the bep token owner.
   */
  function getOwner() external view returns (address);

  /**
   * @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) {
    // Solidity only automatically asserts when dividing by 0
    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;
  }
}

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 () {
    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 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 onlyOwner {
    _transferOwnership(newOwner);
  }

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0), "Ownable: new owner is the zero address");
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

contract UFAToken is Context, IBEP20, Ownable {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;
    uint8 public _decimals;
    string public _symbol;
    string public _name;

    constructor() {
        _name = "UFA Token";
        _symbol = "UFA";
        _decimals = 18;
        _totalSupply = 1000000000 * 1e18;
        // _totalSupply = 300 * 1e18;
        _balances[msg.sender] = _totalSupply;

        emit Transfer(address(0), msg.sender, _totalSupply);
    }

    function getOwner() override external view returns (address) {
        return owner();
    }

    function decimals() override external view returns (uint8) {
        return _decimals;
    }

    function symbol() override external view returns (string memory) {
        return _symbol;
    }

    function name() override external view returns (string memory) {
        return _name;
    }

    function totalSupply() override external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) override external view returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) override external returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) override external view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) override external returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) override external returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero"));
        return true;
    }

    function burn(uint256 amount) public returns (bool) {
        _burn(_msgSender(), amount);
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "BEP20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "BEP20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance"));
    }
}

contract UFATokenSwap is Ownable {
    using SafeMath for uint256;

    IBEP20 public tokenA;
    IBEP20 public tokenB;
    uint256 public rate = 33; 
    uint256 public refrate = 5;
    // uint256 public min_swap = 20000000000000000000000;
    // uint256 public max_swap = 2000000000000000000000000;
    // uint256 public total_swap = 200000000000000000000;

    
    constructor(address _tokenA, address _tokenB
    ) {
        tokenA = IBEP20(_tokenA);  // BUSD
        tokenB = IBEP20(_tokenB);  // UFAToken
    }

    function swap(uint256 _amount, address payable _refaddr) public {
        // require(_amount > 20000000000000000000000, "amount too small");
        // require(_amount < 2000000000000000000000000, "amount too ever");
        uint256 _payback = _amount.mul(rate);
        uint256 _payref = _amount.mul(refrate).div(100);
    
        require(tokenB.balanceOf(address(this)) > _payback, "insufficient contract bal");

        require(tokenA.transferFrom(msg.sender, address(this), _amount), "transfer failed");
        require(tokenB.transfer(msg.sender, _payback), "transfer failed");
        if (_refaddr != address(0)) {
            require(tokenB.transfer(_refaddr, _payref), "transfer failed");
         }
    }

    function setRate(uint256 _rate) public onlyOwner {
        rate = _rate;
    }
    function setrefRate(uint256 _refrate) public onlyOwner {
        refrate = _refrate;
    }
 
    function aBalance() public view returns (uint256) {
        return tokenA.balanceOf(address(this));
    }

    function bBalance() public view returns (uint256) {
        return tokenB.balanceOf(address(this));
    }
    
    function ownerReclaimTokenA() public onlyOwner {
        tokenB.transfer(msg.sender, tokenA.balanceOf(address(this)));
    }

    function ownerReclaimTokenB() public onlyOwner {
        tokenA.transfer(msg.sender, tokenB.balanceOf(address(this)));
    }

    function flushBNB() public onlyOwner {
        uint256 bal = address(this).balance.sub(1);
        payable(msg.sender).transfer(bal);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":"_decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]

60806040523480156200001157600080fd5b5060006200001e6200013a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350604080518082019091526009808252682aa320902a37b5b2b760b91b60209092019182526200009a916006916200013e565b506040805180820190915260038082526255464160e81b6020909201918252620000c7916005916200013e565b506004805460ff191660121790556b033b2e3c9fd0803ce800000060038190553360008181526001602052604080822084905551919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916200012c91620001e4565b60405180910390a36200022a565b3390565b8280546200014c90620001ed565b90600052602060002090601f016020900481019282620001705760008555620001bb565b82601f106200018b57805160ff1916838001178555620001bb565b82800160010185558215620001bb579182015b82811115620001bb5782518255916020019190600101906200019e565b50620001c9929150620001cd565b5090565b5b80821115620001c95760008155600101620001ce565b90815260200190565b6002810460018216806200020257607f821691505b602082108114156200022457634e487b7160e01b600052602260045260246000fd5b50919050565b610ef7806200023a6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb14610224578063b09f126614610237578063d28d88521461023f578063dd62ed3e14610247578063f2fde38b1461025a57610121565b8063715018a6146101e2578063893d20e8146101ec5780638da5cb5b1461020157806395d89b4114610209578063a457c2d71461021157610121565b8063313ce567116100f4578063313ce5671461018c57806332424aa3146101a157806339509351146101a957806342966c68146101bc57806370a08231146101cf57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806323b872dd14610179575b600080fd5b61012e61026d565b60405161013b9190610b41565b60405180910390f35b610157610152366004610ae1565b6102ff565b60405161013b9190610b36565b61016c61031c565b60405161013b9190610d95565b610157610187366004610aa6565b610322565b6101946103a9565b60405161013b9190610d9e565b6101946103b2565b6101576101b7366004610ae1565b6103bb565b6101576101ca366004610b0a565b610409565b61016c6101dd366004610a5a565b610425565b6101ea610440565b005b6101f46104c8565b60405161013b9190610b22565b6101f46104d7565b61012e6104e6565b61015761021f366004610ae1565b6104f5565b610157610232366004610ae1565b61055d565b61012e610571565b61012e6105ff565b61016c610255366004610a74565b61060c565b6101ea610268366004610a5a565b610637565b60606006805461027c90610ddb565b80601f01602080910402602001604051908101604052809291908181526020018280546102a890610ddb565b80156102f55780601f106102ca576101008083540402835291602001916102f5565b820191906000526020600020905b8154815290600101906020018083116102d857829003601f168201915b5050505050905090565b600061031361030c610678565b848461067c565b50600192915050565b60035490565b600061032f848484610730565b61039f8461033b610678565b61039a85604051806060016040528060288152602001610e2d602891396001600160a01b038a16600090815260026020526040812090610379610678565b6001600160a01b03168152602081019190915260400160002054919061083a565b61067c565b5060019392505050565b60045460ff1690565b60045460ff1681565b60006103136103c8610678565b8461039a85600260006103d9610678565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610874565b600061041c610416610678565b836108aa565b5060015b919050565b6001600160a01b031660009081526001602052604090205490565b610448610678565b6000546001600160a01b0390811691161461047e5760405162461bcd60e51b815260040161047590610c9a565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006104d26104d7565b905090565b6000546001600160a01b031690565b60606005805461027c90610ddb565b6000610313610502610678565b8461039a85604051806060016040528060258152602001610e7b602591396002600061052c610678565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061083a565b600061031361056a610678565b8484610730565b6005805461057e90610ddb565b80601f01602080910402602001604051908101604052809291908181526020018280546105aa90610ddb565b80156105f75780601f106105cc576101008083540402835291602001916105f7565b820191906000526020600020905b8154815290600101906020018083116105da57829003601f168201915b505050505081565b6006805461057e90610ddb565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61063f610678565b6000546001600160a01b0390811691161461066c5760405162461bcd60e51b815260040161047590610c9a565b61067581610980565b50565b3390565b6001600160a01b0383166106a25760405162461bcd60e51b815260040161047590610bd9565b6001600160a01b0382166106c85760405162461bcd60e51b815260040161047590610d53565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610723908590610d95565b60405180910390a3505050565b6001600160a01b0383166107565760405162461bcd60e51b815260040161047590610b94565b6001600160a01b03821661077c5760405162461bcd60e51b815260040161047590610ccf565b6107b981604051806060016040528060268152602001610e55602691396001600160a01b038616600090815260016020526040902054919061083a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107e89082610874565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610723908590610d95565b6000818484111561085e5760405162461bcd60e51b81526004016104759190610b41565b50600061086b8486610dc4565b95945050505050565b6000806108818385610dac565b9050838110156108a35760405162461bcd60e51b815260040161047590610c63565b9392505050565b6001600160a01b0382166108d05760405162461bcd60e51b815260040161047590610d12565b61090d81604051806060016040528060228152602001610ea0602291396001600160a01b038516600090815260016020526040902054919061083a565b6001600160a01b0383166000908152600160205260409020556003546109339082610a01565b6003556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610974908590610d95565b60405180910390a35050565b6001600160a01b0381166109a65760405162461bcd60e51b815260040161047590610c1d565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006108a383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061083a565b80356001600160a01b038116811461042057600080fd5b600060208284031215610a6b578081fd5b6108a382610a43565b60008060408385031215610a86578081fd5b610a8f83610a43565b9150610a9d60208401610a43565b90509250929050565b600080600060608486031215610aba578081fd5b610ac384610a43565b9250610ad160208501610a43565b9150604084013590509250925092565b60008060408385031215610af3578182fd5b610afc83610a43565b946020939093013593505050565b600060208284031215610b1b578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610b6d57858101830151858201604001528201610b51565b81811115610b7e5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526025908201527f42455032303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f42455032303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526023908201527f42455032303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526021908201527f42455032303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526022908201527f42455032303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610dbf57610dbf610e16565b500190565b600082821015610dd657610dd6610e16565b500390565b600281046001821680610def57607f821691505b60208210811415610e1057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe42455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e20616d6f756e7420657863656564732062616c616e6365a2646970667358221220870784d873871503023e8a38a2eacc11a9dcf0bcb315413093a7f2811464348d64736f6c63430008000033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading