Contract 0x270178366a592ba598c2e9d2971da65f7baa7c86

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1bc79611922004794e93a0d2b9c2f41c2171296640333f729ce5686b40eae0b8Approve147519262022-01-28 5:54:362 hrs 2 mins ago0x7d209ce606cef6f5a7c575e961f3715b7cc67b3c IN  KillSwitch: KSW Token0 BNB0.00022255
0x1a6d61284c11a4f8dfe37db13eb236193fc8095080c364f69be6099de6b26db1Transfer147516392022-01-28 5:40:152 hrs 16 mins ago0x6e2ac2c394c721f5ed56556736564d19bd266d5a IN  KillSwitch: KSW Token0 BNB0.000255585
0x9633ddd700cc8cea2b83a420b57a22781c739fc9d6453ce4789fa14c8e2ade18Approve147466972022-01-28 1:31:586 hrs 24 mins ago0x76f9ec4df2e235becf733ec1db438980f7ca348a IN  KillSwitch: KSW Token0 BNB0.00022255
0x5802e5e58ca70a50a7eb6a2bd14888a54bc02acedc38a190182ac589c7e64376Approve147465952022-01-28 1:26:526 hrs 29 mins ago0x8bb798b4e5a0873d99e0f4360a189764194e077c IN  KillSwitch: KSW Token0 BNB0.00022255
0x92668d167de6392adc46fec4054fdf8a94c81a83c44ca25606291bc5c9b8aa44Transfer147402922022-01-27 20:09:5711 hrs 46 mins ago0x59f894c7929e6fe8e141a21ff1f3eeea35df1552 IN  KillSwitch: KSW Token0 BNB0.000180585
0x3fe68446d8d8d9e42ed5436b79007dbcf8b4d11e9e80c1738671481adac320e4Transfer147402802022-01-27 20:09:2111 hrs 47 mins ago0x59f894c7929e6fe8e141a21ff1f3eeea35df1552 IN  KillSwitch: KSW Token0 BNB0.000255585
0x246254f799068467586409052c6db60e33f612a403823683defdfb4e80c0202aApprove147367082022-01-27 17:10:4514 hrs 45 mins ago0x434a947b6bdd29676140dff4c5da4a39f94597e5 IN  KillSwitch: KSW Token0 BNB0.00022255
0x20f89b112e314b5ab61705fa80091452e1f12967be9a1e2407749abcf9247f1fApprove147357462022-01-27 16:22:3915 hrs 34 mins ago0x9c0f696fe7c235f05131ab69b55a4410bf8472c7 IN  KillSwitch: KSW Token0 BNB0.00022255
0x8a6992ceb591a3384ed4047ea19bbcc601d14a2e9109fd99a0eaa0758af53b5aApprove147331312022-01-27 14:11:3817 hrs 45 mins ago0xc97ba274afa32eacecf6ed48b3bed233d5747e7c IN  KillSwitch: KSW Token0 BNB0.000072815
0xca2879799465183d2933628c02e84837f111a2a300197e8a86efa04aa149119eTransfer147247812022-01-27 7:11:321 day 45 mins ago0x59f894c7929e6fe8e141a21ff1f3eeea35df1552 IN  KillSwitch: KSW Token0 BNB0.000255585
0xc9e5758eddc28594fc56af49c774a1f1ca71d62e5735337ff7225875a628373fApprove147221892022-01-27 5:01:551 day 2 hrs ago0xfc1008776820aef792938e5ce237a2858cd15798 IN  KillSwitch: KSW Token0 BNB0.00022255
0xb0908b16e31d73ba081d39ef7738f83bf3da8d74a0dbe4578239a60f7e37d0daApprove147221332022-01-27 4:59:031 day 2 hrs ago0x10ea956ba1e92406e0d22478ae8e63f69293945b IN  KillSwitch: KSW Token0 BNB0.00022255
0x797a22cc445811f86b72eb8387ba00c41f142a3d434e14a7799db208931f8254Approve147092572022-01-26 18:14:591 day 13 hrs ago0x1a261b45018504c507296ac41c3232e69aee7af2 IN  KillSwitch: KSW Token0 BNB0.00022255
0xfa9cc9d6d55d6c2af188b08d835010ec2c4d9e7a60b8fe098d3296a81293b122Approve147058112022-01-26 15:22:251 day 16 hrs ago0xb7817c6baac7467aa14ba6577022db812145d666 IN  KillSwitch: KSW Token0 BNB0.00022255
0x35bda76d6eaa749e6fbbc24fa3bc7a6eb189e05d50a88e3546483bc6650f0542Approve147054332022-01-26 14:59:251 day 16 hrs ago0x1a3ff54b7f18a51d1015fe73ca65234a2e218465 IN  KillSwitch: KSW Token0 BNB0.00022255
0x666bf76a22bcfa2af585b29a4a1839213f574d95962be9833550a1804d36036cTransfer147043742022-01-26 14:06:271 day 17 hrs ago0x61ad70ca78d2dcd7599ded4225816ed03675af96 IN  KillSwitch: KSW Token0 BNB0.000180765
0x53c171ab3e352e0b5de2320292c468eb850c47eea7f67af01180d47585b91c78Approve147031932022-01-26 13:07:241 day 18 hrs ago0xae99550745677be02d8150866349c0cd891611e1 IN  KillSwitch: KSW Token0 BNB0.00022255
0x2d73de81f7f1c3c54e4df2d072ab3a3d9e30231b823e668c7e30d3f4b4478a58Approve146778022022-01-25 15:56:342 days 16 hrs ago0xb672a153a57bdb40b7017d806c067295f64201f7 IN  KillSwitch: KSW Token0 BNB0.00022255
0xeefc8fa3f74f5ac1ce52d7384b5d68d2ec9932a2aabf4888fb24c6ed622f6e6bApprove146753432022-01-25 13:53:032 days 18 hrs ago0xdc10aa5e739fd3c059f13c6a411b5b958ec529b0 IN  KillSwitch: KSW Token0 BNB0.00022255
0x9c6af032220ab671ed26fb4b675d3629276745e91d2a0e13d362ffae9324fc02Approve146740982022-01-25 12:50:462 days 19 hrs ago0x0670233e864786cf5adee67aeb8c9fbc7d84026e IN  KillSwitch: KSW Token0 BNB0.00022255
0xaa264630c0d2b7cc83afcb802dbfb5aa89732ade5cf330ad7f72a213b0bb888dTransfer146700282022-01-25 9:27:062 days 22 hrs ago0x59f894c7929e6fe8e141a21ff1f3eeea35df1552 IN  KillSwitch: KSW Token0 BNB0.000180645
0x62c32eca326ef14ec4640331b20eb90b4c91a6340d63578f19dea2d275e0e69dApprove146654362022-01-25 5:37:273 days 2 hrs ago0xb3e98bb8a03891341a79d96a181ec4eea17aa424 IN  KillSwitch: KSW Token0 BNB0.000266988
0x2725b70c6e3ab9f3de77771f7e7bd26d72da058882fc804988b617110b14aa60Approve146628612022-01-25 3:28:053 days 4 hrs ago0x3893818aae607906f60610b3c242bc7b2eda7393 IN  KillSwitch: KSW Token0 BNB0.00022255
0xbd847d1e1f163d8ca669517c7e0eeb0511293aa7485d603475f57815c61806c7Approve146625012022-01-25 3:10:053 days 4 hrs ago0x3158ed4da79d14b0000c81f961766ea971ac94f2 IN  KillSwitch: KSW Token0 BNB0.00022255
0x26e1a36f98895ce8aefadc31cb87959b268ae7d6729cc3f8b6d2f430a1c3790cApprove146617642022-01-25 2:32:473 days 5 hrs ago0x64ed5b2ce39dff73e795cadfa2ed3a254ba7254b IN  KillSwitch: KSW Token0 BNB0.00022255
[ Download CSV Export 

OVERVIEW

KillSwitch is a smart yield farming aggregator targeting to increase convenience and security for all yield farmers.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KillSwitchToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : KillSwitch.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import "../WrappedToken.sol";

contract KillSwitchToken is WrappedToken {
    constructor() WrappedToken("KillSwitchToken", "KSW", 18) {}
}

File 2 of 10 : WrappedToken.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import "./@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "./@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "./@openzeppelin/contracts/access/Ownable.sol";
import "./IWrappedToken.sol";
import "./MinterAccessControl.sol";

contract WrappedToken is IWrappedToken, IERC20Metadata, ERC20, ERC20Burnable, Ownable, MinterAccessControl {
    uint8 private _decimals;

    constructor(string memory name, string memory symbol, uint8 decimals_) ERC20(name, symbol) {
        _decimals = decimals_;
    }

    function decimals() public view override(IERC20Metadata, ERC20) returns (uint8) {
        return _decimals;
    }

    function mint(address account, uint256 amount) public override onlyMinter {
        _mint(account, amount);
    }

    function burn(uint256 amount) public override(IWrappedToken, ERC20Burnable) onlyMinter {
        ERC20Burnable.burn(amount);
    }

    function burnFrom(address account, uint256 amount) public override(IWrappedToken, ERC20Burnable) onlyMinter {
        ERC20Burnable.burnFrom(account, amount);
    }
}

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        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 {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + 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 {IERC20-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 virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += 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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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 virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 4 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 5 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}

File 6 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @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.
 */
abstract 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 virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 10 : IWrappedToken.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

interface IWrappedToken {
    function mint(address account, uint256 amount) external;
    function burn(uint256 amount) external;
    function burnFrom(address account, uint256 amount) external;
}

File 8 of 10 : MinterAccessControl.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import "./@openzeppelin/contracts/access/Ownable.sol";

abstract contract MinterAccessControl is Ownable {
    mapping (address => bool) private _minters;

    event MinterAdded(address indexed minter);
    event MinterRemoved(address indexed minter);

    modifier onlyMinter() {
        require(_minters[_msgSender()], "MinterAccessControl: caller is not the minter");
        _;
    }

    function addMinter(address minter) public onlyOwner {
        require(minter != address(0), "MinterAccessControl: can not add address(0)");
        require(!mintable(minter), "MinterAccessControl: minter already in access list");
        emit MinterAdded(minter);
        _minters[minter] = true;
    }

    function removeMinter(address minter) public onlyOwner {
        require(minter != address(0), "MinterAccessControl: can not add address(0)");
        require(mintable(minter), "MinterAccessControl: minter already not in access list");
        emit MinterRemoved(minter);
        _minters[minter] = false;
    }

    function mintable(address minter) public view returns (bool) {
        return _minters[minter];
    }
}

File 9 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 10 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @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 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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"MinterRemoved","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":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","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"}]

60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e25b4b63629bbb4ba31b42a37b5b2b760891b815250604051806040016040528060038152602001624b535760e81b815250601282828160039080519060200190620000729291906200010c565b508051620000889060049060208401906200010c565b50505060006200009d6200010860201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506007805460ff191660ff9290921691909117905550620001ef9050565b3390565b8280546200011a90620001b2565b90600052602060002090601f0160209004810192826200013e576000855562000189565b82601f106200015957805160ff191683800117855562000189565b8280016001018555821562000189579182015b82811115620001895782518255916020019190600101906200016c565b50620001979291506200019b565b5090565b5b808211156200019757600081556001016200019c565b600181811c90821680620001c757607f821691505b60208210811415620001e957634e487b7160e01b600052602260045260246000fd5b50919050565b61150e80620001ff6000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806370a08231116100cd578063983b2d5611610081578063a9059cbb11610066578063a9059cbb146102f3578063dd62ed3e14610306578063f2fde38b1461033f57600080fd5b8063983b2d56146102cd578063a457c2d7146102e057600080fd5b806379cc6790116100b257806379cc6790146102975780638da5cb5b146102aa57806395d89b41146102c557600080fd5b806370a0823114610266578063715018a61461028f57600080fd5b8063313ce5671161012457806340c10f191161010957806340c10f191461021457806342966c681461022757806359441eae1461023a57600080fd5b8063313ce567146101ec578063395093511461020157600080fd5b806318160ddd1161015557806318160ddd146101b257806323b872dd146101c45780633092afd5146101d757600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b610179610352565b6040516101869190611405565b60405180910390f35b6101a261019d3660046113c4565b6103e4565b6040519015158152602001610186565b6002545b604051908152602001610186565b6101a26101d2366004611389565b6103fa565b6101ea6101e5366004611336565b6104c5565b005b60075460405160ff9091168152602001610186565b6101a261020f3660046113c4565b61066c565b6101ea6102223660046113c4565b6106a3565b6101ea6102353660046113ed565b610726565b6101a2610248366004611336565b6001600160a01b031660009081526006602052604090205460ff1690565b6101b6610274366004611336565b6001600160a01b031660009081526020819052604090205490565b6101ea6107a7565b6101ea6102a53660046113c4565b610858565b6005546040516001600160a01b039091168152602001610186565b6101796108d7565b6101ea6102db366004611336565b6108e6565b6101a26102ee3660046113c4565b610a91565b6101a26103013660046113c4565b610b44565b6101b6610314366004611357565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101ea61034d366004611336565b610b51565b60606003805461036190611487565b80601f016020809104026020016040519081016040528092919081815260200182805461038d90611487565b80156103da5780601f106103af576101008083540402835291602001916103da565b820191906000526020600020905b8154815290600101906020018083116103bd57829003601f168201915b5050505050905090565b60006103f1338484610c90565b50600192915050565b6000610407848484610de9565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104a65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104ba85336104b58685611470565b610c90565b506001949350505050565b6005546001600160a01b0316331461051f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049d565b6001600160a01b0381166105895760405162461bcd60e51b815260206004820152602b60248201527f4d696e746572416363657373436f6e74726f6c3a2063616e206e6f742061646460448201526a206164647265737328302960a81b606482015260840161049d565b6001600160a01b03811660009081526006602052604090205460ff166106175760405162461bcd60e51b815260206004820152603660248201527f4d696e746572416363657373436f6e74726f6c3a206d696e74657220616c726560448201527f616479206e6f7420696e20616363657373206c69737400000000000000000000606482015260840161049d565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a26001600160a01b03166000908152600660205260409020805460ff19169055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103f19185906104b5908690611458565b3360009081526006602052604090205460ff166107185760405162461bcd60e51b815260206004820152602d60248201527f4d696e746572416363657373436f6e74726f6c3a2063616c6c6572206973206e60448201526c37ba103a34329036b4b73a32b960991b606482015260840161049d565b610722828261100a565b5050565b3360009081526006602052604090205460ff1661079b5760405162461bcd60e51b815260206004820152602d60248201527f4d696e746572416363657373436f6e74726f6c3a2063616c6c6572206973206e60448201526c37ba103a34329036b4b73a32b960991b606482015260840161049d565b6107a4816110e9565b50565b6005546001600160a01b031633146108015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049d565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805473ffffffffffffffffffffffffffffffffffffffff19169055565b3360009081526006602052604090205460ff166108cd5760405162461bcd60e51b815260206004820152602d60248201527f4d696e746572416363657373436f6e74726f6c3a2063616c6c6572206973206e60448201526c37ba103a34329036b4b73a32b960991b606482015260840161049d565b61072282826110f3565b60606004805461036190611487565b6005546001600160a01b031633146109405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049d565b6001600160a01b0381166109aa5760405162461bcd60e51b815260206004820152602b60248201527f4d696e746572416363657373436f6e74726f6c3a2063616e206e6f742061646460448201526a206164647265737328302960a81b606482015260840161049d565b6001600160a01b03811660009081526006602052604090205460ff1615610a395760405162461bcd60e51b815260206004820152603260248201527f4d696e746572416363657373436f6e74726f6c3a206d696e74657220616c726560448201527f61647920696e20616363657373206c6973740000000000000000000000000000606482015260840161049d565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a26001600160a01b03166000908152600660205260409020805460ff19166001179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b2b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161049d565b610b3a33856104b58685611470565b5060019392505050565b60006103f1338484610de9565b6005546001600160a01b03163314610bab5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049d565b6001600160a01b038116610c275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161049d565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038316610d0b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161049d565b6001600160a01b038216610d875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161049d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e655760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161049d565b6001600160a01b038216610ee15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161049d565b6001600160a01b03831660009081526020819052604090205481811015610f705760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161049d565b610f7a8282611470565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610fb0908490611458565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ffc91815260200190565b60405180910390a350505050565b6001600160a01b0382166110605760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161049d565b80600260008282546110729190611458565b90915550506001600160a01b0382166000908152602081905260408120805483929061109f908490611458565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6107a43382611194565b60006110ff8333610314565b9050818110156111765760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161049d565b61118583336104b58585611470565b61118f8383611194565b505050565b6001600160a01b0382166112105760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161049d565b6001600160a01b0382166000908152602081905260409020548181101561129f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161049d565b6112a98282611470565b6001600160a01b038416600090815260208190526040812091909155600280548492906112d7908490611470565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ddc565b80356001600160a01b038116811461133157600080fd5b919050565b600060208284031215611347578081fd5b6113508261131a565b9392505050565b60008060408385031215611369578081fd5b6113728361131a565b91506113806020840161131a565b90509250929050565b60008060006060848603121561139d578081fd5b6113a68461131a565b92506113b46020850161131a565b9150604084013590509250925092565b600080604083850312156113d6578182fd5b6113df8361131a565b946020939093013593505050565b6000602082840312156113fe578081fd5b5035919050565b6000602080835283518082850152825b8181101561143157858101830151858201604001528201611415565b818111156114425783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561146b5761146b6114c2565b500190565b600082821015611482576114826114c2565b500390565b600181811c9082168061149b57607f821691505b602082108114156114bc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220c3b52de112b95d374e6f8dd5698663fd0d272bf63b13553f6cbf04e50dfa633464736f6c63430008040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.