Contract 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xb4119ce6c54960a07f34a17123e215cc13ed249d36d99f281577ad7f59979ee183084942021-06-15 4:12:5414 secs ago0x05ae79674290ba6094bcd3b53486185895d330b8 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000864745
0x027e76ff165e1b1151a15ee8f6f54d7a2c9be0e6f143ddb45269174add15c92683084272021-06-15 4:09:333 mins ago0x05ae79674290ba6094bcd3b53486185895d330b8 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000900245
0x7cba01c88b5776d4bff2ab064fa2accf9c97f692a47bce8a4fd717c6e7ec7a5c83083902021-06-15 4:07:425 mins ago0x533be8e35da808bd473b3181b0086bd7181dcef3 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
0x4237f02cc8617400011ce88f40e246497d1efca4ba1021bafba8e1a10aa196db83082652021-06-15 4:01:2711 mins ago0x816df78e39a0b778393c2af6769f632b55ba8da2 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.00079108
0xe63754e60f279f6f45b2add1ad9a9d3bf1890b1816c6ee7ad65c2d6b5dbb982183082572021-06-15 4:01:0312 mins ago0x40a0535a6452053f64daf955c2580c5f2d798dd3 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.00079108
0xc1e2dfe4c38668b95bb3e5def474b8e394bc6d655020e73b5cac6913cd72ac3783082502021-06-15 4:00:4212 mins ago0x17b11735befb1e21064dd2934a00b351405d1c52 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.00079108
0xe2395f7c6df1fc022686f69a2fa7e6eb37d6cc93b6085a79341a87416761e66083082452021-06-15 4:00:2712 mins ago0x17b11735befb1e21064dd2934a00b351405d1c52 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000704106
0x322d0a7ece2dbf5ffdf6637cfb78cd78f09a0ae541cbc12f0bebf940e7d3d3d983082432021-06-15 4:00:2112 mins ago0x17b11735befb1e21064dd2934a00b351405d1c52 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000704106
0x3f32c450db1c5b14506d55e4bda3489c17a4c072c5e29644a4552e9899e9ca2283082412021-06-15 4:00:1512 mins ago0x17b11735befb1e21064dd2934a00b351405d1c52 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000704106
0xa60f04962c6873c4ccf9b4180413d1810c541a80d288c024254c32a2d6b8a78483082392021-06-15 4:00:0912 mins ago0x17b11735befb1e21064dd2934a00b351405d1c52 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000704106
0xd24f2c7f7e219e28403ae11190dfbcc983a28c36fae473dd4c6cb5f57cdda7c983081942021-06-15 3:57:5415 mins ago0x816df78e39a0b778393c2af6769f632b55ba8da2 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000586755
0xd2f7f48eeb71c267a6559f96c8de1dfc28259c6939a1b72d33865e653db7c7db83080822021-06-15 3:52:1820 mins ago0xcbb516919d2e827aeedbb418609b13d330241bc9 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000586755
0xb8daed8c3c9088a5930d55f236816bf54f868ecc30680c66e5d03954fef6512983080602021-06-15 3:51:1221 mins ago0x3aadb4b088c7428d8de5a367dbb465511b69b333 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000864745
0xd4830fa9f0d44834a8b468f1e1d244e3faf549c965d2e01b96c716149b298ac483080472021-06-15 3:50:3322 mins ago0x3aadb4b088c7428d8de5a367dbb465511b69b333 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000900245
0xd56c98d2dd6d1d4b7e32e8e83377549352cdff9ff1b65d824f6366d0509a13f483080362021-06-15 3:50:0023 mins ago0x000c67eadc102264c772424457d3a70348a4fa59 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.00079108
0x1c3b15cb3f7dff8013f746e8d551db57f9fced55170d396351ae8c89dc1dfddc83080172021-06-15 3:49:0324 mins ago0x000c67eadc102264c772424457d3a70348a4fa59 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000586755
0x2ef48b879ccf7f9386010eb2bbf628e6b2feaf9f7fc7af93999ef1b16d7453d583080062021-06-15 3:48:3024 mins ago0x7625d32d984439ff7f1cdfe4d7653c2102aef966 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000908205
0xbb2af70d4ef697087b830a60d0bd9e25e2a15c04e782766c229ea07efd86354283079972021-06-15 3:48:0325 mins ago0x04e532186bd2c30c663673b20eea2c9965c55faa IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000825245
0x69989e1d442ce95b12b736eb79e59c7a858aacd4a78fe97184542799f419723c83079202021-06-15 3:44:1228 mins ago0xa660d2049538a0001a274ebddfe2732c6a8d22fd IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
0xb88edcc262c1f7d6b1fd1e30f153507e29fa5f416bc9019141a2f7953fde7b9783079012021-06-15 3:43:1529 mins ago0xc80900ea59934637ea3e073d8e3bb601a265250e IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
0x719355e5ea28ceac4301a74a69e1c0738c4e3770f0de5051d3b68e099b718d5f83078952021-06-15 3:42:5730 mins ago0xc69370369dc02b8d11e25b93a5e553d4ac5940c7 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
0xb29f566e9c128a6d58bd75fd9b6ba17ad43c4088061aad8fa10a3bf5b03cb6b783078642021-06-15 3:41:2431 mins ago0x48f1c0fc95b3a81a59dd260b47036a41e2b9d8fc IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
0x290a62ebcb64520a7f870e37726f9ec1e8b2c49c9867bbf4e13b42b142af88c083078622021-06-15 3:41:1831 mins ago0x869bc04821f7a0a8023867b65bdb7e19a623a427 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000828755
0xa8f2c3148233579ee40222eb9dc5a29cf8d68671d574a7134c57667b886b63dc83078582021-06-15 3:41:0632 mins ago0x8f47fcb302e07527c36171d12dda2a54d3c471c8 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000828815
0x4052859160bdb0710286eff5af63dcc3037e5db45fd78250ee9eddc49d7db64083078552021-06-15 3:40:5732 mins ago0x2c19a2e3f2d6e28e8291c6bef2428e8c3b4a30e5 IN  0xd4bbc80b9b102b77b21a06cb77e954049605e6c10 BNB0.000661755
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xcc68cbb575191e60584154d59c98e42ed50d1b67c3e3e1fc328f0162443f31dc54687612021-03-07 9:51:0099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 PancakeSwap: BELT 20 BNB
0xcc68cbb575191e60584154d59c98e42ed50d1b67c3e3e1fc328f0162443f31dc54687612021-03-07 9:51:0099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 PancakeSwap: BELT 20 BNB
0xcc68cbb575191e60584154d59c98e42ed50d1b67c3e3e1fc328f0162443f31dc54687612021-03-07 9:51:0099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x224172206bd6d089e6b16ffcd77876b1d092e5af0 BNB
0xcc68cbb575191e60584154d59c98e42ed50d1b67c3e3e1fc328f0162443f31dc54687612021-03-07 9:51:0099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x224172206bd6d089e6b16ffcd77876b1d092e5af0 BNB
0xcc68cbb575191e60584154d59c98e42ed50d1b67c3e3e1fc328f0162443f31dc54687612021-03-07 9:51:0099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x224172206bd6d089e6b16ffcd77876b1d092e5af0 BNB
0x034f75c1f133da523c8cf53b618411b116d687def46a0bbd80fb6609257b67ec54687112021-03-07 9:48:3099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x224172206bd6d089e6b16ffcd77876b1d092e5af0 BNB
0x034f75c1f133da523c8cf53b618411b116d687def46a0bbd80fb6609257b67ec54687112021-03-07 9:48:3099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 PancakeSwap: BELT 20 BNB
0x034f75c1f133da523c8cf53b618411b116d687def46a0bbd80fb6609257b67ec54687112021-03-07 9:48:3099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 PancakeSwap: BELT 20 BNB
0x034f75c1f133da523c8cf53b618411b116d687def46a0bbd80fb6609257b67ec54687112021-03-07 9:48:3099 days 18 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 PancakeSwap: BELT 20 BNB
0x1296cd57b0cf81edb64b1ebf711a2323991c8cf0e45bfaaf3426f444d389327454674922021-03-07 8:47:3399 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0x1296cd57b0cf81edb64b1ebf711a2323991c8cf0e45bfaaf3426f444d389327454674922021-03-07 8:47:3399 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0x1296cd57b0cf81edb64b1ebf711a2323991c8cf0e45bfaaf3426f444d389327454674922021-03-07 8:47:3399 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0x1296cd57b0cf81edb64b1ebf711a2323991c8cf0e45bfaaf3426f444d389327454674922021-03-07 8:47:3399 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0x1296cd57b0cf81edb64b1ebf711a2323991c8cf0e45bfaaf3426f444d389327454674922021-03-07 8:47:3399 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0xf394910f44ba176a03464fa596320cdf83f02c0387f9827a5e3bba829706e52854672002021-03-07 8:32:5799 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0xf394910f44ba176a03464fa596320cdf83f02c0387f9827a5e3bba829706e52854672002021-03-07 8:32:5799 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0xf394910f44ba176a03464fa596320cdf83f02c0387f9827a5e3bba829706e52854672002021-03-07 8:32:5799 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0xf394910f44ba176a03464fa596320cdf83f02c0387f9827a5e3bba829706e52854672002021-03-07 8:32:5799 days 19 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0xd638bfb81a5d426b5f89e38ae377570995fd06d070748925e4faf18bf7c96aae54653992021-03-07 7:02:5499 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0xd638bfb81a5d426b5f89e38ae377570995fd06d070748925e4faf18bf7c96aae54653992021-03-07 7:02:5499 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0xd638bfb81a5d426b5f89e38ae377570995fd06d070748925e4faf18bf7c96aae54653992021-03-07 7:02:5499 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0xd638bfb81a5d426b5f89e38ae377570995fd06d070748925e4faf18bf7c96aae54653992021-03-07 7:02:5499 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0xd638bfb81a5d426b5f89e38ae377570995fd06d070748925e4faf18bf7c96aae54653992021-03-07 7:02:5499 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0xeff8b733f12ae6902409047c44ad3ee0bf58f2010 BNB
0x89eae582076c196575651f5167272adc955a81a064b162b2e65b68c82f8d0b3154646942021-03-07 6:27:3999 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
0x89eae582076c196575651f5167272adc955a81a064b162b2e65b68c82f8d0b3154646942021-03-07 6:27:3999 days 21 hrs ago 0xd4bbc80b9b102b77b21a06cb77e954049605e6c1 0x86afa7ff694ab8c985b79733745662760e4541690 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterBelt

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

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;
    }
}

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
    );
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    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 name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: 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 {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].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 {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)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

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

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: 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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

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

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: 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 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/SafeERC20.sol";
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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @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"
        );
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) =
        target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data)
    internal
    view
    returns (bytes memory)
    {
        return
        functionStaticCall(
            target,
            data,
            "Address: low-level static call failed"
        );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.3._
     */
    function functionDelegateCall(address target, bytes memory data)
    internal
    returns (bytes memory)
    {
        return
        functionDelegateCall(
            target,
            data,
            "Address: low-level delegate call failed"
        );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.3._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        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);
            }
        }
    }
}

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
        );
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance =
        token.allowance(address(this), spender).add(value);
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance =
        token.allowance(address(this), spender).sub(
            value,
            "SafeERC20: decreased allowance below zero"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata =
        address(token).functionCall(
            data,
            "SafeERC20: low-level call failed"
        );
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeERC20: ERC20 operation did not succeed"
            );
        }
    }
}

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableSet.sol";
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
    private
    view
    returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
    private
    view
    returns (bytes32)
    {
        require(
            set._values.length > index,
            "EnumerableSet: index out of bounds"
        );
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value)
    internal
    returns (bool)
    {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value)
    internal
    returns (bool)
    {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value)
    internal
    view
    returns (bool)
    {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index)
    internal
    view
    returns (bytes32)
    {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
    internal
    returns (bool)
    {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
    internal
    returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
    internal
    view
    returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
    internal
    view
    returns (address)
    {
        return address(uint256(_at(set._inner, index)));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
    internal
    returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
    internal
    view
    returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
    internal
    view
    returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }
}

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
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() 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 virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

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

// "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol";
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

abstract contract BELTToken is ERC20 {
    function mint(address _to, uint256 _amount) public virtual;
}

interface IStrategy {
    function wantLockedTotal() external view returns (uint256);

    function sharesTotal() external view returns (uint256);

    function earn() external;

    function deposit(address _userAddress, uint256 _wantAmt)
    external
    returns (uint256);

    function withdraw(address _userAddress, uint256 _wantAmt)
    external
    returns (uint256);

    function inCaseTokensGetStuck(
        address _token,
        uint256 _amount,
        address _to
    ) external;
}

contract MasterBelt is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 shares;
        uint256 rewardDebt;
    }

    struct PoolInfo {
        IERC20 want;
        uint256 allocPoint;
        uint256 lastRewardBlock;
        uint256 accBELTPerShare;
        address strat;
    }

    address public BELT = address(0);

    address public burnAddress = 0x000000000000000000000000000000000000dEaD;

    uint256 public ownerBELTReward = 178;

    uint256 public BELTPerBlock = 1000000000000000000;
    uint256 public startBlock = 5559747;

    PoolInfo[] public poolInfo;
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    uint256 public totalAllocPoint = 0;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(address _belt) public {
        BELT = _belt;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    function add(
        uint256 _allocPoint,
        IERC20 _want,
        bool _withUpdate,
        address _strat
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock =
        block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
        want: _want,
        allocPoint: _allocPoint,
        lastRewardBlock: lastRewardBlock,
        accBELTPerShare: 0,
        strat: _strat
        })
        );
    }

    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    function getMultiplier(uint256 _from, uint256 _to)
    public
    view
    returns (uint256)
    {
        return _to.sub(_from);
    }

    function pendingBELT(uint256 _pid, address _user)
    external
    view
    returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accBELTPerShare = pool.accBELTPerShare;
        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        if (block.number > pool.lastRewardBlock && sharesTotal != 0) {
            uint256 multiplier =
            getMultiplier(pool.lastRewardBlock, block.number);
            uint256 BELTReward =
            multiplier.mul(BELTPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );
            accBELTPerShare = accBELTPerShare.add(
                BELTReward.mul(1e12).div(sharesTotal)
            );
        }
        return user.shares.mul(accBELTPerShare).div(1e12).sub(user.rewardDebt);
    }

    function stakedWantTokens(uint256 _pid, address _user)
    external
    view
    returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        uint256 wantLockedTotal =
        IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        if (sharesTotal == 0) {
            return 0;
        }
        return user.shares.mul(wantLockedTotal).div(sharesTotal);
    }

    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        if (sharesTotal == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        if (multiplier <= 0) {
            return;
        }
        uint256 BELTReward =
        multiplier.mul(BELTPerBlock).mul(pool.allocPoint).div(
            totalAllocPoint
        );

        BELTToken(BELT).mint(
            owner(),
            BELTReward.mul(ownerBELTReward).div(1000)
        );
        BELTToken(BELT).mint(address(this), BELTReward);

        pool.accBELTPerShare = pool.accBELTPerShare.add(
            BELTReward.mul(1e12).div(sharesTotal)
        );
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 _pid, uint256 _wantAmt) public nonReentrant {
        updatePool(_pid);
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.shares > 0) {
            uint256 pending =
            user.shares.mul(pool.accBELTPerShare).div(1e12).sub(
                user.rewardDebt
            );
            if (pending > 0) {
                safeBELTTransfer(msg.sender, pending);
            }
        }
        if (_wantAmt > 0) {
            pool.want.safeTransferFrom(
                address(msg.sender),
                address(this),
                _wantAmt
            );

            pool.want.safeIncreaseAllowance(pool.strat, _wantAmt);
            uint256 sharesAdded =
            IStrategy(poolInfo[_pid].strat).deposit(msg.sender, _wantAmt);
            user.shares = user.shares.add(sharesAdded);
        }
        user.rewardDebt = user.shares.mul(pool.accBELTPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _wantAmt);
    }

    function withdraw(uint256 _pid, uint256 _wantAmt) public nonReentrant {
        updatePool(_pid);

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 wantLockedTotal =
        IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal();

        require(user.shares > 0, "user.shares is 0");
        require(sharesTotal > 0, "sharesTotal is 0");

        uint256 pending =
        user.shares.mul(pool.accBELTPerShare).div(1e12).sub(
            user.rewardDebt
        );
        if (pending > 0) {
            safeBELTTransfer(msg.sender, pending);
        }

        uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal);
        if (_wantAmt > amount) {
            _wantAmt = amount;
        }
        if (_wantAmt > 0) {
            uint256 sharesRemoved =
            IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, _wantAmt);

            if (sharesRemoved > user.shares) {
                user.shares = 0;
            } else {
                user.shares = user.shares.sub(sharesRemoved);
            }

            uint256 wantBal = IERC20(pool.want).balanceOf(address(this));
            if (wantBal < _wantAmt) {
                _wantAmt = wantBal;
            }
            pool.want.safeTransfer(address(msg.sender), _wantAmt);
        }
        user.rewardDebt = user.shares.mul(pool.accBELTPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _wantAmt);
    }

    function withdrawAll(uint256 _pid) public nonReentrant {
        withdraw(_pid, uint256(-1));
    }

    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 wantLockedTotal =
        IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal();
        uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal);

        IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, amount);

        pool.want.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
        user.shares = 0;
        user.rewardDebt = 0;
    }

    function safeBELTTransfer(address _to, uint256 _BELTAmt) internal {
        uint256 BELTBal = IERC20(BELT).balanceOf(address(this));
        if (_BELTAmt > BELTBal) {
            IERC20(BELT).transfer(_to, BELTBal);
        } else {
            IERC20(BELT).transfer(_to, _BELTAmt);
        }
    }

    function inCaseTokensGetStuck(address _token, uint256 _amount)
    public
    onlyOwner
    {
        require(_token != BELT, "!safe");
        IERC20(_token).safeTransfer(msg.sender, _amount);
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_belt","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BELT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BELTPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_want","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"address","name":"_strat","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerBELTReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingBELT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"want","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accBELTPerShare","type":"uint256"},{"internalType":"address","name":"strat","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakedWantTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600280546001600160a01b03199081169091556003805490911661dead17905560b2600455670de0b6b3a76400006005556254d5c3600655600060095534801561004d57600080fd5b506040516123233803806123238339818101604052602081101561007057600080fd5b5051600061007c6100ef565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b0319166001600160a01b03929092169190911790556100f3565b3390565b612221806101026000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806364482f79116100c357806393f1a40b1161007c57806393f1a40b14610353578063958e2d3114610398578063a1021ad9146103b5578063c6d758cb146103e1578063e2bbb1581461040d578063f2fde38b1461043057610158565b806364482f79146102c157806370d5ae05146102ec578063715018a6146102f45780637b84daec146102fc5780638da5cb5b146103285780638dbb1e3a1461033057610158565b8063441a3e7011610115578063441a3e701461021457806348cd4cb11461023957806351eb05a6146102415780635312ea8e1461025e5780635f70edcf1461027b578063630b5ba1146102b957610158565b8063081e3eda1461015d578063101e6e68146101775780631526fe271461019b57806317caf6f1146101fc5780631cf85046146102045780631dc558b91461020c575b600080fd5b610165610456565b60408051918252519081900360200190f35b61017f61045c565b604080516001600160a01b039092168252519081900360200190f35b6101b8600480360360208110156101b157600080fd5b503561046b565b60405180866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b031681526020019550505050505060405180910390f35b6101656104b6565b6101656104bc565b6101656104c2565b6102376004803603604081101561022a57600080fd5b50803590602001356104c8565b005b610165610955565b6102376004803603602081101561025757600080fd5b503561095b565b6102376004803603602081101561027457600080fd5b5035610baa565b6102376004803603608081101561029157600080fd5b508035906001600160a01b036020820135811691604081013515159160609091013516610e7e565b610237611036565b610237600480360360608110156102d757600080fd5b50803590602081013590604001351515611059565b61017f61112a565b610237611139565b6101656004803603604081101561031257600080fd5b50803590602001356001600160a01b03166111db565b61017f611358565b6101656004803603604081101561034657600080fd5b5080359060200135611367565b61037f6004803603604081101561036957600080fd5b50803590602001356001600160a01b031661137a565b6040805192835260208301919091528051918290030190f35b610237600480360360208110156103ae57600080fd5b503561139e565b610165600480360360408110156103cb57600080fd5b50803590602001356001600160a01b03166113fc565b610237600480360360408110156103f757600080fd5b506001600160a01b03813516906020013561154e565b6102376004803603604081101561042357600080fd5b5080359060200135611605565b6102376004803603602081101561044657600080fd5b50356001600160a01b0316611827565b60075490565b6002546001600160a01b031681565b6007818154811061047857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841695509193909290911685565b60095481565b60055481565b60045481565b6002600154141561050e576040805162461bcd60e51b815260206004820152601f6024820152600080516020612115833981519152604482015290519081900360640190fd5b600260015561051c8261095b565b60006007838154811061052b57fe5b60009182526020808320868452600882526040808520338652909252908320600780546005909402909201945092918690811061056457fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b1580156105c157600080fd5b505afa1580156105d5573d6000803e3d6000fd5b505050506040513d60208110156105eb57600080fd5b5051600780549192506000918790811061060157fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561065e57600080fd5b505afa158015610672573d6000803e3d6000fd5b505050506040513d602081101561068857600080fd5b505183549091506106d3576040805162461bcd60e51b815260206004820152601060248201526f0757365722e73686172657320697320360841b604482015290519081900360640190fd5b6000811161071b576040805162461bcd60e51b815260206004820152601060248201526f0736861726573546f74616c20697320360841b604482015290519081900360640190fd5b6000610755846001015461074f64e8d4a510006107498960030154896000015461191f90919063ffffffff16565b90611978565b906119ba565b905080156107675761076733826119fc565b835460009061077c908490610749908761191f565b90508087111561078a578096505b86156108f05760006007898154811061079f57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b81523394810194909452602484018d9052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b15801561080357600080fd5b505af1158015610817573d6000803e3d6000fd5b505050506040513d602081101561082d57600080fd5b505186549091508111156108445760008655610853565b855461085090826119ba565b86555b8654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561089d57600080fd5b505afa1580156108b1573d6000803e3d6000fd5b505050506040513d60208110156108c757600080fd5b50519050888110156108d7578098505b87546108ed906001600160a01b0316338b611b8d565b50505b6003860154855461090b9164e8d4a51000916107499161191f565b6001860155604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050505050565b60065481565b60006007828154811061096a57fe5b906000526020600020906005020190508060020154431161098b5750610ba7565b60008160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109dd57600080fd5b505afa1580156109f1573d6000803e3d6000fd5b505050506040513d6020811015610a0757600080fd5b5051905080610a1d575043600290910155610ba7565b6000610a2d836002015443611367565b905060008111610a3f57505050610ba7565b6000610a6a6009546107498660010154610a646005548761191f90919063ffffffff16565b9061191f565b6002549091506001600160a01b03166340c10f19610a86611358565b610aa16103e86107496004548761191f90919063ffffffff16565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610ae757600080fd5b505af1158015610afb573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b50505050610b94610b898461074964e8d4a510008561191f90919063ffffffff16565b600386015490611bdf565b6003850155505043600290920191909155505b50565b60026001541415610bf0576040805162461bcd60e51b815260206004820152601f6024820152600080516020612115833981519152604482015290519081900360640190fd5b6002600181905550600060078281548110610c0757fe5b600091825260208083208584526008825260408085203386529092529083206007805460059094029092019450929185908110610c4057fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b158015610c9d57600080fd5b505afa158015610cb1573d6000803e3d6000fd5b505050506040513d6020811015610cc757600080fd5b50516007805491925060009186908110610cdd57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3a57600080fd5b505afa158015610d4e573d6000803e3d6000fd5b505050506040513d6020811015610d6457600080fd5b50518354909150600090610d7e908390610749908661191f565b905060078681548110610d8d57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b8152339481019490945260248401869052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b158015610df157600080fd5b505af1158015610e05573d6000803e3d6000fd5b505050506040513d6020811015610e1b57600080fd5b50508454610e33906001600160a01b03163383611b8d565b604080518281529051879133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060008083556001928301555080555050565b610e86611c39565b6000546001600160a01b03908116911614610ed6576040805162461bcd60e51b815260206004820181905260248201526000805160206121a2833981519152604482015290519081900360640190fd5b8115610ee457610ee4611036565b60006006544311610ef757600654610ef9565b435b600954909150610f099086611bdf565b6009556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815293861660808301908152600780546001810182559252915160059091027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688810180549288166001600160a01b031993841617905596517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68988015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a87015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b86015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c909401805494909316931692909217905550565b60075460005b818110156110555761104d8161095b565b60010161103c565b5050565b611061611c39565b6000546001600160a01b039081169116146110b1576040805162461bcd60e51b815260206004820181905260248201526000805160206121a2833981519152604482015290519081900360640190fd5b80156110bf576110bf611036565b6110fc826110f6600786815481106110d357fe5b9060005260206000209060050201600101546009546119ba90919063ffffffff16565b90611bdf565b600981905550816007848154811061111057fe5b906000526020600020906005020160010181905550505050565b6003546001600160a01b031681565b611141611c39565b6000546001600160a01b03908116911614611191576040805162461bcd60e51b815260206004820181905260248201526000805160206121a2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080600784815481106111eb57fe5b600091825260208083208784526008825260408085206001600160a01b03808a16875290845281862060046005909602909301858101548351632251caaf60e11b8152935191985093969593909116936344a3955e9383810193919291829003018186803b15801561125c57600080fd5b505afa158015611270573d6000803e3d6000fd5b505050506040513d602081101561128657600080fd5b5051600780549192506000918890811061129c57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b1580156112f957600080fd5b505afa15801561130d573d6000803e3d6000fd5b505050506040513d602081101561132357600080fd5b5051905081611339576000945050505050611352565b825461134b908390610749908461191f565b9450505050505b92915050565b6000546001600160a01b031690565b600061137382846119ba565b9392505050565b60086020908152600092835260408084209091529082529020805460019091015482565b600260015414156113e4576040805162461bcd60e51b815260206004820152601f6024820152600080516020612115833981519152604482015290519081900360640190fd5b60026001556113f5816000196104c8565b5060018055565b6000806007848154811061140c57fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060059590950290920160038101546004808301548451632251caaf60e11b8152945193995096979196919591909416936344a3955e93808201939190829003018186803b15801561148557600080fd5b505afa158015611499573d6000803e3d6000fd5b505050506040513d60208110156114af57600080fd5b50516002850154909150431180156114c657508015155b156115265760006114db856002015443611367565b905060006115026009546107498860010154610a646005548761191f90919063ffffffff16565b905061152161151a846107498464e8d4a5100061191f565b8590611bdf565b935050505b61134b836001015461074f64e8d4a5100061074986886000015461191f90919063ffffffff16565b611556611c39565b6000546001600160a01b039081169116146115a6576040805162461bcd60e51b815260206004820181905260248201526000805160206121a2833981519152604482015290519081900360640190fd5b6002546001600160a01b03838116911614156115f1576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6110556001600160a01b0383163383611b8d565b6002600154141561164b576040805162461bcd60e51b815260206004820152601f6024820152600080516020612115833981519152604482015290519081900360640190fd5b60026001556116598261095b565b60006007838154811061166857fe5b600091825260208083208684526008825260408085203386529092529220805460059092029092019250156116d95760006116c5826001015461074f64e8d4a510006107498760030154876000015461191f90919063ffffffff16565b905080156116d7576116d733826119fc565b505b82156117c65781546116f6906001600160a01b0316333086611c3d565b60048201548254611714916001600160a01b03918216911685611c9d565b60006007858154811061172357fe5b600091825260208083206004600590930201820154604080516311f9fbc960e21b8152339481019490945260248401899052516001600160a01b03909116936347e7ef24936044808201949392918390030190829087803b15801561178757600080fd5b505af115801561179b573d6000803e3d6000fd5b505050506040513d60208110156117b157600080fd5b505182549091506117c29082611bdf565b8255505b600382015481546117e19164e8d4a51000916107499161191f565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b61182f611c39565b6000546001600160a01b0390811691161461187f576040805162461bcd60e51b815260206004820181905260248201526000805160206121a2833981519152604482015290519081900360640190fd5b6001600160a01b0381166118c45760405162461bcd60e51b81526004018080602001828103825260268152602001806121356026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008261192e57506000611352565b8282028284828161193b57fe5b04146113735760405162461bcd60e51b81526004018080602001828103825260218152602001806121816021913960400191505060405180910390fd5b600061137383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d88565b600061137383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e2a565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611a4757600080fd5b505afa158015611a5b573d6000803e3d6000fd5b505050506040513d6020811015611a7157600080fd5b5051905080821115611b05576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611ad357600080fd5b505af1158015611ae7573d6000803e3d6000fd5b505050506040513d6020811015611afd57600080fd5b50611b889050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611b5b57600080fd5b505af1158015611b6f573d6000803e3d6000fd5b505050506040513d6020811015611b8557600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611b88908490611e84565b600082820183811015611373576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611c97908590611e84565b50505050565b6000611d3382856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b158015611d0157600080fd5b505afa158015611d15573d6000803e3d6000fd5b505050506040513d6020811015611d2b57600080fd5b505190611bdf565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052909150611c97908590611e84565b60008183611e145760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611dd9578181015183820152602001611dc1565b50505050905090810190601f168015611e065780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611e2057fe5b0495945050505050565b60008184841115611e7c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611dd9578181015183820152602001611dc1565b505050900390565b6060611ed9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f359092919063ffffffff16565b805190915015611b8857808060200190516020811015611ef857600080fd5b5051611b885760405162461bcd60e51b815260040180806020018281038252602a8152602001806121c2602a913960400191505060405180910390fd5b6060611f448484600085611f4c565b949350505050565b606082471015611f8d5760405162461bcd60e51b815260040180806020018281038252602681526020018061215b6026913960400191505060405180910390fd5b611f96856120a8565b611fe7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106120265780518252601f199092019160209182019101612007565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612088576040519150601f19603f3d011682016040523d82523d6000602084013e61208d565b606091505b509150915061209d8282866120ae565b979650505050505050565b3b151590565b606083156120bd575081611373565b8251156120cd5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315611dd9578181015183820152602001611dc156fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208c5a39daeef27d34536671e044105fa93c85319236d3e978b788a589220eeeca64736f6c634300060c0033000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f

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

000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f


Deployed ByteCode Sourcemap

44574:8978:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45728:95;;;:::i;:::-;;;;;;;;;;;;;;;;44958:32;;;:::i;:::-;;;;-1:-1:-1;;;;;44958:32:0;;;;;;;;;;;;;;45224:26;;;;;;;;;;;;;;;;-1:-1:-1;45224:26:0;;:::i;:::-;;;;;-1:-1:-1;;;;;45224:26:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45224:26:0;;;;;;;;;;;;;;;;;;;45328:34;;;:::i;45124:49::-;;;:::i;45079:36::-;;;:::i;50638:1585::-;;;;;;;;;;;;;;;;-1:-1:-1;50638:1585:0;;;;;;;:::i;:::-;;45180:35;;;:::i;48561:995::-;;;;;;;;;;;;;;;;-1:-1:-1;48561:995:0;;:::i;52340:683::-;;;;;;;;;;;;;;;;-1:-1:-1;52340:683:0;;:::i;45831:604::-;;;;;;;;;;;;;;;;-1:-1:-1;45831:604:0;;;-1:-1:-1;;;;;45831:604:0;;;;;;;;;;;;;;;;;;;;;:::i;48373:180::-;;;:::i;46443:362::-;;;;;;;;;;;;;;;;-1:-1:-1;46443:362:0;;;;;;;;;;;;;;:::i;44999:71::-;;;:::i;41404:148::-;;;:::i;47846:519::-;;;;;;;;;;;;;;;;-1:-1:-1;47846:519:0;;;;;;-1:-1:-1;;;;;47846:519:0;;:::i;40762:79::-;;;:::i;46813:141::-;;;;;;;;;;;;;;;;-1:-1:-1;46813:141:0;;;;;;;:::i;45257:64::-;;;;;;;;;;;;;;;;-1:-1:-1;45257:64:0;;;;;;-1:-1:-1;;;;;45257:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;52231:101;;;;;;;;;;;;;;;;-1:-1:-1;52231:101:0;;:::i;46962:876::-;;;;;;;;;;;;;;;;-1:-1:-1;46962:876:0;;;;;;-1:-1:-1;;;;;46962:876:0;;:::i;53344:205::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53344:205:0;;;;;;;;:::i;49564:1066::-;;;;;;;;;;;;;;;;-1:-1:-1;49564:1066:0;;;;;;;:::i;41707:281::-;;;;;;;;;;;;;;;;-1:-1:-1;41707:281:0;-1:-1:-1;;;;;41707:281:0;;:::i;45728:95::-;45800:8;:15;45728:95;:::o;44958:32::-;;;-1:-1:-1;;;;;44958:32:0;;:::o;45224:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45224:26:0;;;;-1:-1:-1;45224:26:0;;;;;;;;:::o;45328:34::-;;;;:::o;45124:49::-;;;;:::o;45079:36::-;;;;:::o;50638:1585::-;42989:1;43594:7;;:19;;43586:63;;;;;-1:-1:-1;;;43586:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43586:63:0;;;;;;;;;;;;;;;42989:1;43727:7;:18;50719:16:::1;50730:4:::0;50719:10:::1;:16::i;:::-;50748:21;50772:8;50781:4;50772:14;;;;;;;;;::::0;;;::::1;::::0;;;50821;;;:8:::1;:14:::0;;;;;;50836:10:::1;50821:26:::0;;;;;;;;50905:8:::1;:14:::0;;50772::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;50821:26:0;50772:14;50830:4;;50905:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;50905:20:0::1;-1:-1:-1::0;;;;;50895:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;50895:49:0;50987:8:::1;:14:::0;;50895:49;;-1:-1:-1;50955:19:0::1;::::0;50996:4;;50987:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;50987:20:0::1;-1:-1:-1::0;;;;;50977:43:0::1;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;50977:45:0;51043:11;;50977:45;;-1:-1:-1;51035:44:0::1;;;::::0;;-1:-1:-1;;;51035:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51035:44:0;;;;;;;;;;;;;::::1;;51112:1;51098:11;:15;51090:44;;;::::0;;-1:-1:-1;;;51090:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;51090:44:0;;;;;;;;;;;;;::::1;;51147:15;51174:92;51240:4;:15;;;51174:47;51216:4;51174:37;51190:4;:20;;;51174:4;:11;;;:15;;:37;;;;:::i;:::-;:41:::0;::::1;:47::i;:::-;:51:::0;::::1;:92::i;:::-;51147:119:::0;-1:-1:-1;51281:11:0;;51277:81:::1;;51309:37;51326:10;51338:7;51309:16;:37::i;:::-;51387:11:::0;;51370:14:::1;::::0;51387:49:::1;::::0;51424:11;;51387:32:::1;::::0;51403:15;51387::::1;:32::i;:49::-;51370:66;;51462:6;51451:8;:17;51447:67;;;51496:6;51485:17;;51447:67;51528:12:::0;;51524:564:::1;;51557:21;51604:8;51613:4;51604:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;51594:62:::1;::::0;;-1:-1:-1;;;51594:62:0;;51635:10:::1;51594:62:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;51604:20:0;;::::1;::::0;51594:40:::1;::::0;:62;;;;;51604:14;51594:62;;;;;;;;;51604:20;51594:62;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;51594:62:0;51693:11;;51594:62;;-1:-1:-1;51677:27:0;::::1;51673:168;;;51739:1;51725:15:::0;;51673:168:::1;;;51795:11:::0;;:30:::1;::::0;51811:13;51795:15:::1;:30::i;:::-;51781:44:::0;;51673:168:::1;51882:9:::0;;51875:42:::1;::::0;;-1:-1:-1;;;51875:42:0;;51911:4:::1;51875:42;::::0;::::1;::::0;;;51857:15:::1;::::0;-1:-1:-1;;;;;51882:9:0::1;::::0;51875:27:::1;::::0;:42;;;;;::::1;::::0;;;;;;;;51882:9;51875:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;51875:42:0;;-1:-1:-1;51936:18:0;;::::1;51932:77;;;51986:7;51975:18;;51932:77;52023:9:::0;;:53:::1;::::0;-1:-1:-1;;;;;52023:9:0::1;52054:10;52067:8:::0;52023:22:::1;:53::i;:::-;51524:564;;;52132:20;::::0;::::1;::::0;52116:11;;:47:::1;::::0;52158:4:::1;::::0;52116:37:::1;::::0;:15:::1;:37::i;:47::-;52098:15;::::0;::::1;:65:::0;52179:36:::1;::::0;;;;;;;52200:4;;52188:10:::1;::::0;52179:36:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;42945:1:0;43906:22;;-1:-1:-1;;;;;;50638:1585:0:o;45180:35::-;;;;:::o;48561:995::-;48613:21;48637:8;48646:4;48637:14;;;;;;;;;;;;;;;;;;48613:38;;48682:4;:20;;;48666:12;:36;48662:75;;48719:7;;;48662:75;48747:19;48779:4;:10;;;;;;;;;;-1:-1:-1;;;;;48779:10:0;-1:-1:-1;;;;;48769:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48769:35:0;;-1:-1:-1;48819:16:0;48815:105;;-1:-1:-1;48875:12:0;48852:20;;;;:35;48902:7;;48815:105;48930:18;48951:49;48965:4;:20;;;48987:12;48951:13;:49::i;:::-;48930:70;;49029:1;49015:10;:15;49011:54;;49047:7;;;;;49011:54;49075:18;49105:94;49173:15;;49105:49;49138:4;:15;;;49105:28;49120:12;;49105:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:94::-;49222:4;;49075:124;;-1:-1:-1;;;;;;49222:4:0;49212:20;49247:7;:5;:7::i;:::-;49269:41;49305:4;49269:31;49284:15;;49269:10;:14;;:31;;;;:::i;:41::-;49212:109;;;;;;;;;;;;;-1:-1:-1;;;;;49212:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49342:4:0;;49332:47;;;-1:-1:-1;;;49332:47:0;;49361:4;49332:47;;;;;;;;;;;;-1:-1:-1;;;;;49342:4:0;;;;-1:-1:-1;49332:20:0;;-1:-1:-1;49332:47:0;;;;;49342:4;;49332:47;;;;;;;;49342:4;;49332:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49415:87;49454:37;49479:11;49454:20;49469:4;49454:10;:14;;:20;;;;:::i;:37::-;49415:20;;;;;:24;:87::i;:::-;49392:20;;;:110;-1:-1:-1;;49536:12:0;49513:20;;;;:35;;;;-1:-1:-1;48561:995:0;;:::o;52340:683::-;42989:1;43594:7;;:19;;43586:63;;;;;-1:-1:-1;;;43586:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43586:63:0;;;;;;;;;;;;;;;42989:1;43727:7;:18;;;;52412:21:::1;52436:8;52445:4;52436:14;;;;;;;;;::::0;;;::::1;::::0;;;52485;;;:8:::1;:14:::0;;;;;;52500:10:::1;52485:26:::0;;;;;;;;52569:8:::1;:14:::0;;52436::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;52485:26:0;52436:14;52494:4;;52569:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;52569:20:0::1;-1:-1:-1::0;;;;;52559:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;52559:49:0;52651:8:::1;:14:::0;;52559:49;;-1:-1:-1;52619:19:0::1;::::0;52660:4;;52651:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;52651:20:0::1;-1:-1:-1::0;;;;;52641:43:0::1;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;52641:45:0;52714:11;;52641:45;;-1:-1:-1;52697:14:0::1;::::0;52714:49:::1;::::0;52641:45;;52714:32:::1;::::0;52730:15;52714::::1;:32::i;:49::-;52697:66;;52786:8;52795:4;52786:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;52776:60:::1;::::0;;-1:-1:-1;;;52776:60:0;;52817:10:::1;52776:60:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;52786:20:0;;::::1;::::0;52776:40:::1;::::0;:60;;;;;52786:14;52776:60;;;;;;;;;52786:20;52776:60;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;52849:9:0;;:51:::1;::::0;-1:-1:-1;;;;;52849:9:0::1;52880:10;52893:6:::0;52849:22:::1;:51::i;:::-;52916:43;::::0;;;;;;;52946:4;;52934:10:::1;::::0;52916:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;52984:1:0::1;52970:15:::0;;;52996::::1;::::0;;::::1;:19:::0;-1:-1:-1;43906:22:0;;-1:-1:-1;;52340:683:0:o;45831:604::-;40984:12;:10;:12::i;:::-;40974:6;;-1:-1:-1;;;;;40974:6:0;;;:22;;;40966:67;;;;;-1:-1:-1;;;40966:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40966:67:0;;;;;;;;;;;;;;;45988:11:::1;45984:61;;;46016:17;:15;:17::i;:::-;46055:23;46105:10;;46090:12;:25;:53;;46133:10;;46090:53;;;46118:12;46090:53;46172:15;::::0;46055:88;;-1:-1:-1;46172:32:0::1;::::0;46192:11;46172:19:::1;:32::i;:::-;46154:15;:50:::0;46243:173:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;46243:173:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;46243:173:0;;;;;;;;::::1;::::0;;;;;;46215:8:::1;:212:::0;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;46215:212:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;-1:-1:-1;45831:604:0:o;48373:180::-;48435:8;:15;48418:14;48461:85;48489:6;48483:3;:12;48461:85;;;48519:15;48530:3;48519:10;:15::i;:::-;48497:5;;48461:85;;;;48373:180;:::o;46443:362::-;40984:12;:10;:12::i;:::-;40974:6;;-1:-1:-1;;;;;40974:6:0;;;:22;;;40966:67;;;;;-1:-1:-1;;;40966:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40966:67:0;;;;;;;;;;;;;;;46575:11:::1;46571:61;;;46603:17;:15;:17::i;:::-;46660:87;46725:11;46660:46;46680:8;46689:4;46680:14;;;;;;;;;;;;;;;;;;:25;;;46660:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;46642:15;:105;;;;46786:11;46758:8;46767:4;46758:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;46443:362:::0;;;:::o;44999:71::-;;;-1:-1:-1;;;;;44999:71:0;;:::o;41404:148::-;40984:12;:10;:12::i;:::-;40974:6;;-1:-1:-1;;;;;40974:6:0;;;:22;;;40966:67;;;;;-1:-1:-1;;;40966:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40966:67:0;;;;;;;;;;;;;;;41511:1:::1;41495:6:::0;;41474:40:::1;::::0;-1:-1:-1;;;;;41495:6:0;;::::1;::::0;41474:40:::1;::::0;41511:1;;41474:40:::1;41542:1;41525:19:::0;;-1:-1:-1;;;;;;41525:19:0::1;::::0;;41404:148::o;47846:519::-;47939:7;47964:21;47988:8;47997:4;47988:14;;;;;;;;;;;;;;;;48037;;;:8;:14;;;;;;-1:-1:-1;;;;;48037:21:0;;;;;;;;;;;48103:10;47988:14;;;;;;;48103:10;;;;48093:35;;-1:-1:-1;;;48093:35:0;;;;47988:14;;-1:-1:-1;48037:21:0;;47988:14;48103:10;;;;;48093:33;;:35;;;;47988:14;;48093:35;;;;;;48103:10;48093:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48093:35:0;48184:8;:14;;48093:35;;-1:-1:-1;48139:23:0;;48193:4;;48184:14;;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1;;;;;48184:20:0;-1:-1:-1;;;;;48174:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48174:49:0;;-1:-1:-1;48238:16:0;48234:57;;48278:1;48271:8;;;;;;;;48234:57;48308:11;;:49;;48345:11;;48308:32;;48324:15;48308;:32::i;:49::-;48301:56;;;;;;47846:519;;;;;:::o;40762:79::-;40800:7;40827:6;-1:-1:-1;;;;;40827:6:0;40762:79;:::o;46813:141::-;46900:7;46932:14;:3;46940:5;46932:7;:14::i;:::-;46925:21;46813:141;-1:-1:-1;;;46813:141:0:o;45257:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52231:101::-;42989:1;43594:7;;:19;;43586:63;;;;;-1:-1:-1;;;43586:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43586:63:0;;;;;;;;;;;;;;;42989:1;43727:7;:18;52297:27:::1;52306:4:::0;-1:-1:-1;;52297:8:0::1;:27::i;:::-;-1:-1:-1::0;42945:1:0;43906:22;;52231:101::o;46962:876::-;47050:7;47075:21;47099:8;47108:4;47099:14;;;;;;;;;;;;;;;;47148;;;:8;:14;;;;;;-1:-1:-1;;;;;47148:21:0;;;;;;;;;;;47099:14;;;;;;;;47206:20;;;;47269:10;;;;;47259:35;;-1:-1:-1;;;47259:35:0;;;;47099:14;;-1:-1:-1;47148:21:0;;47206:20;;47099:14;;47269:10;;;;;47259:33;;:35;;;;;;;;;;;47269:10;47259:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47259:35:0;47324:20;;;;47259:35;;-1:-1:-1;47309:12:0;:35;:55;;;;-1:-1:-1;47348:16:0;;;47309:55;47305:445;;;47381:18;47415:49;47429:4;:20;;;47451:12;47415:13;:49::i;:::-;47381:83;;47479:18;47513:102;47585:15;;47513:49;47546:4;:15;;;47513:28;47528:12;;47513:10;:14;;:28;;;;:::i;:102::-;47479:136;-1:-1:-1;47648:90:0;47686:37;47711:11;47686:20;47479:136;47701:4;47686:14;:20::i;:37::-;47648:15;;:19;:90::i;:::-;47630:108;;47305:445;;;47767:63;47814:4;:15;;;47767:42;47804:4;47767:32;47783:15;47767:4;:11;;;:15;;:32;;;;:::i;53344:205::-;40984:12;:10;:12::i;:::-;40974:6;;-1:-1:-1;;;;;40974:6:0;;;:22;;;40966:67;;;;;-1:-1:-1;;;40966:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40966:67:0;;;;;;;;;;;;;;;53468:4:::1;::::0;-1:-1:-1;;;;;53458:14:0;;::::1;53468:4:::0;::::1;53458:14;;53450:32;;;::::0;;-1:-1:-1;;;53450:32:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;53450:32:0;;;;;;;;;;;;;::::1;;53493:48;-1:-1:-1::0;;;;;53493:27:0;::::1;53521:10;53533:7:::0;53493:27:::1;:48::i;49564:1066::-:0;42989:1;43594:7;;:19;;43586:63;;;;;-1:-1:-1;;;43586:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43586:63:0;;;;;;;;;;;;;;;42989:1;43727:7;:18;49644:16:::1;49655:4:::0;49644:10:::1;:16::i;:::-;49671:21;49695:8;49704:4;49695:14;;;;;;;;;::::0;;;::::1;::::0;;;49744;;;:8:::1;:14:::0;;;;;;49759:10:::1;49744:26:::0;;;;;;;49787:11;;49695:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;49787:15:0;49783:282:::1;;49819:15;49850:100;49920:4;:15;;;49850:47;49892:4;49850:37;49866:4;:20;;;49850:4;:11;;;:15;;:37;;;;:::i;:100::-;49819:131:::0;-1:-1:-1;49969:11:0;;49965:89:::1;;50001:37;50018:10;50030:7;50001:16;:37::i;:::-;49783:282;;50079:12:::0;;50075:421:::1;;50108:9:::0;;:138:::1;::::0;-1:-1:-1;;;;;50108:9:0::1;50161:10;50199:4;50223:8:::0;50108:26:::1;:138::i;:::-;50295:10;::::0;::::1;::::0;50263:9;;:53:::1;::::0;-1:-1:-1;;;;;50263:9:0;;::::1;::::0;50295:10:::1;50307:8:::0;50263:31:::1;:53::i;:::-;50331:19;50376:8;50385:4;50376:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;50366:61:::1;::::0;;-1:-1:-1;;;50366:61:0;;50406:10:::1;50366:61:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;50376:20:0;;::::1;::::0;50366:39:::1;::::0;:61;;;;;50376:14;50366:61;;;;;;;;;50376:20;50366:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;50366:61:0;50456:11;;50366:61;;-1:-1:-1;50456:28:0::1;::::0;50366:61;50456:15:::1;:28::i;:::-;50442:42:::0;;-1:-1:-1;50075:421:0::1;50540:20;::::0;::::1;::::0;50524:11;;:47:::1;::::0;50566:4:::1;::::0;50524:37:::1;::::0;:15:::1;:37::i;:47::-;50506:15;::::0;::::1;:65:::0;50587:35:::1;::::0;;;;;;;50607:4;;50595:10:::1;::::0;50587:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;42945:1:0;43906:22;;-1:-1:-1;;49564:1066:0:o;41707:281::-;40984:12;:10;:12::i;:::-;40974:6;;-1:-1:-1;;;;;40974:6:0;;;:22;;;40966:67;;;;;-1:-1:-1;;;40966:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40966:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;41810:22:0;::::1;41788:110;;;;-1:-1:-1::0;;;41788:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41935:6;::::0;;41914:38:::1;::::0;-1:-1:-1;;;;;41914:38:0;;::::1;::::0;41935:6;::::1;::::0;41914:38:::1;::::0;::::1;41963:6;:17:::0;;-1:-1:-1;;;;;;41963:17:0::1;-1:-1:-1::0;;;;;41963:17:0;;;::::1;::::0;;;::::1;::::0;;41707:281::o;2213:471::-;2271:7;2516:6;2512:47;;-1:-1:-1;2546:1:0;2539:8;;2512:47;2583:5;;;2587:1;2583;:5;:1;2607:5;;;;;:10;2599:56;;;;-1:-1:-1;;;2599:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3160:132;3218:7;3245:39;3249:1;3252;3245:39;;;;;;;;;;;;;;;;;:3;:39::i;1289:136::-;1347:7;1374:43;1378:1;1381;1374:43;;;;;;;;;;;;;;;;;:3;:43::i;53031:305::-;53133:4;;53126:37;;;-1:-1:-1;;;53126:37:0;;53157:4;53126:37;;;;;;53108:15;;-1:-1:-1;;;;;53133:4:0;;53126:22;;:37;;;;;;;;;;;;;;53133:4;53126:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53126:37:0;;-1:-1:-1;53178:18:0;;;53174:155;;;53220:4;;53213:35;;;-1:-1:-1;;;53213:35:0;;-1:-1:-1;;;;;53213:35:0;;;;;;;;;;;;;;;53220:4;;;;;53213:21;;:35;;;;;;;;;;;;;;53220:4;;53213:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53174:155:0;;-1:-1:-1;53174:155:0;;53288:4;;53281:36;;;-1:-1:-1;;;53281:36:0;;-1:-1:-1;;;;;53281:36:0;;;;;;;;;;;;;;;53288:4;;;;;53281:21;;:36;;;;;;;;;;;;;;53288:4;;53281:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53174:155:0;53031:305;;;:::o;27067:248::-;27238:58;;;-1:-1:-1;;;;;27238:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27238:58:0;-1:-1:-1;;;27238:58:0;;;27184:123;;27218:5;;27184:19;:123::i;825:181::-;883:7;915:5;;;939:6;;;;931:46;;;;;-1:-1:-1;;;931:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;208:106;296:10;208:106;:::o;27323:285::-;27521:68;;;-1:-1:-1;;;;;27521:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27521:68:0;-1:-1:-1;;;27521:68:0;;;27467:133;;27501:5;;27467:19;:133::i;:::-;27323:285;;;;:::o;28592:432::-;28723:20;28755:50;28799:5;28755;-1:-1:-1;;;;;28755:15:0;;28779:4;28786:7;28755:39;;;;;;;;;;;;;-1:-1:-1;;;;;28755:39:0;;;;;;-1:-1:-1;;;;;28755:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28755:39:0;;:43;:50::i;:::-;28870:135;;;-1:-1:-1;;;;;28870:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28870:135:0;-1:-1:-1;;;28870:135:0;;;28723:82;;-1:-1:-1;28816:200:0;;28850:5;;28816:19;:200::i;3788:312::-;3908:7;3943:12;3936:5;3928:28;;;;-1:-1:-1;;;3928:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3967:9;3983:1;3979;:5;;;;;;;3788:312;-1:-1:-1;;;;;3788:312:0:o;1728:226::-;1848:7;1884:12;1876:6;;;;1868:29;;;;-1:-1:-1;;;1868:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1920:5:0;;;1728:226::o;29937:869::-;30361:23;30396:106;30438:4;30396:106;;;;;;;;;;;;;;;;;30404:5;-1:-1:-1;;;;;30396:27:0;;;:106;;;;;:::i;:::-;30517:17;;30361:141;;-1:-1:-1;30517:21:0;30513:286;;30690:10;30679:30;;;;;;;;;;;;;;;-1:-1:-1;30679:30:0;30653:134;;;;-1:-1:-1;;;30653:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22151:229;22288:12;22320:52;22342:6;22350:4;22356:1;22359:12;22320:21;:52::i;:::-;22313:59;22151:229;-1:-1:-1;;;;22151:229:0:o;23343:617::-;23513:12;23585:5;23560:21;:30;;23538:118;;;;-1:-1:-1;;;23538:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23675:18;23686:6;23675:10;:18::i;:::-;23667:60;;;;;-1:-1:-1;;;23667:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23801:12;23815:23;23851:6;-1:-1:-1;;;;;23851:11:0;23870:5;23877:4;23851:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23851:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23800:82;;;;23900:52;23918:7;23927:10;23939:12;23900:17;:52::i;:::-;23893:59;23343:617;-1:-1:-1;;;;;;;23343:617:0:o;19122:444::-;19502:20;19550:8;;;19122:444::o;26191:777::-;26341:12;26370:7;26366:595;;;-1:-1:-1;26401:10:0;26394:17;;26366:595;26515:17;;:21;26511:439;;26778:10;26772:17;26839:15;26826:10;26822:2;26818:19;26811:44;26726:148;26914:20;;-1:-1:-1;;;26914:20:0;;;;;;;;;;;;;;;;;26921:12;;26914:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://8c5a39daeef27d34536671e044105fa93c85319236d3e978b788a589220eeeca
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.