ETH Price: $3,445.24 (+1.37%)

Contract

0x081131434f93063751813C619Ecca9C4dC7862a3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Dalarnia (DAR) (@$0.1524)
Transaction Hash
Method
Block
From
To
Transfer214744042024-12-24 19:26:1156 mins ago1735068371IN
Mines Of Dalarnia: DAR Token
0 ETH0.000179636.04825099
Transfer214743772024-12-24 19:20:471 hr ago1735068047IN
Mines Of Dalarnia: DAR Token
0 ETH0.000387197.50547347
Transfer214742522024-12-24 18:55:351 hr ago1735066535IN
Mines Of Dalarnia: DAR Token
0 ETH0.000336837.19904307
Transfer214739802024-12-24 18:00:592 hrs ago1735063259IN
Mines Of Dalarnia: DAR Token
0 ETH0.00020797
Transfer214739602024-12-24 17:56:592 hrs ago1735063019IN
Mines Of Dalarnia: DAR Token
0 ETH0.000376767.30150113
Transfer214737112024-12-24 17:07:113 hrs ago1735060031IN
Mines Of Dalarnia: DAR Token
0 ETH0.0002247.54490364
Transfer214736832024-12-24 17:01:353 hrs ago1735059695IN
Mines Of Dalarnia: DAR Token
0 ETH0.000558310.82218663
Transfer214735312024-12-24 16:30:593 hrs ago1735057859IN
Mines Of Dalarnia: DAR Token
0 ETH0.0007167913.89432902
Transfer214727372024-12-24 13:50:476 hrs ago1735048247IN
Mines Of Dalarnia: DAR Token
0 ETH0.0005661710.97214655
Transfer214727202024-12-24 13:47:116 hrs ago1735048031IN
Mines Of Dalarnia: DAR Token
0 ETH0.000240358.09585807
Transfer214726392024-12-24 13:30:596 hrs ago1735047059IN
Mines Of Dalarnia: DAR Token
0 ETH0.000480098.90895228
Transfer214724402024-12-24 12:50:597 hrs ago1735044659IN
Mines Of Dalarnia: DAR Token
0 ETH0.000198086.67211958
Transfer214724212024-12-24 12:47:117 hrs ago1735044431IN
Mines Of Dalarnia: DAR Token
0 ETH0.000334967.15896172
Transfer214723662024-12-24 12:36:117 hrs ago1735043771IN
Mines Of Dalarnia: DAR Token
0 ETH0.000447888.68182416
Transfer214722672024-12-24 12:15:598 hrs ago1735042559IN
Mines Of Dalarnia: DAR Token
0 ETH0.00020797
Transfer214722192024-12-24 12:06:238 hrs ago1735041983IN
Mines Of Dalarnia: DAR Token
0 ETH0.000192396.48039097
Transfer214719362024-12-24 11:09:239 hrs ago1735038563IN
Mines Of Dalarnia: DAR Token
0 ETH0.000226986.57910856
Approve214719052024-12-24 11:03:119 hrs ago1735038191IN
Mines Of Dalarnia: DAR Token
0 ETH0.000280476.07332045
Transfer214718692024-12-24 10:55:599 hrs ago1735037759IN
Mines Of Dalarnia: DAR Token
0 ETH0.000179056.03116691
Transfer214718502024-12-24 10:52:119 hrs ago1735037531IN
Mines Of Dalarnia: DAR Token
0 ETH0.000335496.50329026
Transfer214717812024-12-24 10:37:599 hrs ago1735036679IN
Mines Of Dalarnia: DAR Token
0 ETH0.000340056.5916755
Transfer214717462024-12-24 10:30:599 hrs ago1735036259IN
Mines Of Dalarnia: DAR Token
0 ETH0.00026739
Transfer214717272024-12-24 10:27:119 hrs ago1735036031IN
Mines Of Dalarnia: DAR Token
0 ETH0.000444628.61650213
Transfer214716412024-12-24 10:09:3510 hrs ago1735034975IN
Mines Of Dalarnia: DAR Token
0 ETH0.000201686.79309722
Transfer214716232024-12-24 10:05:5910 hrs ago1735034759IN
Mines Of Dalarnia: DAR Token
0 ETH0.00017826
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214744192024-12-24 19:29:1153 mins ago1735068551
0x08113143...4dC7862a3
0 ETH
214743992024-12-24 19:25:1157 mins ago1735068311
0x08113143...4dC7862a3
0 ETH
214743842024-12-24 19:22:111 hr ago1735068131
0x08113143...4dC7862a3
0 ETH
214742402024-12-24 18:53:111 hr ago1735066391
0x08113143...4dC7862a3
0 ETH
214726392024-12-24 13:30:596 hrs ago1735047059
0x08113143...4dC7862a3
0 ETH
214722442024-12-24 12:11:238 hrs ago1735042283
0x08113143...4dC7862a3
0 ETH
214722032024-12-24 12:03:118 hrs ago1735041791
0x08113143...4dC7862a3
0 ETH
214720052024-12-24 11:23:118 hrs ago1735039391
0x08113143...4dC7862a3
0 ETH
214720052024-12-24 11:23:118 hrs ago1735039391
0x08113143...4dC7862a3
0 ETH
214720052024-12-24 11:23:118 hrs ago1735039391
0x08113143...4dC7862a3
0 ETH
214719382024-12-24 11:09:479 hrs ago1735038587
0x08113143...4dC7862a3
0 ETH
214719382024-12-24 11:09:479 hrs ago1735038587
0x08113143...4dC7862a3
0 ETH
214719382024-12-24 11:09:479 hrs ago1735038587
0x08113143...4dC7862a3
0 ETH
214719112024-12-24 11:04:239 hrs ago1735038263
0x08113143...4dC7862a3
0 ETH
214719112024-12-24 11:04:239 hrs ago1735038263
0x08113143...4dC7862a3
0 ETH
214719112024-12-24 11:04:239 hrs ago1735038263
0x08113143...4dC7862a3
0 ETH
214718852024-12-24 10:59:119 hrs ago1735037951
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
214711412024-12-24 8:28:5911 hrs ago1735028939
0x08113143...4dC7862a3
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BEP20Token

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-20
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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 Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
  // Empty internal constructor, to prevent people from mistakenly deploying
  // an instance of this contract, which should be used via inheritance.
  constructor () internal { }

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

/**
 * @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;
  }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
  address 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 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 BEP20Token is Context, IBEP20, Ownable {
  using SafeMath for uint256;

  mapping (address => uint256) private _balances;

  mapping (address => mapping (address => uint256)) private _allowances;
  
  event TransferToNative(address indexed from, bytes32 indexed to, uint256 value);
  event TransferFromNative(address indexed to, bytes32 indexed refID, uint256 value);

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

  constructor(uint256 totalSupply, address owner) public {
    _name = "Dalarnia";
    _symbol = "DAR";
    _decimals = 6;
    _totalSupply = totalSupply;
    _balances[owner] = totalSupply;
    emit Transfer(address(0), owner, _totalSupply);
    
    transferOwnership(owner);
  }

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

  /**
   * @dev Returns the token decimals.
   */
  function decimals() override external view returns (uint8) {
    return _decimals;
  }

  /**
   * @dev Returns the token symbol.
   */
  function symbol() override external view returns (string memory) {
    return _symbol;
  }

  /**
  * @dev Returns the token name.
  */
  function name() override external view returns (string memory) {
    return _name;
  }

  /**
   * @dev See {BEP20-totalSupply}.
   */
  function totalSupply() override external view returns (uint256) {
    return _totalSupply;
  }

  /**
   * @dev See {BEP20-balanceOf}.
   */
  function balanceOf(address account) override external view returns (uint256) {
    return _balances[account];
  }

  /**
   * @dev See {BEP20-transfer}.
   *
   * Requirements:
   *
   * - `recipient` cannot be the zero address.
   * - the caller must have a balance of at least `amount`.
   */
  function transfer(address recipient, uint256 amount) override external returns (bool) {
    _transfer(_msgSender(), recipient, amount);
    return true;
  }

  /**
   * @dev See {BEP20-allowance}.
   */
  function allowance(address owner, address spender) override external view returns (uint256) {
    return _allowances[owner][spender];
  }

  /**
   * @dev See {BEP20-approve}.
   *
   * Requirements:
   *
   * - `spender` cannot be the zero address.
   */
  function approve(address spender, uint256 amount) override external returns (bool) {
    _approve(_msgSender(), spender, amount);
    return true;
  }

  /**
   * @dev See {BEP20-transferFrom}.
   *
   * Emits an {Approval} event indicating the updated allowance. This is not
   * required by the EIP. See the note at the beginning of {BEP20};
   *
   * Requirements:
   * - `sender` and `recipient` cannot be the zero address.
   * - `sender` must have a balance of at least `amount`.
   * - the caller must have allowance for `sender`'s tokens of at least
   * `amount`.
   */
  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;
  }

  /**
   * @dev Atomically increases the allowance granted to `spender` by the caller.
   *
   * This is an alternative to {approve} that can be used as a mitigation for
   * problems described in {BEP20-approve}.
   *
   * Emits an {Approval} event indicating the updated allowance.
   *
   * Requirements:
   *
   * - `spender` cannot be the zero address.
   */
  function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
    _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
    return true;
  }

  /**
   * @dev Atomically decreases the allowance granted to `spender` by the caller.
   *
   * This is an alternative to {approve} that can be used as a mitigation for
   * problems described in {BEP20-approve}.
   *
   * Emits an {Approval} event indicating the updated allowance.
   *
   * Requirements:
   *
   * - `spender` cannot be the zero address.
   * - `spender` must have allowance for the caller of at least
   * `subtractedValue`.
   */
  function decreaseAllowance(address spender, uint256 subtractedValue)  public returns (bool) {
    _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero"));
    return true;
  }

  /**
   * @dev Moves tokens `amount` from `sender` to `recipient`.
   *
   * This is internal function is equivalent to {transfer}, and can be used to
   * e.g. implement automatic token fees, slashing mechanisms, etc.
   *
   * Emits a {Transfer} event.
   *
   * Requirements:
   *
   * - `sender` cannot be the zero address.
   * - `recipient` cannot be the zero address.
   * - `sender` must have a balance of at least `amount`.
   */
  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);
  }

  /** @dev Creates `amount` tokens and assigns them to `account`, increasing
   * the total supply.
   *
   * Emits a {Transfer} event with `from` set to the zero address.
   *
   * Requirements
   *
   * - `to` cannot be the zero address.
   */
  function _mint(address account, uint256 amount) internal {
    require(account != address(0), "BEP20: mint to the zero address");

    _totalSupply = _totalSupply.add(amount);
    _balances[account] = _balances[account].add(amount);
    emit Transfer(address(0), account, amount);
  }
  
    /**
     * @dev Burns a specific amount of tokens and emit transfer event for native chain
     * @param to The address to transfer to in the native chain.
     * @param value The amount of token to be burned.
     */
    function transferToNative(bytes32 to, uint256 value) public {
        _burn(msg.sender, value);
        emit TransferToNative(msg.sender, to, value);
    }
  
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @param refID identifier of a transfer on source chain, if any
     * @return A boolean that indicates if the operation was successful.
     */
    function transferFromNative(address to, uint256 value, bytes32 refID) public onlyOwner returns (bool) {
        _mint(to, value);
        emit TransferFromNative(to, refID, value);
        return true;
    }

  /**
   * @dev Destroys `amount` tokens from `account`, reducing the
   * total supply.
   *
   * Emits a {Transfer} event with `to` set to the zero address.
   *
   * Requirements
   *
   * - `account` cannot be the zero address.
   * - `account` must have at least `amount` tokens.
   */
  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);
  }

  /**
   * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
   *
   * This is internal function is equivalent to `approve`, and can be used to
   * e.g. set automatic allowances for certain subsystems, etc.
   *
   * Emits an {Approval} event.
   *
   * Requirements:
   *
   * - `owner` cannot be the zero address.
   * - `spender` cannot be the zero address.
   */
  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);
  }

  /**
   * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
   * from the caller's allowance.
   *
   * See {_burn} and {_approve}.
   */
  function _burnFrom(address account, uint256 amount) internal {
    _burn(account, amount);
    _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance"));
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"bytes32","name":"refID","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferFromNative","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"bytes32","name":"to","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferToNative","type":"event"},{"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":[],"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes32","name":"refID","type":"bytes32"}],"name":"transferFromNative","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferToNative","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620013c0380380620013c0833981810160405260408110156200003757600080fd5b50805160209091015160006200004c62000159565b600080546001600160a01b0319166001600160a01b038316908117825560405192935091600080516020620013a0833981519152908290a3506040805180820190915260088082526744616c61726e696160c01b6020909201918252620000b69160069162000269565b50604080518082019091526003808252622220a960e91b6020909201918252620000e39160059162000269565b506004805460ff1916600617905560038290556001600160a01b0381166000818152600160209081526040808320869055805186815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a362000151816200015d565b505062000305565b3390565b6200016762000159565b6000546001600160a01b03908116911614620001ca576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b620001d581620001d8565b50565b6001600160a01b0381166200021f5760405162461bcd60e51b81526004018080602001828103825260268152602001806200137a6026913960400191505060405180910390fd5b600080546040516001600160a01b0380851693921691600080516020620013a083398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002ac57805160ff1916838001178555620002dc565b82800160010185558215620002dc579182015b82811115620002dc578251825591602001919060010190620002bf565b50620002ea929150620002ee565b5090565b5b80821115620002ea5760008155600101620002ef565b61106580620003156000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d7146102ee578063a9059cbb1461031a578063d98057c814610346578063dd62ed3e14610378578063f2fde38b146103a65761010b565b8063715018a6146102b2578063893d20e8146102ba5780638da5cb5b146102de57806395d89b41146102e65761010b565b806323b872dd116100de57806323b872dd1461020c578063313ce56714610242578063395093511461026057806370a082311461028c5761010b565b806306fdde0314610110578063095ea7b31461018d5780631396f857146101cd57806318160ddd146101f2575b600080fd5b6101186103cc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610462565b604080519115158252519081900360200190f35b6101f0600480360360408110156101e357600080fd5b508035906020013561047f565b005b6101fa6104c4565b60408051918252519081900360200190f35b6101b96004803603606081101561022257600080fd5b506001600160a01b038135811691602081013590911690604001356104ca565b61024a610551565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561027657600080fd5b506001600160a01b03813516906020013561055a565b6101fa600480360360208110156102a257600080fd5b50356001600160a01b03166105a8565b6101f06105c3565b6102c2610677565b604080516001600160a01b039092168252519081900360200190f35b6102c2610686565b610118610695565b6101b96004803603604081101561030457600080fd5b506001600160a01b0381351690602001356106f6565b6101b96004803603604081101561033057600080fd5b506001600160a01b03813516906020013561075e565b6101b96004803603606081101561035c57600080fd5b506001600160a01b038135169060208101359060400135610772565b6101fa6004803603604081101561038e57600080fd5b506001600160a01b0381358116916020013516610832565b6101f0600480360360208110156103bc57600080fd5b50356001600160a01b031661085d565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b5050505050905090565b600061047661046f6108d3565b84846108d7565b50600192915050565b61048933826109c3565b604080518281529051839133917f82c6ab3718ccb4cf1157245de6052ef1ebe596ee4ff6b5a23c48cd610a1bb3529181900360200190a35050565b60035490565b60006104d7848484610ab3565b610547846104e36108d3565b61054285604051806060016040528060288152602001610f35602891396001600160a01b038a166000908152600260205260408120906105216108d3565b6001600160a01b031681526020810191909152604001600020549190610c05565b6108d7565b5060019392505050565b60045460ff1690565b60006104766105676108d3565b8461054285600260006105786108d3565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c9c565b6001600160a01b031660009081526001602052604090205490565b6105cb6108d3565b6000546001600160a01b0390811691161461062d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610681610686565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104585780601f1061042d57610100808354040283529160200191610458565b60006104766107036108d3565b8461054285604051806060016040528060258152602001610fa6602591396002600061072d6108d3565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c05565b600061047661076b6108d3565b8484610ab3565b600061077c6108d3565b6000546001600160a01b039081169116146107de576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6107e88484610cfd565b60408051848152905183916001600160a01b038716917fec1c07bf8768248649595ca4787b6565d34cd6a0e3e2cd58d80af7b38c4bd59e9181900360200190a35060019392505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6108656108d3565b6000546001600160a01b039081169116146108c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108d081610de3565b50565b3390565b6001600160a01b03831661091c5760405162461bcd60e51b8152600401808060200182810382526024815260200180610eeb6024913960400191505060405180910390fd5b6001600160a01b0382166109615760405162461bcd60e51b815260040180806020018281038252602281526020018061100e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610a085760405162461bcd60e51b8152600401808060200182810382526021815260200180610fcb6021913960400191505060405180910390fd5b610a4581604051806060016040528060228152602001610fec602291396001600160a01b0385166000908152600160205260409020549190610c05565b6001600160a01b038316600090815260016020526040902055600354610a6b9082610e83565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038316610af85760405162461bcd60e51b8152600401808060200182810382526025815260200180610ec66025913960400191505060405180910390fd5b6001600160a01b038216610b3d5760405162461bcd60e51b8152600401808060200182810382526023815260200180610f836023913960400191505060405180910390fd5b610b7a81604051806060016040528060268152602001610f5d602691396001600160a01b0386166000908152600160205260409020549190610c05565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610ba99082610c9c565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c59578181015183820152602001610c41565b50505050905090810190601f168015610c865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610cf6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d58576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d659082610c9c565b6003556001600160a01b038216600090815260016020526040902054610d8b9082610c9c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116610e285760405162461bcd60e51b8152600401808060200182810382526026815260200180610f0f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cf683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c0556fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f206164647265737342455032303a206275726e20616d6f756e7420657863656564732062616c616e636542455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212208abf8e792cbc307bbb9197570a16dbceaeedb0d2ca41fb42366b491c3e6b715964736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000000000000000000000000000000246139ca80000000000000000000000000000a1dfde5d363fe2b50b56091c4e4b0d7e0ae5f90f

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d7146102ee578063a9059cbb1461031a578063d98057c814610346578063dd62ed3e14610378578063f2fde38b146103a65761010b565b8063715018a6146102b2578063893d20e8146102ba5780638da5cb5b146102de57806395d89b41146102e65761010b565b806323b872dd116100de57806323b872dd1461020c578063313ce56714610242578063395093511461026057806370a082311461028c5761010b565b806306fdde0314610110578063095ea7b31461018d5780631396f857146101cd57806318160ddd146101f2575b600080fd5b6101186103cc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610462565b604080519115158252519081900360200190f35b6101f0600480360360408110156101e357600080fd5b508035906020013561047f565b005b6101fa6104c4565b60408051918252519081900360200190f35b6101b96004803603606081101561022257600080fd5b506001600160a01b038135811691602081013590911690604001356104ca565b61024a610551565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561027657600080fd5b506001600160a01b03813516906020013561055a565b6101fa600480360360208110156102a257600080fd5b50356001600160a01b03166105a8565b6101f06105c3565b6102c2610677565b604080516001600160a01b039092168252519081900360200190f35b6102c2610686565b610118610695565b6101b96004803603604081101561030457600080fd5b506001600160a01b0381351690602001356106f6565b6101b96004803603604081101561033057600080fd5b506001600160a01b03813516906020013561075e565b6101b96004803603606081101561035c57600080fd5b506001600160a01b038135169060208101359060400135610772565b6101fa6004803603604081101561038e57600080fd5b506001600160a01b0381358116916020013516610832565b6101f0600480360360208110156103bc57600080fd5b50356001600160a01b031661085d565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b5050505050905090565b600061047661046f6108d3565b84846108d7565b50600192915050565b61048933826109c3565b604080518281529051839133917f82c6ab3718ccb4cf1157245de6052ef1ebe596ee4ff6b5a23c48cd610a1bb3529181900360200190a35050565b60035490565b60006104d7848484610ab3565b610547846104e36108d3565b61054285604051806060016040528060288152602001610f35602891396001600160a01b038a166000908152600260205260408120906105216108d3565b6001600160a01b031681526020810191909152604001600020549190610c05565b6108d7565b5060019392505050565b60045460ff1690565b60006104766105676108d3565b8461054285600260006105786108d3565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c9c565b6001600160a01b031660009081526001602052604090205490565b6105cb6108d3565b6000546001600160a01b0390811691161461062d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610681610686565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104585780601f1061042d57610100808354040283529160200191610458565b60006104766107036108d3565b8461054285604051806060016040528060258152602001610fa6602591396002600061072d6108d3565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c05565b600061047661076b6108d3565b8484610ab3565b600061077c6108d3565b6000546001600160a01b039081169116146107de576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6107e88484610cfd565b60408051848152905183916001600160a01b038716917fec1c07bf8768248649595ca4787b6565d34cd6a0e3e2cd58d80af7b38c4bd59e9181900360200190a35060019392505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6108656108d3565b6000546001600160a01b039081169116146108c7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108d081610de3565b50565b3390565b6001600160a01b03831661091c5760405162461bcd60e51b8152600401808060200182810382526024815260200180610eeb6024913960400191505060405180910390fd5b6001600160a01b0382166109615760405162461bcd60e51b815260040180806020018281038252602281526020018061100e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610a085760405162461bcd60e51b8152600401808060200182810382526021815260200180610fcb6021913960400191505060405180910390fd5b610a4581604051806060016040528060228152602001610fec602291396001600160a01b0385166000908152600160205260409020549190610c05565b6001600160a01b038316600090815260016020526040902055600354610a6b9082610e83565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038316610af85760405162461bcd60e51b8152600401808060200182810382526025815260200180610ec66025913960400191505060405180910390fd5b6001600160a01b038216610b3d5760405162461bcd60e51b8152600401808060200182810382526023815260200180610f836023913960400191505060405180910390fd5b610b7a81604051806060016040528060268152602001610f5d602691396001600160a01b0386166000908152600160205260409020549190610c05565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610ba99082610c9c565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c945760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c59578181015183820152602001610c41565b50505050905090810190601f168015610c865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610cf6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d58576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610d659082610c9c565b6003556001600160a01b038216600090815260016020526040902054610d8b9082610c9c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116610e285760405162461bcd60e51b8152600401808060200182810382526026815260200180610f0f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cf683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c0556fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f206164647265737342455032303a206275726e20616d6f756e7420657863656564732062616c616e636542455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212208abf8e792cbc307bbb9197570a16dbceaeedb0d2ca41fb42366b491c3e6b715964736f6c634300060c0033

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

000000000000000000000000000000000000000000000000000246139ca80000000000000000000000000000a1dfde5d363fe2b50b56091c4e4b0d7e0ae5f90f

-----Decoded View---------------
Arg [0] : totalSupply (uint256): 640000000000000
Arg [1] : owner (address): 0xA1dFde5d363fE2B50B56091c4e4B0D7e0AE5F90f

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000246139ca80000
Arg [1] : 000000000000000000000000a1dfde5d363fe2b50b56091c4e4b0d7e0ae5f90f


Deployed Bytecode Sourcemap

11341:8740:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12631:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13716:153;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13716:153:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;17618:158;;;;;;;;;;;;;;;;-1:-1:-1;17618:158:0;;;;;;;:::i;:::-;;12775:96;;;:::i;:::-;;;;;;;;;;;;;;;;14314:301;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14314:301:0;;;;;;;;;;;;;;;;;:::i;12341:88::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14997:200;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14997:200:0;;;;;;;;:::i;12925:115::-;;;;;;;;;;;;;;;;-1:-1:-1;12925:115:0;-1:-1:-1;;;;;12925:115:0;;:::i;10643:130::-;;;:::i;12194:88::-;;;:::i;:::-;;;;-1:-1:-1;;;;;12194:88:0;;;;;;;;;;;;;;10041:73;;;:::i;12486:92::-;;;:::i;15669:252::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15669:252:0;;;;;;;;:::i;13234:159::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13234:159:0;;;;;;;;:::i;18103:211::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18103:211:0;;;;;;;;;;;;;:::i;13447:139::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13447:139:0;;;;;;;;;;:::i;10918:103::-;;;;;;;;;;;;;;;;-1:-1:-1;10918:103:0;-1:-1:-1;;;;;10918:103:0;;:::i;12631:88::-;12708:5;12701:12;;;;;;;;-1:-1:-1;;12701:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12679:13;;12701:12;;12708:5;;12701:12;;12708:5;12701:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12631:88;:::o;13716:153::-;13793:4;13806:39;13815:12;:10;:12::i;:::-;13829:7;13838:6;13806:8;:39::i;:::-;-1:-1:-1;13859:4:0;13716:153;;;;:::o;17618:158::-;17689:24;17695:10;17707:5;17689;:24::i;:::-;17729:39;;;;;;;;17758:2;;17746:10;;17729:39;;;;;;;;;17618:158;;:::o;12775:96::-;12853:12;;12775:96;:::o;14314:301::-;14414:4;14427:36;14437:6;14445:9;14456:6;14427:9;:36::i;:::-;14470:121;14479:6;14487:12;:10;:12::i;:::-;14501:89;14539:6;14501:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14501:19:0;;;;;;:11;:19;;;;;;14521:12;:10;:12::i;:::-;-1:-1:-1;;;;;14501:33:0;;;;;;;;;;;;-1:-1:-1;14501:33:0;;;:89;:37;:89::i;:::-;14470:8;:121::i;:::-;-1:-1:-1;14605:4:0;14314:301;;;;;:::o;12341:88::-;12414:9;;;;12341:88;:::o;14997:200::-;15077:4;15090:83;15099:12;:10;:12::i;:::-;15113:7;15122:50;15161:10;15122:11;:25;15134:12;:10;:12::i;:::-;-1:-1:-1;;;;;15122:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15122:25:0;;;:34;;;;;;;;;;;:38;:50::i;12925:115::-;-1:-1:-1;;;;;13016:18:0;12993:7;13016:18;;;:9;:18;;;;;;;12925:115::o;10643:130::-;10245:12;:10;:12::i;:::-;10235:6;;-1:-1:-1;;;;;10235:6:0;;;:22;;;10227:67;;;;;-1:-1:-1;;;10227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10738:1:::1;10722:6:::0;;10701:40:::1;::::0;-1:-1:-1;;;;;10722:6:0;;::::1;::::0;10701:40:::1;::::0;10738:1;;10701:40:::1;10765:1;10748:19:::0;;-1:-1:-1;;;;;;10748:19:0::1;::::0;;10643:130::o;12194:88::-;12246:7;12269;:5;:7::i;:::-;12262:14;;12194:88;:::o;10041:73::-;10079:7;10102:6;-1:-1:-1;;;;;10102:6:0;10041:73;:::o;12486:92::-;12565:7;12558:14;;;;;;;;-1:-1:-1;;12558:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12536:13;;12558:14;;12565:7;;12558:14;;12565:7;12558:14;;;;;;;;;;;;;;;;;;;;;;;;15669:252;15755:4;15768:129;15777:12;:10;:12::i;:::-;15791:7;15800:96;15839:15;15800:96;;;;;;;;;;;;;;;;;:11;:25;15812:12;:10;:12::i;:::-;-1:-1:-1;;;;;15800:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15800:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;13234:159::-;13314:4;13327:42;13337:12;:10;:12::i;:::-;13351:9;13362:6;13327:9;:42::i;18103:211::-;18199:4;10245:12;:10;:12::i;:::-;10235:6;;-1:-1:-1;;;;;10235:6:0;;;:22;;;10227:67;;;;;-1:-1:-1;;;10227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18216:16:::1;18222:2;18226:5;18216;:16::i;:::-;18248:36;::::0;;;;;;;18271:5;;-1:-1:-1;;;;;18248:36:0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;18302:4:0::1;18103:211:::0;;;;;:::o;13447:139::-;-1:-1:-1;;;;;13553:18:0;;;13530:7;13553:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13447:139::o;10918:103::-;10245:12;:10;:12::i;:::-;10235:6;;-1:-1:-1;;;;;10235:6:0;;;:22;;;10227:67;;;;;-1:-1:-1;;;10227:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10987:28:::1;11006:8;10987:18;:28::i;:::-;10918:103:::0;:::o;3738:92::-;3814:10;3738:92;:::o;19364:320::-;-1:-1:-1;;;;;19454:19:0;;19446:68;;;;-1:-1:-1;;;19446:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19529:21:0;;19521:68;;;;-1:-1:-1;;;19521:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19598:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;19646:32;;;;;;;;;;;;;;;;;19364:320;;;:::o;18622:330::-;-1:-1:-1;;;;;18694:21:0;;18686:67;;;;-1:-1:-1;;;18686:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18783:68;18806:6;18783:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18783:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;18762:18:0;;;;;;:9;:18;;;;;:89;18873:12;;:24;;18890:6;18873:16;:24::i;:::-;18858:12;:39;18909:37;;;;;;;;18935:1;;-1:-1:-1;;;;;18909:37:0;;;;;;;;;;;;18622:330;;:::o;16381:449::-;-1:-1:-1;;;;;16475:20:0;;16467:70;;;;-1:-1:-1;;;16467:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16552:23:0;;16544:71;;;;-1:-1:-1;;;16544:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16644;16666:6;16644:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16644:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;16624:17:0;;;;;;;:9;:17;;;;;;:91;;;;16745:20;;;;;;;:32;;16770:6;16745:24;:32::i;:::-;-1:-1:-1;;;;;16722:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;16789:35;;;;;;;16722:20;;16789:35;;;;;;;;;;;;;16381:449;;;:::o;5697:178::-;5783:7;5815:12;5807:6;;;;5799:29;;;;-1:-1:-1;;;5799:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5847:5:0;;;5697:178::o;4870:167::-;4928:7;4956:5;;;4976:6;;;;4968:46;;;;;-1:-1:-1;;;4968:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5030:1;4870:167;-1:-1:-1;;;4870:167:0:o;17091:290::-;-1:-1:-1;;;;;17163:21:0;;17155:65;;;;;-1:-1:-1;;;17155:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17244:12;;:24;;17261:6;17244:16;:24::i;:::-;17229:12;:39;-1:-1:-1;;;;;17296:18:0;;;;;;:9;:18;;;;;;:30;;17319:6;17296:22;:30::i;:::-;-1:-1:-1;;;;;17275:18:0;;;;;;:9;:18;;;;;;;;:51;;;;17338:37;;;;;;;17275:18;;;;17338:37;;;;;;;;;;17091:290;;:::o;11119:215::-;-1:-1:-1;;;;;11189:22:0;;11181:73;;;;-1:-1:-1;;;11181:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11287:6;;;11266:38;;-1:-1:-1;;;;;11266:38:0;;;;11287:6;;;11266:38;;;11311:6;:17;;-1:-1:-1;;;;;;11311:17:0;-1:-1:-1;;;;;11311:17:0;;;;;;;;;;11119:215::o;5292:130::-;5350:7;5373:43;5377:1;5380;5373:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

ipfs://8abf8e792cbc307bbb9197570a16dbceaeedb0d2ca41fb42366b491c3e6b7159

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Mines of Dalarnia is an action-adventure game. Players mine and combine various in-game items, improving their skills and gear to unlock the MoD universe's secrets while fighting enemies and searching for rare relics and artifacts.

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.