Contract 0x618549d304828c77dcb590d02e3641b03e6f4176

Contract Overview

Balance:
0 BNB

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x07956e4a361e253215feed8f8581207ef2e49537fd04926a118021ffe4594fa6108713422021-07-24 12:46:069 days 43 mins ago0xf642ee87858937958e299bbd9ac3dd87c36f956b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x62df22cb0487a3cf3079330eafb1e36c25dabb40bacb1a695281d29f7cd0cee9108439442021-07-23 13:50:379 days 23 hrs ago0x89fca750687b2461d810d5efc35c43a1cd4b4af6 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0xe7f3f42800df6882a60eb5ece146e9e0d295f0a9c78382d79829e332dfa81623108364462021-07-23 7:25:1310 days 6 hrs ago0x58a895f2bed97bc28e3c7ea2c02d0ac64962c5f3 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.000577278
0xa54830c97883eaf9e4c55787f03e541b37f8bc262398c12f87067f98a7691b5c106109202021-07-15 10:53:1718 days 2 hrs ago0xf420c822e7849a71d06f6ab6c0a4d1a043faa26e IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00051125
0x2101449d3e39f27e4c3035b306eb6cecc736734e9e28930f6abcba04000a2acc106103522021-07-15 10:24:5318 days 3 hrs ago0xf420c822e7849a71d06f6ab6c0a4d1a043faa26e IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00051125
0x8317711d823901817adc928c25f1776ef1a1fd9e44b2f3d35bd2166f1933afd9106059722021-07-15 6:45:5318 days 6 hrs ago0xf420c822e7849a71d06f6ab6c0a4d1a043faa26e IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00027725
0x37d06ca60147ed7c24f5f7656c475a272a8d41fe251737f5e66df89698238426105309682021-07-12 15:29:5020 days 22 hrs ago0xd281cf7a8194c59790a17fa5247b7b46b95ce1b0 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00036125
0x9feaa4e55036cb3f7014f76566b6f0acbc07b32c750e16f291fa6cb7540af29c103809882021-07-07 9:56:1026 days 3 hrs ago0xee500c146927e0fccb1be04064288653b7b9ba06 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x80f5266e31426b82410600125967419c44ba97d98f044544b087687f3f442ecb102427382021-07-02 13:13:3931 days 16 mins ago0xee500c146927e0fccb1be04064288653b7b9ba06 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x964d41a2d59716c9c22eb54485b30ba9c6207f39cf7ec73353d60e3debce3b9b102420092021-07-02 12:37:1231 days 52 mins ago0xf420c822e7849a71d06f6ab6c0a4d1a043faa26e IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.000577278
0x431ab42fa5a46cbf3a75ab3304467bcec14bcb1bb836b3af3d92659a61c8c7f5102139452021-07-01 13:14:0032 days 16 mins ago0xf642ee87858937958e299bbd9ac3dd87c36f956b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x6f7680c5c10714bceeb397b93adda5e2bd3b66883fcdef5ea38468bc906758cc101875522021-06-30 14:31:1132 days 22 hrs ago0xc9adc961ffc17d03740944c6e610d809e90c6404 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x8b08d35abdb6137a2068ee27d2a55ed627ec9696dcd332888892f1e604a37db698074572021-06-17 8:48:3146 days 4 hrs ago0x3afb46d57d8fa7a0f56b7b6d2054c8be797aa69b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x1fd51e13ea95178d6f893fa514d376c6f2822d41cacd321f7ed2c24be25e50ec93261552021-05-31 15:40:2162 days 21 hrs ago0xca6a2d72869f69b0086105b2e8242463d4fe70af IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x470e7b5d63db23428b5682283baaff0e400061ddf389d1f6797c25c5afc252ab92062522021-05-27 10:52:4767 days 2 hrs ago0xd281cf7a8194c59790a17fa5247b7b46b95ce1b0 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00036125
0x1af9f329fc76a65e81ddd8e6e22ed13c8606ac735fed42693c385a4d38e7bcd289002642021-05-16 19:24:5377 days 18 hrs ago0x9793dd93d46f153a2a879165cd163a01b54d8a00 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044106
0xde64ad5f0c306be2243750083196317d12cd2563a119b60dc1d1ee06d1bf3a1b88386862021-05-14 16:05:5979 days 21 hrs ago0x9793dd93d46f153a2a879165cd163a01b54d8a00 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044106
0xb0edc3d2667030f41f16989e92c2ad102bb29a74e630c524c8b663797a563b7c88328612021-05-14 11:14:4480 days 2 hrs ago0xca6a2d72869f69b0086105b2e8242463d4fe70af IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00051137
0x3ad726c056bebdb5bc64a230435b94454a6b3ae3f364c12c4a1a9043b946b1df88079202021-05-13 14:27:1980 days 23 hrs ago0x3bb56abab4478107f08c1510511261819aa54f38 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0xeadcb524bf047598e4344bdf2750dfb0322200fdb9c18e8c62c73f268e7545ce87226082021-05-10 14:55:1583 days 22 hrs ago0x5ea26ee74728f1d76fa00847fc54265a253a606b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x88125fa590b1a4cf3ac25ffadfb3051e78aa396933e5efef2c3f829f2963161687160432021-05-10 9:27:0084 days 4 hrs ago0xfdd975cebbf9c750cd967778800eb0e5cca12e7f IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x565240018c1a7ec76f0a16996e6adcfff80b3a3f461f3d62f5db900a98d925ec85827632021-05-05 18:20:3588 days 19 hrs ago0x51dde69e667080d38d290e0f13c77877ea4db302 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x06dfa95f500bc87b937bace9ae80f2a63a20f056dd59c87dd875192ff94a04ba85707812021-05-05 8:21:2989 days 5 hrs ago0xaa50da3bd10d140536dd96136a4781274c09561b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x1ddc599dc0c0f7cfc7f2516320965c979c2ef440a85b7578a9bd92e2eb2aa3e285478812021-05-04 13:16:2990 days 13 mins ago0xd281cf7a8194c59790a17fa5247b7b46b95ce1b0 IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
0x39b3adbfd5c4fed8650b84a5488ddd557920c0d09f0c927041de1232dec230c985478112021-05-04 13:12:5990 days 17 mins ago0x5ea26ee74728f1d76fa00847fc54265a253a606b IN  0x618549d304828c77dcb590d02e3641b03e6f41760 BNB0.00044406
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3002311c0f220748086e67d8814b096a908bc9ae505b654f90ab318d4fdf0605109807802021-07-28 9:13:165 days 4 hrs ago 0x91c10f1d88fc166dd1c062a09591c710cdc5cefc 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x3002311c0f220748086e67d8814b096a908bc9ae505b654f90ab318d4fdf0605109807802021-07-28 9:13:165 days 4 hrs ago 0x354bc1cfe9959b96bed409859a726263c6c56c81 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0x354bc1cfe9959b96bed409859a726263c6c56c81 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x4d3bed7a301221064ac882b301b146230608b5e3d04eebe4ac902b8babd198c4109563042021-07-27 12:48:266 days 41 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0x354bc1cfe9959b96bed409859a726263c6c56c81 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0x98051ebf98f7f54affcc0f33b010ebe9453be8b40963477c6e880fdc0289d980109560962021-07-27 12:38:026 days 52 mins ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xaa802676e82d77d16084965c7338fd9fdd13897a623ba1fecbf58b84134afd03109537762021-07-27 10:42:026 days 2 hrs ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xaa802676e82d77d16084965c7338fd9fdd13897a623ba1fecbf58b84134afd03109537762021-07-27 10:42:026 days 2 hrs ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xaa802676e82d77d16084965c7338fd9fdd13897a623ba1fecbf58b84134afd03109537762021-07-27 10:42:026 days 2 hrs ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xaa802676e82d77d16084965c7338fd9fdd13897a623ba1fecbf58b84134afd03109537762021-07-27 10:42:026 days 2 hrs ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xb664ff968d9af9442f61b36e8130dcca760df6377380f7a41437f73afdcbcdcd109523802021-07-27 9:32:146 days 3 hrs ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xb664ff968d9af9442f61b36e8130dcca760df6377380f7a41437f73afdcbcdcd109523802021-07-27 9:32:146 days 3 hrs ago 0x10eeefd2447cc1eb15320e047ff3139c0a95f3d3 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xb664ff968d9af9442f61b36e8130dcca760df6377380f7a41437f73afdcbcdcd109523802021-07-27 9:32:146 days 3 hrs ago 0x354bc1cfe9959b96bed409859a726263c6c56c81 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xb664ff968d9af9442f61b36e8130dcca760df6377380f7a41437f73afdcbcdcd109523802021-07-27 9:32:146 days 3 hrs ago 0xc93a47e2fa4b5bd6acfe8f8acd8fe68ac568919d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
0xb664ff968d9af9442f61b36e8130dcca760df6377380f7a41437f73afdcbcdcd109523802021-07-27 9:32:146 days 3 hrs ago 0x05c99023cd8f02e130ce9a80d36715ca1297ce0d 0x618549d304828c77dcb590d02e3641b03e6f41760 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MockBEP20

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-02-18
*/

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.6.2;

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

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, 'SafeMath: subtraction overflow');
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, 'SafeMath: multiplication overflow');

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, 'SafeMath: division by zero');
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, 'SafeMath: modulo by zero');
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, 'Address: insufficient balance');

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}('');
        require(success, 'Address: unable to send value, recipient may have reverted');
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, 'Address: low-level call failed');
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, 'Address: insufficient balance for call');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance')
        );
        return true;
    }

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance');
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance');
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

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

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

contract MockBEP20 is BEP20 {
    constructor() public BEP20("DAI token (ALM test)", "DAI") {
        _mint(msg.sender, 1_000_000e18);
    }
}

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":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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601481526020017f44414920746f6b656e2028414c4d2074657374290000000000000000000000008152506040518060400160405280600381526020016244414960e81b8152506000620000766200012060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000d59060049060208501906200028c565b508051620000eb9060059060208401906200028c565b50506006805460ff19166012179055506200011a3369d3c21bcecceda10000006001600160e01b036200012516565b6200032e565b335b90565b6001600160a01b03821662000181576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200019d816003546200022a60201b62000b071790919060201c565b6003556001600160a01b038216600090815260016020908152604090912054620001d291839062000b076200022a821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282018381101562000285576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002cf57805160ff1916838001178555620002ff565b82800160010185558215620002ff579182015b82811115620002ff578251825591602001919060010190620002e2565b506200030d92915062000311565b5090565b6200012291905b808211156200030d576000815560010162000318565b610e57806200033e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063893d20e811610097578063a457c2d711610066578063a457c2d7146102dd578063a9059cbb14610309578063dd62ed3e14610335578063f2fde38b1461036357610100565b8063893d20e81461028c5780638da5cb5b146102b057806395d89b41146102b8578063a0712d68146102c057610100565b8063313ce567116100d3578063313ce56714610212578063395093511461023057806370a082311461025c578063715018a61461028257610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d610389565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b03813516906020013561041f565b604080519115158252519081900360200190f35b6101ca61043c565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b03813581169160208101359091169060400135610442565b61021a6104cf565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b0381351690602001356104d8565b6101ca6004803603602081101561027257600080fd5b50356001600160a01b031661052c565b61028a610547565b005b6102946105fb565b604080516001600160a01b039092168252519081900360200190f35b61029461060a565b61010d610619565b6101ae600480360360208110156102d657600080fd5b503561067a565b6101ae600480360360408110156102f357600080fd5b506001600160a01b0381351690602001356106ff565b6101ae6004803603604081101561031f57600080fd5b506001600160a01b03813516906020013561076d565b6101ca6004803603604081101561034b57600080fd5b506001600160a01b0381358116916020013516610781565b61028a6004803603602081101561037957600080fd5b50356001600160a01b03166107ac565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104155780601f106103ea57610100808354040283529160200191610415565b820191906000526020600020905b8154815290600101906020018083116103f857829003601f168201915b5050505050905090565b600061043361042c610822565b8484610826565b50600192915050565b60035490565b600061044f848484610912565b6104c58461045b610822565b6104c085604051806060016040528060288152602001610d6a602891396001600160a01b038a16600090815260026020526040812090610499610822565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610a7016565b610826565b5060019392505050565b60065460ff1690565b60006104336104e5610822565b846104c085600260006104f6610822565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610b0716565b6001600160a01b031660009081526001602052604090205490565b61054f610822565b6000546001600160a01b039081169116146105b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061060561060a565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104155780601f106103ea57610100808354040283529160200191610415565b6000610684610822565b6000546001600160a01b039081169116146106e6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6106f76106f1610822565b83610b68565b506001919050565b600061043361070c610822565b846104c085604051806060016040528060258152602001610ddb6025913960026000610736610822565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610a7016565b600061043361077a610822565b8484610912565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6107b4610822565b6000546001600160a01b03908116911614610816576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61081f81610c5a565b50565b3390565b6001600160a01b03831661086b5760405162461bcd60e51b8152600401808060200182810382526024815260200180610d206024913960400191505060405180910390fd5b6001600160a01b0382166108b05760405162461bcd60e51b8152600401808060200182810382526022815260200180610e006022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166109575760405162461bcd60e51b8152600401808060200182810382526025815260200180610cfb6025913960400191505060405180910390fd5b6001600160a01b03821661099c5760405162461bcd60e51b8152600401808060200182810382526023815260200180610db86023913960400191505060405180910390fd5b6109df81604051806060016040528060268152602001610d92602691396001600160a01b038616600090815260016020526040902054919063ffffffff610a7016565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610a14908263ffffffff610b0716565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610aff5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ac4578181015183820152602001610aac565b50505050905090810190601f168015610af15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610b61576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610bc3576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610bd6908263ffffffff610b0716565b6003556001600160a01b038216600090815260016020526040902054610c02908263ffffffff610b0716565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116610c9f5760405162461bcd60e51b8152600401808060200182810382526026815260200180610d446026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a20617070726f766520746f20746865207a65726f2061646472657373a264697066735822122014fa831e1aaf7dd56b95f3454ca9b6e3de2d325faa919a7cd9cc71667dec8cb364736f6c63430006020033

Deployed ByteCode Sourcemap

29057:146:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29057:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21211:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;21211:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22698:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22698:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21687:100;;;:::i;:::-;;;;;;;;;;;;;;;;23330:397;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23330:397:0;;;;;;;;;;;;;;;;;:::i;21370:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24135:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24135:210:0;;;;;;;;:::i;21849:119::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21849:119:0;-1:-1:-1;;;;;21849:119:0;;:::i;18212:140::-;;;:::i;:::-;;21054:94;;;:::i;:::-;;;;-1:-1:-1;;;;;21054:94:0;;;;;;;;;;;;;;17570:79;;;:::i;21527:96::-;;;:::i;25376:130::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25376:130:0;;:::i;24847:311::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24847:311:0;;;;;;;;:::i;22180:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22180:167:0;;;;;;;;:::i;22409:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22409:143:0;;;;;;;;;;:::i;18507:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18507:109:0;-1:-1:-1;;;;;18507:109:0;;:::i;21211:92::-;21290:5;21283:12;;;;;;;;-1:-1:-1;;21283:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21257:13;;21283:12;;21290:5;;21283:12;;21290:5;21283:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21211:92;:::o;22698:161::-;22773:4;22790:39;22799:12;:10;:12::i;:::-;22813:7;22822:6;22790:8;:39::i;:::-;-1:-1:-1;22847:4:0;22698:161;;;;:::o;21687:100::-;21767:12;;21687:100;:::o;23330:397::-;23462:4;23479:36;23489:6;23497:9;23508:6;23479:9;:36::i;:::-;23526:171;23549:6;23570:12;:10;:12::i;:::-;23597:89;23635:6;23597:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23597:19:0;;;;;;:11;:19;;;;;;23617:12;:10;:12::i;:::-;-1:-1:-1;;;;;23597:33:0;;;;;;;;;;;;-1:-1:-1;23597:33:0;;;:89;;:37;:89;:::i;:::-;23526:8;:171::i;:::-;-1:-1:-1;23715:4:0;23330:397;;;;;:::o;21370:92::-;21445:9;;;;21370:92;:::o;24135:210::-;24215:4;24232:83;24241:12;:10;:12::i;:::-;24255:7;24264:50;24303:10;24264:11;:25;24276:12;:10;:12::i;:::-;-1:-1:-1;;;;;24264:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24264:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;21849:119::-;-1:-1:-1;;;;;21942:18:0;21915:7;21942:18;;;:9;:18;;;;;;;21849:119::o;18212:140::-;17792:12;:10;:12::i;:::-;17782:6;;-1:-1:-1;;;;;17782:6:0;;;:22;;;17774:67;;;;;-1:-1:-1;;;17774:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18311:1:::1;18295:6:::0;;18274:40:::1;::::0;-1:-1:-1;;;;;18295:6:0;;::::1;::::0;18274:40:::1;::::0;18311:1;;18274:40:::1;18342:1;18325:19:::0;;-1:-1:-1;;;;;;18325:19:0::1;::::0;;18212:140::o;21054:94::-;21106:7;21133;:5;:7::i;:::-;21126:14;;21054:94;:::o;17570:79::-;17608:7;17635:6;-1:-1:-1;;;;;17635:6:0;17570:79;:::o;21527:96::-;21608:7;21601:14;;;;;;;;-1:-1:-1;;21601:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21575:13;;21601:14;;21608:7;;21601:14;;21608:7;21601:14;;;;;;;;;;;;;;;;;;;;;;;;25376:130;25432:4;17792:12;:10;:12::i;:::-;17782:6;;-1:-1:-1;;;;;17782:6:0;;;:22;;;17774:67;;;;;-1:-1:-1;;;17774:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25449:27:::1;25455:12;:10;:12::i;:::-;25469:6;25449:5;:27::i;:::-;-1:-1:-1::0;25494:4:0::1;25376:130:::0;;;:::o;24847:311::-;24932:4;24949:179;24972:12;:10;:12::i;:::-;24999:7;25021:96;25060:15;25021:96;;;;;;;;;;;;;;;;;:11;:25;25033:12;:10;:12::i;:::-;-1:-1:-1;;;;;25021:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;25021:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;22180:167::-;22258:4;22275:42;22285:12;:10;:12::i;:::-;22299:9;22310:6;22275:9;:42::i;22409:143::-;-1:-1:-1;;;;;22517:18:0;;;22490:7;22517:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22409:143::o;18507:109::-;17792:12;:10;:12::i;:::-;17782:6;;-1:-1:-1;;;;;17782:6:0;;;:22;;;17774:67;;;;;-1:-1:-1;;;17774:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18580:28:::1;18599:8;18580:18;:28::i;:::-;18507:109:::0;:::o;798:98::-;878:10;798:98;:::o;28210:372::-;-1:-1:-1;;;;;28338:19:0;;28330:68;;;;-1:-1:-1;;;28330:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28417:21:0;;28409:68;;;;-1:-1:-1;;;28409:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28490:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28542:32;;;;;;;;;;;;;;;;;28210:372;;;:::o;25996:505::-;-1:-1:-1;;;;;26128:20:0;;26120:70;;;;-1:-1:-1;;;26120:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26209:23:0;;26201:71;;;;-1:-1:-1;;;26201:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26305;26327:6;26305:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26305:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;26285:17:0;;;;;;;:9;:17;;;;;;:91;;;;26410:20;;;;;;;:32;;26435:6;26410:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;26387:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;26458:35;;;;;;;26387:20;;26458:35;;;;;;;;;;;;;25996:505;;;:::o;6028:226::-;6148:7;6184:12;6176:6;;;;6168:29;;;;-1:-1:-1;;;6168:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6168:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6220:5:0;;;6028:226::o;5125:181::-;5183:7;5215:5;;;5239:6;;;;5231:46;;;;;-1:-1:-1;;;5231:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5297:1;5125:181;-1:-1:-1;;;5125:181:0:o;26782:308::-;-1:-1:-1;;;;;26858:21:0;;26850:65;;;;;-1:-1:-1;;;26850:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26943:12;;:24;;26960:6;26943:24;:16;:24;:::i;:::-;26928:12;:39;-1:-1:-1;;;;;26999:18:0;;;;;;:9;:18;;;;;;:30;;27022:6;26999:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;26978:18:0;;;;;;:9;:18;;;;;;;;:51;;;;27045:37;;;;;;;26978:18;;;;27045:37;;;;;;;;;;26782:308;;:::o;18722:229::-;-1:-1:-1;;;;;18796:22:0;;18788:73;;;;-1:-1:-1;;;18788:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18898:6;;;18877:38;;-1:-1:-1;;;;;18877:38:0;;;;18898:6;;;18877:38;;;18926:6;:17;;-1:-1:-1;;;;;;18926:17:0;-1:-1:-1;;;;;18926:17:0;;;;;;;;;;18722:229::o

Swarm Source

ipfs://14fa831e1aaf7dd56b95f3454ca9b6e3de2d325faa919a7cd9cc71667dec8cb3
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading