Contract 0x244B0Fd79fc79d34C26ecf1603E88DE7C773A95d 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x209ee10f7c09d10c34c9af6f9506cf47c56bc0362a3453df6e24644e4c633432Approve121297892021-10-27 7:42:025 hrs 51 mins ago0x2d3da5fda51c79679e5fa56be333f24f4d59d431 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0x84f999e945c8673c33dea14c611fcbd34b2160b6e885f6ddba54d859e930d725Approve121084912021-10-26 13:46:4023 hrs 47 mins ago0x6fdf0f6150fcd55f50703684905bbd7fc151bc22 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022287
0x79c0e021c11ba0a30765327895dac203f59e6f977d284cba5f9b51a5dc86ef3dApprove120727182021-10-25 7:48:282 days 5 hrs ago0x48ba1365d1f87eb205492b00247eaf0780bf5892 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022209
0x56782c11008d05845709a916118d1800c0b6ad2ed94c3a244c1963f6e64641aaApprove119152792021-10-19 18:24:037 days 19 hrs ago0x24844841823727b9e1d480fe0dac9a0e06405e1f IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xa1c663fe3224c0294dbd3d12d435e61eabae7ccc1f1fd683b42654b2910039e1Approve118903012021-10-18 21:23:368 days 16 hrs ago0xa0746c78d01ecff9ce2ee6a9396bc233e8e717b0 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xe9fd2f2bb8f4337ebfc495e6c94b73a927a04adf55c35578c06680f36fa4bf3dApprove118902582021-10-18 21:21:278 days 16 hrs ago0xa0746c78d01ecff9ce2ee6a9396bc233e8e717b0 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xe5a8acb5bab2304d795458fb1af3f81c11235a71726680acd6832da97fa775a9Approve118495912021-10-17 11:12:5110 days 2 hrs ago0x564867bba2ef91d1c7b7da75dbd63473154c3bd8 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xfa3987bbe9a9a2d30c6873c7d69b24be95f8bb114061abd47f90f7b247b9daf8Approve118495412021-10-17 11:10:2110 days 2 hrs ago0x9096a4fd8375f3be0701bac3245f9d068f84eada IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022287
0x92bd2e730df1e7e3f19c1dc8da2d7e7762de7c8295f8ab8166af59c512822138Approve118456992021-10-17 7:58:1510 days 5 hrs ago0xdb04e6d81d018d91b9d996bc2bbc81a568594818 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00026658
0xaed32215c419fbf62fd61fa388dcfca183a253b52cc188120d7858b3695c6f06Transfer118447842021-10-17 7:12:3010 days 6 hrs ago0x762027f2d360c6fa95d49cab1bd331b989ea5a31 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00021493
0xc268354f92e4e4e826055d66e299a2e42e3d572e4356e77dcce28a4a106ead56Approve117585312021-10-14 7:03:2613 days 6 hrs ago0x20e69b7ea0ac90fda2c23bff453bef71111d61ca IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00026658
0xb16e6a2a208aa14bb5a5794812552d32c8cfb03208671717d712c82625ffae2fApprove117003062021-10-12 5:55:2715 days 7 hrs ago0x0e95ae82d70908ca8b5b8e58d3a01e7e45571591 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022287
0xa92ed7375500223c4eca9ba71c4ef84414f7bc1c44c07bc64a898fc565a454c4Approve115069512021-10-05 11:46:0622 days 1 hr ago0x46a59cc417a62235b7e5ca55641622927b83f0c1 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.0001286118
0x3c700a82ce560adc4b1ad09d44f575e4efa23f87b1a95d4b9d01d69dcbbb5e43Approve115069472021-10-05 11:45:5422 days 1 hr ago0x46a59cc417a62235b7e5ca55641622927b83f0c1 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.0002265318
0x8990d846cddd43dbc66ef92685f34c1af14628f8de25b75505139813e16313d1Approve114113082021-10-02 3:41:5925 days 9 hrs ago0x0e95ae82d70908ca8b5b8e58d3a01e7e45571591 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0x0f39a0a7ef3b3e6ed14194d5b84aa2c6a075d0044d88cd881c942cc64f33283aApprove113708292021-09-30 17:34:2426 days 19 hrs ago0x4b5413bb24aea18739f835f920ce4dc018b44a61 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00012615
0x4aa7542bbfd9d1aad8db90ba5096f01718cf56da3c5d5739eb2b45b4021fc5f8Approve113708122021-09-30 17:33:3326 days 20 hrs ago0x4b5413bb24aea18739f835f920ce4dc018b44a61 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xbf9d84f8e3c35827e691bb876dcc134adc7ad1cc30d9c02d63e67cd647d3c38cApprove113677012021-09-30 14:54:3826 days 22 hrs ago0x9a2d351984a435f7bfcbfd6c3c8dead9c8ec88e1 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022281
0x3da5953443df5b2afa9630161d58a7d16444ee523aa6b1d0fbe50243a73e410eApprove113376592021-09-29 13:39:0627 days 23 hrs ago0x1ca42b9752020818aa4b1786fa4d426943a6dc5a IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0x2eccae5e8ec6bbfdd49baa5a049bbf02ab86a99bc6fe6888bc54f2f4f5de7869Approve112877942021-09-27 19:36:5729 days 17 hrs ago0x62616bb4f919dd601445f63f6d1add393a683e0a IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xdc612553d949e798a69d56395d927df2957d24a976291e60950e7276e8f763cfApprove112788332021-09-27 12:07:4030 days 1 hr ago0x762027f2d360c6fa95d49cab1bd331b989ea5a31 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0x59cf9e612befb6a4942f893f49e670f25bf1a079598f7d4c87793aed190e568dApprove112731512021-09-27 7:19:5030 days 6 hrs ago0xd959fa2459e7bddade564188f87d88159c4a7875 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00022215
0xf9999dcc22c90d0b450c3cbcd8a877f7e8b78814217380012cb97d8d8aa18ba9Transfer112702232021-09-27 4:51:0930 days 8 hrs ago0x0350225de2a4058b91859a6f1603ac58c943794c IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00021487
0xa7dc9966618b01336124312a464cf1f8d7e3dd64bb14d1bc00504371efb8e951Transfer112702012021-09-27 4:50:0330 days 8 hrs ago0x62243f4151ddfda7cecaaa16459f007e9cf4a661 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00021487
0xe60c99e12d95308b9abfe373706a34c99423a1af47e80b846a0a96b531f76839Transfer112699352021-09-27 4:36:4530 days 8 hrs ago0x95b1f0b2f4de003e855836705afe08d768a0cdb6 IN  0x244b0fd79fc79d34c26ecf1603e88de7c773a95d0 BNB0.00021481
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KShark

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : Kshark.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract KShark is ERC20, ERC20Burnable, ERC20Snapshot, Ownable, Pausable {
    constructor() ERC20("KShark", "KSC") {
        _mint(msg.sender, 100000 * 10 ** decimals());
    }

    function snapshot() public onlyOwner {
        _snapshot();
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount)
        internal
        whenNotPaused
        override(ERC20, ERC20Snapshot)
    {
        super._beforeTokenTransfer(from, to, amount);
    }
}

File 2 of 12 : 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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 12 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 12 : 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 default 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");
        unchecked {
            _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");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` 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);

        _afterTokenTransfer(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");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

        _afterTokenTransfer(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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 5 of 12 : 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 6 of 12 : 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");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 7 of 12 : ERC20Snapshot.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Arrays.sol";
import "../../../utils/Counters.sol";

/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it
 * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this
 * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
 *
 * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient
 * alternative consider {ERC20Votes}.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */

abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping(address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _getCurrentSnapshotId();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Get the current snapshotId
     */
    function _getCurrentSnapshotId() internal view virtual returns (uint256) {
        return _currentSnapshotId.current();
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }

    // Update balance and/or total supply snapshots before the values are modified. This is implemented
    // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        if (from == address(0)) {
            // mint
            _updateAccountSnapshot(to);
            _updateTotalSupplySnapshot();
        } else if (to == address(0)) {
            // burn
            _updateAccountSnapshot(from);
            _updateTotalSupplySnapshot();
        } else {
            // transfer
            _updateAccountSnapshot(from);
            _updateAccountSnapshot(to);
        }
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _getCurrentSnapshotId();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}

File 8 of 12 : 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 9 of 12 : Arrays.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

File 10 of 12 : 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) {
        return msg.data;
    }
}

File 11 of 12 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 12 of 12 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute.
        return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2);
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

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

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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051806040016040528060068152602001654b536861726b60d01b815250604051806040016040528060038152602001624b534360e81b8152508160039080519060200190620000659291906200040d565b5080516200007b9060049060208401906200040d565b5050506200009862000092620000dc60201b60201c565b620000e0565b6009805460ff60a01b19169055620000d633620000b462000132565b620000c190600a62000585565b620000d090620186a06200067d565b62000137565b6200070c565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601290565b6001600160a01b038216620001695760405162461bcd60e51b81526004016200016090620004dd565b60405180910390fd5b620001776000838362000219565b80600260008282546200018b91906200051d565b90915550506001600160a01b03821660009081526020819052604081208054839290620001ba9084906200051d565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001ff90859062000514565b60405180910390a362000215600083836200025b565b5050565b6200022362000260565b15620002435760405162461bcd60e51b81526004016200016090620004b3565b6200025b8383836200027060201b6200084d1760201c565b505050565b600954600160a01b900460ff1690565b620002888383836200025b60201b620006461760201c565b6001600160a01b038316620002b257620002a282620002dd565b620002ac6200030e565b6200025b565b6001600160a01b038216620002cc57620002a283620002dd565b620002d783620002dd565b6200025b825b6001600160a01b03811660009081526005602052604090206200030b90620003058362000320565b6200033f565b50565b6200031e6006620003056200038e565b565b6001600160a01b0381166000908152602081905260409020545b919050565b60006200034b62000394565b9050806200035984620003b2565b10156200025b578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60025490565b6000620003ad60086200040960201b620008a51760201c565b905090565b8054600090620003c5575060006200033a565b81548290620003d7906001906200069f565b81548110620003f657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490506200033a565b5490565b8280546200041b90620006b9565b90600052602060002090601f0160209004810192826200043f57600085556200048a565b82601f106200045a57805160ff19168380011785556200048a565b828001600101855582156200048a579182015b828111156200048a5782518255916020019190600101906200046d565b50620004989291506200049c565b5090565b5b808211156200049857600081556001016200049d565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620005335762000533620006f6565b500190565b80825b60018086116200054c57506200057c565b818704821115620005615762000561620006f6565b808616156200056f57918102915b9490941c9380026200053b565b94509492505050565b60006200059960001960ff851684620005a0565b9392505050565b600082620005b15750600162000599565b81620005c05750600062000599565b8160018114620005d95760028114620005e45762000618565b600191505062000599565b60ff841115620005f857620005f8620006f6565b6001841b915084821115620006115762000611620006f6565b5062000599565b5060208310610133831016604e8410600b841016171562000650575081810a838111156200064a576200064a620006f6565b62000599565b6200065f848484600162000538565b808604821115620006745762000674620006f6565b02949350505050565b60008160001904831182151516156200069a576200069a620006f6565b500290565b600082821015620006b457620006b4620006f6565b500390565b600281046001821680620006ce57607f821691505b60208210811415620006f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b611736806200071c6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c35780639711715a1161007c5780639711715a1461027e578063981b24d014610286578063a457c2d714610299578063a9059cbb146102ac578063dd62ed3e146102bf578063f2fde38b146102d25761014d565b806370a082311461022b578063715018a61461023e57806379cc6790146102465780638456cb59146102595780638da5cb5b1461026157806395d89b41146102765761014d565b8063395093511161011557806339509351146101cd5780633f4ba83a146101e057806340c10f19146101ea57806342966c68146101fd5780634ee2cd7e146102105780635c975abb146102235761014d565b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019057806323b872dd146101a5578063313ce567146101b8575b600080fd5b61015a6102e5565b60405161016791906111bf565b60405180910390f35b61018361017e36600461115f565b610377565b60405161016791906111b4565b610198610395565b604051610167919061162b565b6101836101b3366004611124565b61039b565b6101c0610434565b6040516101679190611634565b6101836101db36600461115f565b610439565b6101e861048d565b005b6101e86101f836600461115f565b6104d6565b6101e861020b366004611188565b610523565b61019861021e36600461115f565b610537565b610183610580565b6101986102393660046110d8565b610590565b6101e86105af565b6101e861025436600461115f565b6105f8565b6101e861064b565b610269610692565b60405161016791906111a0565b61015a6106a1565b6101e86106b0565b610198610294366004611188565b6106f7565b6101836102a736600461115f565b610727565b6101836102ba36600461115f565b6107a0565b6101986102cd3660046110f2565b6107b4565b6101e86102e03660046110d8565b6107df565b6060600380546102f490611685565b80601f016020809104026020016040519081016040528092919081815260200182805461032090611685565b801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846108a9565b84846108ad565b5060015b92915050565b60025490565b60006103a8848484610961565b6001600160a01b0384166000908152600160205260408120816103c96108a9565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104155760405162461bcd60e51b815260040161040c906113f4565b60405180910390fd5b610429856104216108a9565b8584036108ad565b506001949350505050565b601290565b600061038b6104466108a9565b8484600160006104546108a9565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546104889190611642565b6108ad565b6104956108a9565b6001600160a01b03166104a6610692565b6001600160a01b0316146104cc5760405162461bcd60e51b815260040161040c9061143c565b6104d4610a8b565b565b6104de6108a9565b6001600160a01b03166104ef610692565b6001600160a01b0316146105155760405162461bcd60e51b815260040161040c9061143c565b61051f8282610afc565b5050565b61053461052e6108a9565b82610bc4565b50565b6001600160a01b03821660009081526005602052604081208190819061055e908590610cb5565b91509150816105755761057085610590565b610577565b805b95945050505050565b600954600160a01b900460ff1690565b6001600160a01b0381166000908152602081905260409020545b919050565b6105b76108a9565b6001600160a01b03166105c8610692565b6001600160a01b0316146105ee5760405162461bcd60e51b815260040161040c9061143c565b6104d46000610d61565b6000610606836102cd6108a9565b9050818110156106285760405162461bcd60e51b815260040161040c90611471565b61063c836106346108a9565b8484036108ad565b6106468383610bc4565b505050565b6106536108a9565b6001600160a01b0316610664610692565b6001600160a01b03161461068a5760405162461bcd60e51b815260040161040c9061143c565b6104d4610db3565b6009546001600160a01b031690565b6060600480546102f490611685565b6106b86108a9565b6001600160a01b03166106c9610692565b6001600160a01b0316146106ef5760405162461bcd60e51b815260040161040c9061143c565b610534610e14565b6000806000610707846006610cb5565b915091508161071d57610718610395565b61071f565b805b949350505050565b600080600160006107366108a9565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156107825760405162461bcd60e51b815260040161040c906115af565b61079661078d6108a9565b858584036108ad565b5060019392505050565b600061038b6107ad6108a9565b8484610961565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107e76108a9565b6001600160a01b03166107f8610692565b6001600160a01b03161461081e5760405162461bcd60e51b815260040161040c9061143c565b6001600160a01b0381166108445760405162461bcd60e51b815260040161040c906112fc565b61053481610d61565b610858838383610646565b6001600160a01b03831661087c5761086f82610e68565b610877610e92565b610646565b6001600160a01b0382166108935761086f83610e68565b61089c83610e68565b61064682610e68565b5490565b3390565b6001600160a01b0383166108d35760405162461bcd60e51b815260040161040c9061153b565b6001600160a01b0382166108f95760405162461bcd60e51b815260040161040c90611342565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061095490859061162b565b60405180910390a3505050565b6001600160a01b0383166109875760405162461bcd60e51b815260040161040c906114f6565b6001600160a01b0382166109ad5760405162461bcd60e51b815260040161040c90611249565b6109b8838383610e9f565b6001600160a01b038316600090815260208190526040902054818110156109f15760405162461bcd60e51b815260040161040c90611384565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a28908490611642565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a72919061162b565b60405180910390a3610a85848484610646565b50505050565b610a93610580565b610aaf5760405162461bcd60e51b815260040161040c9061128c565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ae56108a9565b604051610af291906111a0565b60405180910390a1565b6001600160a01b038216610b225760405162461bcd60e51b815260040161040c906115f4565b610b2e60008383610e9f565b8060026000828254610b409190611642565b90915550506001600160a01b03821660009081526020819052604081208054839290610b6d908490611642565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bb090859061162b565b60405180910390a361051f60008383610646565b6001600160a01b038216610bea5760405162461bcd60e51b815260040161040c906114b5565b610bf682600083610e9f565b6001600160a01b03821660009081526020819052604090205481811015610c2f5760405162461bcd60e51b815260040161040c906112ba565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610c5e90849061166e565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ca190869061162b565b60405180910390a361064683600084610646565b60008060008411610cd85760405162461bcd60e51b815260040161040c9061157f565b610ce0610ecf565b841115610cff5760405162461bcd60e51b815260040161040c90611212565b6000610d0b8486610ee0565b8454909150811415610d24576000809250925050610d5a565b6001846001018281548110610d4957634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610dbb610580565b15610dd85760405162461bcd60e51b815260040161040c906113ca565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ae56108a9565b6000610e206008610fbf565b6000610e2a610ecf565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051610e5b919061162b565b60405180910390a1905090565b6001600160a01b038116600090815260056020526040902061053490610e8d83610590565b610fc8565b6104d46006610e8d610395565b610ea7610580565b15610ec45760405162461bcd60e51b815260040161040c906113ca565b61064683838361084d565b6000610edb60086108a5565b905090565b8154600090610ef15750600061038f565b82546000905b80821015610f5b576000610f0b8383611012565b905084868281548110610f2e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001541115610f4757809150610f55565b610f52816001611642565b92505b50610ef7565b600082118015610f9e57508385610f7360018561166e565b81548110610f9157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b15610fb757610fae60018361166e565b9250505061038f565b50905061038f565b80546001019055565b6000610fd2610ecf565b905080610fde84611070565b1015610646578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b6000600261102081846116c0565b61102b6002866116c0565b6110359190611642565b61103f919061165a565b61104a60028461165a565b61105560028661165a565b61105f9190611642565b6110699190611642565b9392505050565b8054600090611081575060006105aa565b815482906110919060019061166e565b815481106110af57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490506105aa565b80356001600160a01b03811681146105aa57600080fd5b6000602082840312156110e9578081fd5b611069826110c1565b60008060408385031215611104578081fd5b61110d836110c1565b915061111b602084016110c1565b90509250929050565b600080600060608486031215611138578081fd5b611141846110c1565b925061114f602085016110c1565b9150604084013590509250925092565b60008060408385031215611171578182fd5b61117a836110c1565b946020939093013593505050565b600060208284031215611199578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156111eb578581018301518582016040015282016111cf565b818111156111fc5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601d908201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526016908201527504552433230536e617073686f743a20696420697320360541b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115611655576116556116d4565b500190565b600082611669576116696116ea565b500490565b600082821015611680576116806116d4565b500390565b60028104600182168061169957607f821691505b602082108114156116ba57634e487b7160e01b600052602260045260246000fd5b50919050565b6000826116cf576116cf6116ea565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfea26469706673582212206d6388af308b16f73ad755884a66dfe014db0a9aa1bd7bcf0b2ef6139a4b3c3c64736f6c63430008000033

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.