Contract 0x92a695ab9da3987664845e1a923fff39b5cf23ea 2

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9e3db805f21e589b7728a0f5d82f43b0c4d416a6d376a38d6cb3434215f9b2650x9fa0c07e104764152021-08-30 10:05:4027 days 46 mins ago0x0db0ea8216cdb988294c29583ddd1df38231384e IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001007455
0x66b865aedfe0275ddb8b5838e4544e216627cfe379125311fe60dba5ff1b378a0x9fa0c07e104427152021-08-29 5:57:5428 days 4 hrs ago0x567c7a98e4e82c452eb787125cc4b6d122b594c6 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea6 BNB0.00087251
0xb18bb97f32760b8e52510c1433930da018b25c1784ff8b51fc93830b1295c0530x9fa0c07e104426462021-08-29 5:54:2728 days 4 hrs ago0x567c7a98e4e82c452eb787125cc4b6d122b594c6 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea6 BNB0.00110651
0x7e9fb720a49e84353716e445f664b78d773df1eed6fb64a5950c4b7796e6b0f10x9fa0c07e104369112021-08-29 1:07:1228 days 9 hrs ago0x567c7a98e4e82c452eb787125cc4b6d122b594c6 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea6.5 BNB0.00089586
0x72afe97d86dc6d97f29fe8e40cf7608f7789dfc603297e93908d88d24c462ec90x9fa0c07e104367422021-08-29 0:58:4528 days 9 hrs ago0xc34159fdf5583740853c7e57676e5abba06588d7 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00095741
0x20347d2b899617d3d3953c9341c9655098e9670e2fc84428791363b2323b94110x9fa0c07e104090922021-08-28 1:38:5029 days 9 hrs ago0xc3b7a1290704638e2cc67cd3f5730f83d68213ad IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0.5 BNB0.00094139
0x1b65e46d31af6abba7940e8b5a856a9371bb2d18f1eecf11947ee3f89f7ac9ba0x9fa0c07e103812502021-08-27 1:30:1530 days 9 hrs ago0x50bf312ab333fa304143424a87b14a3bd88877a8 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.000914115
0xe88fb86b1989a45af6b308f46970d20af2ad53410bf30917542e01b44e569a9e0x9fa0c07e103722482021-08-26 18:00:0830 days 16 hrs ago0x9f9759273bcc581f7426abe32b1ab5ba3d894779 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0.005 BNB0.003095235
0x735352bd1960b9db115a32034703b1b22ae6356092d47ee7a9e484b7f7a8f5290x9fa0c07e103708622021-08-26 16:50:5030 days 18 hrs ago0x1aaa130dabb05d92058578aa623962806d427e31 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00164227
0x92b7ff2f343a283ddd3ef0e739003838131dbc6764fd83aea3c1270a640d78330x9fa0c07e103595092021-08-26 7:22:0131 days 3 hrs ago0x8b52324412de6540d688ca9899f5c1c33a7cc796 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001690645
0xa685aded5b087506dfeeb079e177dc96cc3a5a058a9be5eb8296867a4cb222f30x9fa0c07e103558412021-08-26 4:18:3731 days 6 hrs ago0xe22158c9ae8687dc6fc95b16a88c98816d864371 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00214347
0x2a5a02d8cc9d8dbf1853a1438a569db0c8c9435652177b72b20e12ce1511408d0x9fa0c07e103392672021-08-25 14:24:3631 days 20 hrs ago0x00267ae86b3be61581dbd9a2c828d9797330de9a IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001013715
0x317bc2e35cde590f7c6fe1b4a62eb36f82e45144d539c60a078f0a3cf3512fe70x9fa0c07e103308122021-08-25 7:21:5132 days 3 hrs ago0xa812291cbb5e573a27bc48d59d2c280f2393a507 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.002222325
0x3f2c9237f2d0e85fd3af1be0a9f2d735dc2307b20e176d1ebc77147dcdf14b560x9fa0c07e103307932021-08-25 7:20:5432 days 3 hrs ago0x496e681d1820a78946ed0e8dd5149e2353539ee9 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001532135
0x496071002c07b05f253f918a027986ba6fac495d52bab90447f9099a905cfcca0x9fa0c07e103307892021-08-25 7:20:4232 days 3 hrs ago0x956d27b729868aeb54c710b554ce90dd42dcc3d0 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001550235
0xed307ce3bd58fe3f6986d558afe0c87e3344b0fee5358c6df4632cdb0adf185c0x9fa0c07e103307222021-08-25 7:17:2132 days 3 hrs ago0xc5eb5de69505669eb6fb286da44c1be69d6cb9b5 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea8 BNB0.00086059
0x2c5a0a2f559491eddddd2cbfead84164b3127014d86ad7cf65207d4189ca4d030x9fa0c07e103307162021-08-25 7:17:0332 days 3 hrs ago0xa698bf6ea8bd18b4296574baf085370790263640 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00150305
0x021d9f3324f32fa95828bee16a895f7fab427ee0984ee55d1583df5e24e7dc840x9fa0c07e103306692021-08-25 7:14:4232 days 3 hrs ago0x956d27b729868aeb54c710b554ce90dd42dcc3d0 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001672975
0x2fa7e88041eefd10ab086dfa02756ba36b3216468fccd22290ec139fb58b64950x9fa0c07e103306572021-08-25 7:14:0632 days 3 hrs ago0x956d27b729868aeb54c710b554ce90dd42dcc3d0 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00095893
0x0e636243214bd287cf62de3d5101c74d73379cbcb024457d0c7615e504282f7e0x9fa0c07e103305472021-08-25 7:08:3632 days 3 hrs ago0x0ac970c38e0e2afd32dcfc7b2ab4d2b2dd0b5f40 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0.1 BNB0.00094133
0xaf049e5e6dd4e87193e5608a924f40cfc310e367fffb99c412f98ab6728bc2330x9fa0c07e103304732021-08-25 7:04:5432 days 3 hrs ago0xa698bf6ea8bd18b4296574baf085370790263640 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea1.21 BNB0.00089574
0xe2116b323bbe0f5bce546e6afe6666683dd3578d7161bf6a7a26315977e88f970x9fa0c07e103301032021-08-25 6:46:2432 days 4 hrs ago0x1ce879fc578068d638669eacac5c7c8f1583ead3 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.00092522
0x7d42863fd0d9482ba71d4626c5aa36859b8288d4de1d933b016197fa86cf0e920x9fa0c07e103298192021-08-25 6:32:1232 days 4 hrs ago0x1ce879fc578068d638669eacac5c7c8f1583ead3 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.000982815
0xbc2d7bb174c6decf8c7a56bc76a42cef26022581a28156573e9310c26525e7320x9fa0c07e103298022021-08-25 6:31:2132 days 4 hrs ago0x1ce879fc578068d638669eacac5c7c8f1583ead3 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.000998885
0xa569664d069f5fa0d131841018baaf17fba2905f13fb5fdf14e5c4b5f11b97a90x9fa0c07e103295172021-08-25 6:17:0632 days 4 hrs ago0xcc75d4effa74397ebdb4d6ee38d82b84af15edc7 IN  0x92a695ab9da3987664845e1a923fff39b5cf23ea0 BNB0.001487185
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9e3db805f21e589b7728a0f5d82f43b0c4d416a6d376a38d6cb3434215f9b265104764152021-08-30 10:05:4027 days 46 mins ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0x0db0ea8216cdb988294c29583ddd1df38231384e0.240108061200748286 BNB
0x9e3db805f21e589b7728a0f5d82f43b0c4d416a6d376a38d6cb3434215f9b265104764152021-08-30 10:05:4027 days 46 mins ago PancakeSwap: Router 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.240108061200748286 BNB
0x66b865aedfe0275ddb8b5838e4544e216627cfe379125311fe60dba5ff1b378a104427152021-08-29 5:57:5428 days 4 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea PancakeSwap: Router v26 BNB
0xb18bb97f32760b8e52510c1433930da018b25c1784ff8b51fc93830b1295c053104426462021-08-29 5:54:2728 days 4 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea PancakeSwap: Router v26 BNB
0x7e9fb720a49e84353716e445f664b78d773df1eed6fb64a5950c4b7796e6b0f1104369112021-08-29 1:07:1228 days 9 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea 0xc0788a3ad43d79aa53b09c2eacc313a787d1d6076.5 BNB
0x72afe97d86dc6d97f29fe8e40cf7608f7789dfc603297e93908d88d24c462ec9104367422021-08-29 0:58:4528 days 9 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0xc34159fdf5583740853c7e57676e5abba06588d70.027384921174283603 BNB
0x72afe97d86dc6d97f29fe8e40cf7608f7789dfc603297e93908d88d24c462ec9104367422021-08-29 0:58:4528 days 9 hrs ago 0xc0788a3ad43d79aa53b09c2eacc313a787d1d607 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.027384921174283603 BNB
0x20347d2b899617d3d3953c9341c9655098e9670e2fc84428791363b2323b9411104090922021-08-28 1:38:5029 days 9 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea 0xbe65b8f75b9f20f4c522e0067a3887fada7148000.5 BNB
0xe88fb86b1989a45af6b308f46970d20af2ad53410bf30917542e01b44e569a9e103722482021-08-26 18:00:0830 days 16 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea Mdex: Router0.005 BNB
0x2a5a02d8cc9d8dbf1853a1438a569db0c8c9435652177b72b20e12ce1511408d103392672021-08-25 14:24:3631 days 20 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0x00267ae86b3be61581dbd9a2c828d9797330de9a1.693592275081981978 BNB
0x2a5a02d8cc9d8dbf1853a1438a569db0c8c9435652177b72b20e12ce1511408d103392672021-08-25 14:24:3631 days 20 hrs ago 0xc0788a3ad43d79aa53b09c2eacc313a787d1d607 0x92a695ab9da3987664845e1a923fff39b5cf23ea1.693592275081981978 BNB
0xed307ce3bd58fe3f6986d558afe0c87e3344b0fee5358c6df4632cdb0adf185c103307222021-08-25 7:17:2132 days 3 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea PancakeSwap: Router v28 BNB
0x2c5a0a2f559491eddddd2cbfead84164b3127014d86ad7cf65207d4189ca4d03103307162021-08-25 7:17:0332 days 3 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0xa698bf6ea8bd18b4296574baf0853707902636400.602550226013311255 BNB
0x2c5a0a2f559491eddddd2cbfead84164b3127014d86ad7cf65207d4189ca4d03103307162021-08-25 7:17:0332 days 3 hrs ago 0xc0788a3ad43d79aa53b09c2eacc313a787d1d607 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.602550226013311255 BNB
0x2fa7e88041eefd10ab086dfa02756ba36b3216468fccd22290ec139fb58b6495103306572021-08-25 7:14:0632 days 3 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0x956d27b729868aeb54c710b554ce90dd42dcc3d00.030268936373692991 BNB
0x2fa7e88041eefd10ab086dfa02756ba36b3216468fccd22290ec139fb58b6495103306572021-08-25 7:14:0632 days 3 hrs ago PancakeSwap: Router 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.030268936373692991 BNB
0x0e636243214bd287cf62de3d5101c74d73379cbcb024457d0c7615e504282f7e103305472021-08-25 7:08:3632 days 3 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea 0xbe65b8f75b9f20f4c522e0067a3887fada7148000.1 BNB
0xaf049e5e6dd4e87193e5608a924f40cfc310e367fffb99c412f98ab6728bc233103304732021-08-25 7:04:5432 days 3 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea 0xc0788a3ad43d79aa53b09c2eacc313a787d1d6071.21 BNB
0x3d3d7ce9076791b626c0d6cff3950b6703f2d5858bd0da97afd25633ec001abe103294562021-08-25 6:14:0332 days 4 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0xedb970c906c3f05daad24c0c45fc943f452df84f0.907820636800172078 BNB
0x3d3d7ce9076791b626c0d6cff3950b6703f2d5858bd0da97afd25633ec001abe103294562021-08-25 6:14:0332 days 4 hrs ago Wault Finance: WS Router 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.907820636800172078 BNB
0x7135aaa43b78edd56ad6b0ab58494728822cf3f0049c59caa6cd14e113c829ff103294522021-08-25 6:13:5132 days 4 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea PancakeSwap: Router0.005 BNB
0xddd37f9b519657435adcc68094dd78d1bc1e95b9c6311fdf62a4cf476aa19e74103294452021-08-25 6:13:3032 days 4 hrs ago Wault Finance: WS Router 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.907820636800172078 BNB
0xcd5dba9393ed5c0d422529fbb2ba74b402bf50584b365948b0a085c3a98aaf30103293862021-08-25 6:10:2032 days 4 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea0x56e510acc6f57176981e4f4586fd54248be312560.000300770802442738 BNB
0xcd5dba9393ed5c0d422529fbb2ba74b402bf50584b365948b0a085c3a98aaf30103293862021-08-25 6:10:2032 days 4 hrs ago Wault Finance: WS Router 0x92a695ab9da3987664845e1a923fff39b5cf23ea0.000300770802442738 BNB
0xc33a6fb3f42d2373536326180ce4e2426700b4085cb1fab4757fc41dd5c79225103284392021-08-25 5:22:1932 days 5 hrs ago 0x92a695ab9da3987664845e1a923fff39b5cf23ea 0xc0788a3ad43d79aa53b09c2eacc313a787d1d6070.305 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AutoSwap

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-04-02
*/

/**
 *Submitted for verification at BscScan.com on 2021-03-16
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.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/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/Pausable.sol";
contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

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

    bool private _paused;

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

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

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

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

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

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

library UniversalERC20 {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 private constant ZERO_ADDRESS =
        IERC20(0x0000000000000000000000000000000000000000);
    IERC20 private constant ETH_ADDRESS =
        IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);

    function universalTransfer(
        IERC20 token,
        address to,
        uint256 amount
    ) internal returns (bool) {
        if (amount == 0) {
            return true;
        }

        if (isETH(token)) {
            address(uint160(to)).transfer(amount);
        } else {
            token.safeTransfer(to, amount);
            return true;
        }
    }

    function universalTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        if (amount == 0) {
            return;
        }

        if (isETH(token)) {
            require(
                from == msg.sender && msg.value >= amount,
                "Wrong useage of ETH.universalTransferFrom()"
            );
            if (to != address(this)) {
                address(uint160(to)).transfer(amount);
            }
            if (msg.value > amount) {
                msg.sender.transfer(msg.value.sub(amount));
            }
        } else {
            token.safeTransferFrom(from, to, amount);
        }
    }

    function universalTransferFromSenderToThis(IERC20 token, uint256 amount)
        internal
    {
        if (amount == 0) {
            return;
        }

        if (isETH(token)) {
            if (msg.value > amount) {
                // Return remainder if exist
                msg.sender.transfer(msg.value.sub(amount));
            }
        } else {
            token.safeTransferFrom(msg.sender, address(this), amount);
        }
    }

    function universalApprove(
        IERC20 token,
        address to,
        uint256 amount
    ) internal {
        if (!isETH(token)) {
            if (amount == 0) {
                token.safeApprove(to, 0);
                return;
            }

            uint256 allowance = token.allowance(address(this), to);
            if (allowance < amount) {
                if (allowance > 0) {
                    token.safeApprove(to, 0);
                }
                token.safeApprove(to, amount);
            }
        }
    }

    function universalBalanceOf(IERC20 token, address who)
        internal
        view
        returns (uint256)
    {
        if (isETH(token)) {
            return who.balance;
        } else {
            return token.balanceOf(who);
        }
    }

    function universalDecimals(IERC20 token) internal view returns (uint256) {
        if (isETH(token)) {
            return 18;
        }

        (bool success, bytes memory data) =
            address(token).staticcall.gas(10000)(
                abi.encodeWithSignature("decimals()")
            );
        if (!success || data.length == 0) {
            (success, data) = address(token).staticcall.gas(10000)(
                abi.encodeWithSignature("DECIMALS()")
            );
        }

        return (success && data.length > 0) ? abi.decode(data, (uint256)) : 18;
    }

    function isETH(IERC20 token) internal pure returns (bool) {
        return (address(token) == address(ZERO_ADDRESS) ||
            address(token) == address(ETH_ADDRESS));
    }

    function eq(IERC20 a, IERC20 b) internal pure returns (bool) {
        return a == b || (isETH(a) && isETH(b));
    }

    function notExist(IERC20 token) internal pure returns (bool) {
        return (address(token) == address(-1));
    }
}


/**
 * @title Whitelist
 * @author Alberto Cuesta Canada
 * @dev Implements a simple whitelist of addresses.
 */
// "https://github.com/HQ20/contracts/blob/6a4f166ca8ae0789955a33a0175edfa2dcb4b69f/contracts/access/Whitelist.sol"
contract Whitelist is Ownable {
    event MemberAdded(address member);
    event MemberRemoved(address member);

    mapping(address => bool) members;

    /**
     * @dev The contract constructor.
     */
    constructor() public Ownable() {}

    /**
     * @dev A method to verify whether an address is a member of the whitelist
     * @param _member The address to verify.
     * @return Whether the address is a member of the whitelist.
     */
    function isMember(address _member) public view returns (bool) {
        return members[_member];
    }

    /**
     * @dev A method to add a member to the whitelist
     * @param _member The member to add as a member.
     */
    function addMember(address _member) public onlyOwner {
        require(!isMember(_member), "Address is member already.");

        members[_member] = true;
        emit MemberAdded(_member);
    }

    /**
     * @dev A method to remove a member from the whitelist
     * @param _member The member to remove as a member.
     */
    function removeMember(address _member) public onlyOwner {
        require(isMember(_member), "Not member of whitelist.");

        delete members[_member];
        emit MemberRemoved(_member);
    }
}

contract AutoSwap is Ownable, Pausable, Whitelist {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using UniversalERC20 for IERC20;

    uint256 public feeRate;
    uint256 public referrerFeeRate;

    event FeeRateChanged(
        uint256 indexed oldFeeRate,
        uint256 indexed newFeeRate
    );
    event ReferrerFeeRateChanged(
        uint256 indexed oldReferrerFeeRate,
        uint256 indexed newReferrerFeeRate
    );

    event Order(
        address indexed sender,
        IERC20 indexed inToken,
        IERC20 indexed outToken,
        uint256 inAmount,
        uint256 outAmount
    );

    event Swapped(
        IERC20 indexed inToken,
        IERC20 indexed outToken,
        address indexed referrer,
        uint256 inAmount,
        uint256 outAmount,
        uint256 fee,
        uint256 referrerFee
    );

    struct CallStruct {
        address spenderIfIsApproval;
        address target;
        uint256 value;
        bytes data;
    }

    constructor(
        address _owner,
        uint256 _feeRate,
        uint256 _referrerFeeRate
    ) public {
        transferOwnership(_owner);
        feeRate = _feeRate;
        referrerFeeRate = _referrerFeeRate;
    }

    function swap(
        IERC20 inToken,
        IERC20 outToken,
        uint256 inAmount,
        uint256 minOutAmount,
        uint256 guaranteedAmount,
        address payable referrer,
        CallStruct[] calldata calls
    ) public payable whenNotPaused returns (uint256 outAmount) {
        // Initial checks
        require(minOutAmount > 0, "!(minOutAmount > 0)");
        require(calls.length > 0, "!(calls.length > 0)");
        require(
            (msg.value != 0) == inToken.isETH(),
            "msg.value should be used only for ETH swap"
        );

        // Transfer inToken to address(this)
        if (!inToken.isETH()) {
            inToken.safeTransferFrom(msg.sender, address(this), inAmount);
        }

        // Execute swaps
        for (uint256 i = 0; i < calls.length; i++) {
            if (calls[i].spenderIfIsApproval != address(0)) {
                // If call is to approve spending of a token
                _resetAllowances(calls[i].target, calls[i].spenderIfIsApproval);
            } else {
                // If call is a swap
                require(isMember(calls[i].target), "!whitelisted");
                calls[i].target.call{value: calls[i].value}(calls[i].data);
            }
        }

        // Transfer inToken dust (if any) to user
        inToken.universalTransfer(
            msg.sender,
            inToken.universalBalanceOf(address(this))
        );

        // Handle fees
        outAmount = outToken.universalBalanceOf(address(this));
        uint256 fee;
        uint256 referrerFee;
        (outAmount, fee, referrerFee) = _handleFees(
            outToken,
            outAmount,
            guaranteedAmount,
            referrer
        );

        // Closing checks
        require(
            outAmount >= minOutAmount,
            "Return amount less than the minimum required amount"
        );

        // Transfer outToken to user
        outToken.universalTransfer(msg.sender, outAmount);

        emit Order(msg.sender, inToken, outToken, inAmount, outAmount);
        emit Swapped(
            inToken,
            outToken,
            referrer,
            inAmount,
            outAmount,
            fee,
            referrerFee
        );
    }

    function _handleFees(
        IERC20 toToken,
        uint256 outAmount,
        uint256 guaranteedAmount,
        address referrer
    )
        internal
        returns (
            uint256 realOutAmount,
            uint256 fee,
            uint256 referrerFee
        )
    {
        if (outAmount <= guaranteedAmount || feeRate == 0) {
            return (outAmount, 0, 0);
        }

        fee = outAmount.sub(guaranteedAmount).mul(feeRate).div(10000);

        if (
            referrer != address(0) &&
            referrer != msg.sender &&
            referrer != tx.origin
        ) {
            referrerFee = fee.mul(referrerFeeRate).div(10000);
            if (toToken.universalTransfer(referrer, referrerFee)) {
                outAmount = outAmount.sub(referrerFee);
                fee = fee.sub(referrerFee);
            } else {
                referrerFee = 0;
            }
        }

        if (toToken.universalTransfer(owner(), fee)) {
            outAmount = outAmount.sub(fee);
        }

        return (outAmount, fee, referrerFee);
    }

    function _resetAllowances(address tokenAddress, address spenderAddress)
        internal
    {
        IERC20(tokenAddress).safeApprove(spenderAddress, uint256(0));
        IERC20(tokenAddress).safeIncreaseAllowance(spenderAddress, uint256(-1));
    }

    function changeFeeRate(uint256 _feeRate) public onlyOwner {
        uint256 oldFeeRate = feeRate;
        require(_feeRate <= 10000, "!safe - too high");
        feeRate = _feeRate;
        emit FeeRateChanged(oldFeeRate, _feeRate);
    }

    function changeReferrerFeeRate(uint256 _referrerFeeRate) public onlyOwner {
        uint256 oldReferrerFeeRate = referrerFeeRate;
        require(_referrerFeeRate <= 10000, "!safe - too high");
        referrerFeeRate = _referrerFeeRate;
        emit ReferrerFeeRateChanged(oldReferrerFeeRate, _referrerFeeRate);
    }

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

    function unpause() public onlyOwner {
        _unpause();
    }
    
    receive() external payable {}

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_feeRate","type":"uint256"},{"internalType":"uint256","name":"_referrerFeeRate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldFeeRate","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newFeeRate","type":"uint256"}],"name":"FeeRateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"member","type":"address"}],"name":"MemberAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"member","type":"address"}],"name":"MemberRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"inToken","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"outToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"inAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"outAmount","type":"uint256"}],"name":"Order","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldReferrerFeeRate","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newReferrerFeeRate","type":"uint256"}],"name":"ReferrerFeeRateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"inToken","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"outToken","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"inAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"outAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"referrerFee","type":"uint256"}],"name":"Swapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"addMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"changeFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_referrerFeeRate","type":"uint256"}],"name":"changeReferrerFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"isMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referrerFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"removeMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"inToken","type":"address"},{"internalType":"contract IERC20","name":"outToken","type":"address"},{"internalType":"uint256","name":"inAmount","type":"uint256"},{"internalType":"uint256","name":"minOutAmount","type":"uint256"},{"internalType":"uint256","name":"guaranteedAmount","type":"uint256"},{"internalType":"address payable","name":"referrer","type":"address"},{"components":[{"internalType":"address","name":"spenderIfIsApproval","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct AutoSwap.CallStruct[]","name":"calls","type":"tuple[]"}],"name":"swap","outputs":[{"internalType":"uint256","name":"outAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162001cd738038062001cd783398101604081905262000034916200015b565b600062000040620000a1565b600080546001600160a01b0319166001600160a01b03831690811782556040519293509160008051602062001cb7833981519152908290a3506000805460ff60a01b191690556200009183620000a5565b6002919091556003555062000219565b3390565b620000af620000a1565b6000546001600160a01b03908116911614620000e85760405162461bcd60e51b8152600401620000df90620001e4565b60405180910390fd5b6001600160a01b038116620001115760405162461bcd60e51b8152600401620000df906200019e565b600080546040516001600160a01b038085169392169160008051602062001cb783398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008060006060848603121562000170578283fd5b83516001600160a01b038116811462000187578384fd5b602085015160409095015190969495509392505050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b611a8e80620002296000396000f3fe6080604052600436106100e15760003560e01c80638da5cb5b1161007f578063a230c52411610059578063a230c52414610205578063affca93214610225578063ca6d56dc14610245578063f2fde38b14610265576100e8565b80638da5cb5b146101bb578063978bbdb9146101dd5780639fa0c07e146101f2576100e8565b80635c975abb116100bb5780635c975abb14610144578063715018a61461016f5780637e5bf1a9146101845780638456cb59146101a6576100e8565b80630b1ca49a146100ed5780633f4ba83a1461010f578063422596c014610124576100e8565b366100e857005b600080fd5b3480156100f957600080fd5b5061010d61010836600461135f565b610285565b005b34801561011b57600080fd5b5061010d610343565b34801561013057600080fd5b5061010d61013f36600461145f565b610382565b34801561015057600080fd5b50610159610412565b6040516101669190611526565b60405180910390f35b34801561017b57600080fd5b5061010d610422565b34801561019057600080fd5b506101996104a1565b6040516101669190611981565b3480156101b257600080fd5b5061010d6104a7565b3480156101c757600080fd5b506101d06104e4565b60405161016691906114bb565b3480156101e957600080fd5b506101996104f3565b61019961020036600461139b565b6104f9565b34801561021157600080fd5b5061015961022036600461135f565b6108e9565b34801561023157600080fd5b5061010d61024036600461145f565b610907565b34801561025157600080fd5b5061010d61026036600461135f565b610997565b34801561027157600080fd5b5061010d61028036600461135f565b610a47565b61028d610afd565b6000546001600160a01b039081169116146102c35760405162461bcd60e51b81526004016102ba90611794565b60405180910390fd5b6102cc816108e9565b6102e85760405162461bcd60e51b81526004016102ba906116c9565b6001600160a01b03811660009081526001602052604090819020805460ff19169055517f6e76fb4c77256006d9c38ec7d82b45a8c8f3c27b1d6766fffc42dfb8de684492906103389083906114bb565b60405180910390a150565b61034b610afd565b6000546001600160a01b039081169116146103785760405162461bcd60e51b81526004016102ba90611794565b610380610b01565b565b61038a610afd565b6000546001600160a01b039081169116146103b75760405162461bcd60e51b81526004016102ba90611794565b6003546127108211156103dc5760405162461bcd60e51b81526004016102ba9061181c565b6003829055604051829082907f1cd30194bbb4e8743cc21dd26f5d4d8e748e8e121a7ea98fddaf3f03dd1350fe90600090a35050565b600054600160a01b900460ff1690565b61042a610afd565b6000546001600160a01b039081169116146104575760405162461bcd60e51b81526004016102ba90611794565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60035481565b6104af610afd565b6000546001600160a01b039081169116146104dc5760405162461bcd60e51b81526004016102ba90611794565b610380610b77565b6000546001600160a01b031690565b60025481565b60008054600160a01b900460ff16156105245760405162461bcd60e51b81526004016102ba9061169f565b600086116105445760405162461bcd60e51b81526004016102ba906118fe565b816105615760405162461bcd60e51b81526004016102ba906117c9565b610573896001600160a01b0316610bdd565b1515341515146105955760405162461bcd60e51b81526004016102ba9061160f565b6105a7896001600160a01b0316610bdd565b6105c0576105c06001600160a01b038a1633308a610c17565b60005b8281101561079f5760008484838181106105d957fe5b90506020028101906105eb91906119ff565b6105f990602081019061135f565b6001600160a01b03161461066f5761066a84848381811061061657fe5b905060200281019061062891906119ff565b61063990604081019060200161135f565b85858481811061064557fe5b905060200281019061065791906119ff565b61066590602081019061135f565b610c75565b610797565b6106a184848381811061067e57fe5b905060200281019061069091906119ff565b61022090604081019060200161135f565b6106bd5760405162461bcd60e51b81526004016102ba906117f6565b8383828181106106c957fe5b90506020028101906106db91906119ff565b6106ec90604081019060200161135f565b6001600160a01b031684848381811061070157fe5b905060200281019061071391906119ff565b6040013585858481811061072357fe5b905060200281019061073591906119ff565b6107439060608101906119b3565b60405161075192919061148f565b60006040518083038185875af1925050503d806000811461078e576040519150601f19603f3d011682016040523d82523d6000602084013e610793565b606091505b5050505b6001016105c3565b506107c8336107b76001600160a01b038c1630610ca4565b6001600160a01b038c169190610d48565b506107dc6001600160a01b03891630610ca4565b90506000806107ed8a848989610dbf565b91945092509050878310156108145760405162461bcd60e51b81526004016102ba90611700565b6108286001600160a01b038b163385610d48565b50896001600160a01b03168b6001600160a01b0316336001600160a01b03167f4ec237690cd79c8ab7ec9b0747f20cb9e9a58b89bd4e09312f5773ab546bee4c8c8760405161087892919061198a565b60405180910390a4856001600160a01b03168a6001600160a01b03168c6001600160a01b03167fe2cee3f6836059820b673943853afebd9b3026125dab0d774284e6f28a4855be8c8787876040516108d39493929190611998565b60405180910390a4505098975050505050505050565b6001600160a01b031660009081526001602052604090205460ff1690565b61090f610afd565b6000546001600160a01b0390811691161461093c5760405162461bcd60e51b81526004016102ba90611794565b6002546127108211156109615760405162461bcd60e51b81526004016102ba9061181c565b6002829055604051829082907fb9ffe02e89fee6f5544ee152a08c2cafbc3a4a89a66737ef42115dcd508aea1090600090a35050565b61099f610afd565b6000546001600160a01b039081169116146109cc5760405162461bcd60e51b81526004016102ba90611794565b6109d5816108e9565b156109f25760405162461bcd60e51b81526004016102ba9061187d565b6001600160a01b038116600090815260016020819052604091829020805460ff19169091179055517fb251eb052afc73ffd02ffe85ad79990a8b3fed60d76dbc2fa2fdd7123dffd914906103389083906114bb565b610a4f610afd565b6000546001600160a01b03908116911614610a7c5760405162461bcd60e51b81526004016102ba90611794565b6001600160a01b038116610aa25760405162461bcd60e51b81526004016102ba90611592565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600054600160a01b900460ff16610b2a5760405162461bcd60e51b81526004016102ba90611564565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610b60610afd565b604051610b6d91906114bb565b60405180910390a1565b600054600160a01b900460ff1615610ba15760405162461bcd60e51b81526004016102ba9061169f565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b60610afd565b60006001600160a01b0382161580610c1157506001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b92915050565b610c6f846323b872dd60e01b858585604051602401610c38939291906114e9565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ee1565b50505050565b610c8a6001600160a01b038316826000610f75565b610ca06001600160a01b03831682600019611038565b5050565b6000610caf83610bdd565b15610cc557506001600160a01b03811631610c11565b6040516370a0823160e01b81526001600160a01b038416906370a0823190610cf19085906004016114bb565b60206040518083038186803b158015610d0957600080fd5b505afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d419190611477565b9392505050565b600081610d5757506001610d41565b610d6084610bdd565b15610da1576040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015610d9b573d6000803e3d6000fd5b50610d41565b610db56001600160a01b03851684846110e3565b5060019392505050565b60008060008486111580610dd35750600254155b15610de657508491506000905080610ed7565b610e11612710610e0b600254610e05898b61110290919063ffffffff16565b90611144565b9061117e565b91506001600160a01b03841615801590610e3457506001600160a01b0384163314155b8015610e4957506001600160a01b0384163214155b15610ea557610e69612710610e0b6003548561114490919063ffffffff16565b9050610e7f6001600160a01b0388168583610d48565b15610ea157610e8e8682611102565b9550610e9a8282611102565b9150610ea5565b5060005b610ec1610eb06104e4565b6001600160a01b0389169084610d48565b15610ed357610ed08683611102565b95505b8592505b9450945094915050565b6060610f36826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111c09092919063ffffffff16565b805190915015610f705780806020019051810190610f54919061137b565b610f705760405162461bcd60e51b81526004016102ba906118b4565b505050565b801580610ffd5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e90610fab90309086906004016114cf565b60206040518083038186803b158015610fc357600080fd5b505afa158015610fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffb9190611477565b155b6110195760405162461bcd60e51b81526004016102ba9061192b565b610f708363095ea7b360e01b8484604051602401610c3892919061150d565b60006110c282856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040161106c9291906114cf565b60206040518083038186803b15801561108457600080fd5b505afa158015611098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bc9190611477565b906111d7565b9050610c6f8463095ea7b360e01b8584604051602401610c3892919061150d565b610f708363a9059cbb60e01b8484604051602401610c3892919061150d565b6000610d4183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111fc565b60008261115357506000610c11565b8282028284828161116057fe5b0414610d415760405162461bcd60e51b81526004016102ba90611753565b6000610d4183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611228565b60606111cf848460008561125f565b949350505050565b600082820183811015610d415760405162461bcd60e51b81526004016102ba906115d8565b600081848411156112205760405162461bcd60e51b81526004016102ba9190611531565b505050900390565b600081836112495760405162461bcd60e51b81526004016102ba9190611531565b50600083858161125557fe5b0495945050505050565b6060824710156112815760405162461bcd60e51b81526004016102ba90611659565b61128a85611320565b6112a65760405162461bcd60e51b81526004016102ba90611846565b60006060866001600160a01b031685876040516112c3919061149f565b60006040518083038185875af1925050503d8060008114611300576040519150601f19603f3d011682016040523d82523d6000602084013e611305565b606091505b5091509150611315828286611326565b979650505050505050565b3b151590565b60608315611335575081610d41565b8251156113455782518084602001fd5b8160405162461bcd60e51b81526004016102ba9190611531565b600060208284031215611370578081fd5b8135610d4181611a40565b60006020828403121561138c578081fd5b81518015158114610d41578182fd5b60008060008060008060008060e0898b0312156113b6578384fd5b88356113c181611a40565b975060208901356113d181611a40565b965060408901359550606089013594506080890135935060a08901356113f681611a40565b925060c089013567ffffffffffffffff80821115611412578384fd5b818b0191508b601f830112611425578384fd5b813581811115611433578485fd5b8c60208083028501011115611446578485fd5b6020830194508093505050509295985092959890939650565b600060208284031215611470578081fd5b5035919050565b600060208284031215611488578081fd5b5051919050565b6000828483379101908152919050565b600082516114b1818460208701611a14565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602082528251806020840152611550816040850160208701611a14565b601f01601f19169190910160400192915050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602a908201527f6d73672e76616c75652073686f756c642062652075736564206f6e6c7920666f6040820152690722045544820737761760b41b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526018908201527f4e6f74206d656d626572206f662077686974656c6973742e0000000000000000604082015260600190565b60208082526033908201527f52657475726e20616d6f756e74206c657373207468616e20746865206d696e696040820152721b5d5b481c995c5d5a5c995908185b5bdd5b9d606a1b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260139082015272212863616c6c732e6c656e677468203e20302960681b604082015260600190565b6020808252600c908201526b085dda1a5d195b1a5cdd195960a21b604082015260600190565b60208082526010908201526f042e6c2ccca405a40e8dede40d0d2ced60831b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601a908201527f41646472657373206973206d656d62657220616c72656164792e000000000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526013908201527221286d696e4f7574416d6f756e74203e20302960681b604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b918252602082015260400190565b93845260208401929092526040830152606082015260800190565b6000808335601e198436030181126119c9578283fd5b83018035915067ffffffffffffffff8211156119e3578283fd5b6020019150368190038213156119f857600080fd5b9250929050565b60008235607e198336030181126114b1578182fd5b60005b83811015611a2f578181015183820152602001611a17565b83811115610c6f5750506000910152565b6001600160a01b0381168114611a5557600080fd5b5056fea264697066735822122022be4251204e8156a837265a936f4243abb46834113d0b77be8194fab6c3d02564736f6c634300060c00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000f482404f0ee4bbc780199b2995a43882a8595ada00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000f482404f0ee4bbc780199b2995a43882a8595ada00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _owner (address): 0xf482404f0ee4bbc780199b2995a43882a8595ada
Arg [1] : _feeRate (uint256): 0
Arg [2] : _referrerFeeRate (uint256): 0

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f482404f0ee4bbc780199b2995a43882a8595ada
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

40088:5722:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39878:203;;;;;;;;;;-1:-1:-1;39878:203:0;;;;;:::i;:::-;;:::i;:::-;;45699:65;;;;;;;;;;;;;:::i;45299:323::-;;;;;;;;;;-1:-1:-1;45299:323:0;;;;;:::i;:::-;;:::i;33661:78::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32433:148;;;;;;;;;;;;;:::i;40280:30::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45630:61::-;;;;;;;;;;;;;:::i;31791:79::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40251:22::-;;;;;;;;;;;;;:::i;41362:2299::-;;;;;;:::i;:::-;;:::i;39295:104::-;;;;;;;;;;-1:-1:-1;39295:104:0;;;;;:::i;:::-;;:::i;45048:243::-;;;;;;;;;;-1:-1:-1;45048:243:0;;;;;:::i;:::-;;:::i;39534:201::-;;;;;;;;;;-1:-1:-1;39534:201:0;;;;;:::i;:::-;;:::i;32736:281::-;;;;;;;;;;-1:-1:-1;32736:281:0;;;;;:::i;:::-;;:::i;39878:203::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;;;;;;;;;39953:17:::1;39962:7;39953:8;:17::i;:::-;39945:54;;;;-1:-1:-1::0;;;39945:54:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;40019:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;40012:23;;-1:-1:-1;;40012:23:0::1;::::0;;40051:22;::::1;::::0;::::1;::::0;40027:7;;40051:22:::1;:::i;:::-;;;;;;;;39878:203:::0;:::o;45699:65::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;45746:10:::1;:8;:10::i;:::-;45699:65::o:0;45299:323::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;45413:15:::1;::::0;45467:5:::1;45447:25:::0;::::1;;45439:54;;;;-1:-1:-1::0;;;45439:54:0::1;;;;;;;:::i;:::-;45504:15;:34:::0;;;45554:60:::1;::::0;45522:16;;45577:18;;45554:60:::1;::::0;;;::::1;32073:1;45299:323:::0;:::o;33661:78::-;33700:4;33724:7;-1:-1:-1;;;33724:7:0;;;;;33661:78::o;32433:148::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;32540:1:::1;32524:6:::0;;32503:40:::1;::::0;-1:-1:-1;;;;;32524:6:0;;::::1;::::0;32503:40:::1;::::0;32540:1;;32503:40:::1;32571:1;32554:19:::0;;-1:-1:-1;;;;;;32554:19:0::1;::::0;;32433:148::o;40280:30::-;;;;:::o;45630:61::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;45675:8:::1;:6;:8::i;31791:79::-:0;31829:7;31856:6;-1:-1:-1;;;;;31856:6:0;31791:79;:::o;40251:22::-;;;;:::o;41362:2299::-;41638:17;33979:7;;-1:-1:-1;;;33979:7:0;;;;33978:8;33970:37;;;;-1:-1:-1;;;33970:37:0;;;;;;;:::i;:::-;41718:1:::1;41703:12;:16;41695:48;;;;-1:-1:-1::0;;;41695:48:0::1;;;;;;;:::i;:::-;41762:16:::0;41754:48:::1;;;;-1:-1:-1::0;;;41754:48:0::1;;;;;;;:::i;:::-;41855:15;:7;-1:-1:-1::0;;;;;41855:13:0::1;;:15::i;:::-;41835:35;;41836:9;:14:::0;::::1;41835:35;41813:127;;;;-1:-1:-1::0;;;41813:127:0::1;;;;;;;:::i;:::-;42004:15;:7;-1:-1:-1::0;;;;;42004:13:0::1;;:15::i;:::-;41999:110;;42036:61;-1:-1:-1::0;;;;;42036:24:0;::::1;42061:10;42081:4;42088:8:::0;42036:24:::1;:61::i;:::-;42152:9;42147:483;42167:16:::0;;::::1;42147:483;;;42249:1;42209:5:::0;;42215:1;42209:8;;::::1;;;;;;;;;;;;;;;;:::i;:::-;:28;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;42209:42:0::1;;42205:414;;42334:63;42351:5;;42357:1;42351:8;;;;;;;;;;;;;;;;;;:::i;:::-;:15;::::0;;;;;::::1;;;:::i;:::-;42368:5;;42374:1;42368:8;;;;;;;;;;;;;;;;;;:::i;:::-;:28;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;42334:16;:63::i;:::-;42205:414;;;42484:25;42493:5;;42499:1;42493:8;;;;;;;;;;;;;;;;;;:::i;:::-;:15;::::0;;;;;::::1;;;:::i;42484:25::-;42476:50;;;;-1:-1:-1::0;;;42476:50:0::1;;;;;;;:::i;:::-;42545:5;;42551:1;42545:8;;;;;;;;;;;;;;;;;;:::i;:::-;:15;::::0;;;;;::::1;;;:::i;:::-;-1:-1:-1::0;;;;;42545:20:0::1;42573:5;;42579:1;42573:8;;;;;;;;;;;;;;;;;;:::i;:::-;:14;;;42589:5;;42595:1;42589:8;;;;;;;;;;;;;;;;;;:::i;:::-;:13;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;42545:58;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42205:414;42185:3;;42147:483;;;-1:-1:-1::0;42693:117:0::1;42733:10;42758:41;-1:-1:-1::0;;;;;42758:26:0;::::1;42793:4;42758:26;:41::i;:::-;-1:-1:-1::0;;;;;42693:25:0;::::1;::::0;:117;:25:::1;:117::i;:::-;-1:-1:-1::0;42859:42:0::1;-1:-1:-1::0;;;;;42859:27:0;::::1;42895:4;42859:27;:42::i;:::-;42847:54;;42912:11;42934:19:::0;42996:123:::1;43022:8;43045:9;43069:16;43100:8;42996:11;:123::i;:::-;42964:155:::0;;-1:-1:-1;42964:155:0;-1:-1:-1;42964:155:0;-1:-1:-1;43181:25:0;;::::1;;43159:126;;;;-1:-1:-1::0;;;43159:126:0::1;;;;;;;:::i;:::-;43336:49;-1:-1:-1::0;;;;;43336:26:0;::::1;43363:10;43375:9:::0;43336:26:::1;:49::i;:::-;;43430:8;-1:-1:-1::0;;;;;43403:57:0::1;43421:7;-1:-1:-1::0;;;;;43403:57:0::1;43409:10;-1:-1:-1::0;;;;;43403:57:0::1;;43440:8;43450:9;43403:57;;;;;;;:::i;:::-;;;;;;;;43543:8;-1:-1:-1::0;;;;;43476:177:0::1;43520:8;-1:-1:-1::0;;;;;43476:177:0::1;43498:7;-1:-1:-1::0;;;;;43476:177:0::1;;43566:8;43589:9;43613:3;43631:11;43476:177;;;;;;;;;:::i;:::-;;;;;;;;34018:1;;41362:2299:::0;;;;;;;;;;:::o;39295:104::-;-1:-1:-1;;;;;39375:16:0;39351:4;39375:16;;;:7;:16;;;;;;;;;39295:104::o;45048:243::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;45138:7:::1;::::0;45176:5:::1;45164:17:::0;::::1;;45156:46;;;;-1:-1:-1::0;;;45156:46:0::1;;;;;;;:::i;:::-;45213:7;:18:::0;;;45247:36:::1;::::0;45223:8;;45262:10;;45247:36:::1;::::0;;;::::1;32073:1;45048:243:::0;:::o;39534:201::-;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;39607:17:::1;39616:7;39607:8;:17::i;:::-;39606:18;39598:57;;;;-1:-1:-1::0;;;39598:57:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;39668:16:0;::::1;;::::0;;;39687:4:::1;39668:16;::::0;;;;;;;;:23;;-1:-1:-1;;39668:23:0::1;::::0;;::::1;::::0;;39707:20;::::1;::::0;::::1;::::0;39676:7;;39707:20:::1;:::i;32736:281::-:0;32013:12;:10;:12::i;:::-;32003:6;;-1:-1:-1;;;;;32003:6:0;;;:22;;;31995:67;;;;-1:-1:-1;;;31995:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32839:22:0;::::1;32817:110;;;;-1:-1:-1::0;;;32817:110:0::1;;;;;;;:::i;:::-;32964:6;::::0;;32943:38:::1;::::0;-1:-1:-1;;;;;32943:38:0;;::::1;::::0;32964:6;::::1;::::0;32943:38:::1;::::0;::::1;32992:6;:17:::0;;-1:-1:-1;;;;;;32992:17:0::1;-1:-1:-1::0;;;;;32992:17:0;;;::::1;::::0;;;::::1;::::0;;32736:281::o;314:106::-;402:10;314:106;:::o;34710:120::-;34255:7;;-1:-1:-1;;;34255:7:0;;;;34247:40;;;;-1:-1:-1;;;34247:40:0;;;;;;;:::i;:::-;34779:5:::1;34769:15:::0;;-1:-1:-1;;;;34769:15:0::1;::::0;;34800:22:::1;34809:12;:10;:12::i;:::-;34800:22;;;;;;:::i;:::-;;;;;;;;34710:120::o:0;34451:118::-;33979:7;;-1:-1:-1;;;33979:7:0;;;;33978:8;33970:37;;;;-1:-1:-1;;;33970:37:0;;;;;;;:::i;:::-;34511:7:::1;:14:::0;;-1:-1:-1;;;;34511:14:0::1;-1:-1:-1::0;;;34511:14:0::1;::::0;;34541:20:::1;34548:12;:10;:12::i;38148:180::-:0;38200:4;-1:-1:-1;;;;;38225:39:0;;;;:94;;-1:-1:-1;;;;;;38281:38:0;;35094:42;38281:38;38225:94;38217:103;38148:180;-1:-1:-1;;38148:180:0:o;27621:285::-;27765:133;27799:5;27842:27;;;27871:4;27877:2;27881:5;27819:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27819:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;27819:68:0;-1:-1:-1;;;;;;27819:68:0;;;;;;;;;;27765:19;:133::i;:::-;27621:285;;;;:::o;44784:256::-;44890:60;-1:-1:-1;;;;;44890:32:0;;44923:14;44947:1;44890:32;:60::i;:::-;44961:71;-1:-1:-1;;;;;44961:42:0;;45004:14;-1:-1:-1;;44961:42:0;:71::i;:::-;44784:256;;:::o;37279:260::-;37384:7;37413:12;37419:5;37413;:12::i;:::-;37409:123;;;-1:-1:-1;;;;;;37449:11:0;;;37442:18;;37409:123;37500:20;;-1:-1:-1;;;37500:20:0;;-1:-1:-1;;;;;37500:15:0;;;;;:20;;37516:3;;37500:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;37493:27;37279:260;-1:-1:-1;;;37279:260:0:o;35146:383::-;35267:4;35288:11;35284:55;;-1:-1:-1;35323:4:0;35316:11;;35284:55;35355:12;35361:5;35355;:12::i;:::-;35351:171;;;35384:37;;-1:-1:-1;;;;;35384:29:0;;;:37;;;;;35414:6;;35384:37;;;;35414:6;35384:29;:37;;;;;;;;;;;;;;;;;;;;;35351:171;;;35454:30;-1:-1:-1;;;;;35454:18:0;;35473:2;35477:6;35454:18;:30::i;:::-;-1:-1:-1;35506:4:0;35146:383;;;;;:::o;43669:1107::-;43862:21;43898:11;43924:19;43988:16;43975:9;:29;;:45;;;-1:-1:-1;44008:7:0;;:12;43975:45;43971:102;;;-1:-1:-1;44045:9:0;;-1:-1:-1;44056:1:0;;-1:-1:-1;44056:1:0;44037:24;;43971:102;44091:55;44140:5;44091:44;44127:7;;44091:31;44105:16;44091:9;:13;;:31;;;;:::i;:::-;:35;;:44::i;:::-;:48;;:55::i;:::-;44085:61;-1:-1:-1;;;;;;44177:22:0;;;;;;:61;;-1:-1:-1;;;;;;44216:22:0;;44228:10;44216:22;;44177:61;:99;;;;-1:-1:-1;;;;;;44255:21:0;;44267:9;44255:21;;44177:99;44159:447;;;44317:35;44346:5;44317:24;44325:15;;44317:3;:7;;:24;;;;:::i;:35::-;44303:49;-1:-1:-1;44371:48:0;-1:-1:-1;;;;;44371:25:0;;44397:8;44303:49;44371:25;:48::i;:::-;44367:228;;;44452:26;:9;44466:11;44452:13;:26::i;:::-;44440:38;-1:-1:-1;44503:20:0;:3;44511:11;44503:7;:20::i;:::-;44497:26;;44367:228;;;-1:-1:-1;44578:1:0;44367:228;44622:39;44648:7;:5;:7::i;:::-;-1:-1:-1;;;;;44622:25:0;;;44657:3;44622:25;:39::i;:::-;44618:102;;;44690:18;:9;44704:3;44690:13;:18::i;:::-;44678:30;;44618:102;44740:9;44732:36;;43669:1107;;;;;;;;;:::o;30255:885::-;30679:23;30718:118;30764:4;30718:118;;;;;;;;;;;;;;;;;30726:5;-1:-1:-1;;;;;30718:27:0;;;:118;;;;;:::i;:::-;30851:17;;30679:157;;-1:-1:-1;30851:21:0;30847:286;;31024:10;31013:30;;;;;;;;;;;;:::i;:::-;30987:134;;;;-1:-1:-1;;;30987:134:0;;;;;;;:::i;:::-;30255:885;;;:::o;28175:707::-;28593:10;;;28592:62;;-1:-1:-1;28609:39:0;;-1:-1:-1;;;28609:39:0;;-1:-1:-1;;;;;28609:15:0;;;;;:39;;28633:4;;28640:7;;28609:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;28592:62;28570:166;;;;-1:-1:-1;;;28570:166:0;;;;;;;:::i;:::-;28747:127;28781:5;28824:22;;;28848:7;28857:5;28801:62;;;;;;;;;:::i;28890:436::-;29021:20;29057:50;29101:5;29057;-1:-1:-1;;;;;29057:15:0;;29081:4;29088:7;29057:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:43;;:50::i;:::-;29021:86;;29118:200;29152:5;29213:22;;;29254:7;29280:12;29172:135;;;;;;;;;:::i;27365:248::-;27482:123;27516:5;27559:23;;;27584:2;27588:5;27536:58;;;;;;;;;:::i;1395:136::-;1453:7;1480:43;1484:1;1487;1480:43;;;;;;;;;;;;;;;;;:3;:43::i;2319:471::-;2377:7;2622:6;2618:47;;-1:-1:-1;2652:1:0;2645:8;;2618:47;2689:5;;;2693:1;2689;:5;:1;2713:5;;;;;:10;2705:56;;;;-1:-1:-1;;;2705:56:0;;;;;;;:::i;3266:132::-;3324:7;3351:39;3355:1;3358;3351:39;;;;;;;;;;;;;;;;;:3;:39::i;22361:229::-;22498:12;22530:52;22552:6;22560:4;22566:1;22569:12;22530:21;:52::i;:::-;22523:59;22361:229;-1:-1:-1;;;;22361:229:0:o;931:181::-;989:7;1021:5;;;1045:6;;;;1037:46;;;;-1:-1:-1;;;1037:46:0;;;;;;;:::i;1834:226::-;1954:7;1990:12;1982:6;;;;1974:29;;;;-1:-1:-1;;;1974:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;2026:5:0;;;1834:226::o;3894:312::-;4014:7;4049:12;4042:5;4034:28;;;;-1:-1:-1;;;4034:28:0;;;;;;;;:::i;:::-;;4073:9;4089:1;4085;:5;;;;;;;3894:312;-1:-1:-1;;;;;3894:312:0:o;23577:621::-;23747:12;23819:5;23794:21;:30;;23772:118;;;;-1:-1:-1;;;23772:118:0;;;;;;;:::i;:::-;23909:18;23920:6;23909:10;:18::i;:::-;23901:60;;;;-1:-1:-1;;;23901:60:0;;;;;;;:::i;:::-;24035:12;24049:23;24089:6;-1:-1:-1;;;;;24089:11:0;24108:5;24115:4;24089:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24034:86;;;;24138:52;24156:7;24165:10;24177:12;24138:17;:52::i;:::-;24131:59;23577:621;-1:-1:-1;;;;;;;23577:621:0:o;19324:444::-;19704:20;19752:8;;;19324:444::o;26489:777::-;26639:12;26668:7;26664:595;;;-1:-1:-1;26699:10:0;26692:17;;26664:595;26813:17;;:21;26809:439;;27076:10;27070:17;27137:15;27124:10;27120:2;27116:19;27109:44;27024:148;27219:12;27212:20;;-1:-1:-1;;;27212:20:0;;;;;;;;:::i;1300:241:-1:-;;1404:2;1392:9;1383:7;1379:23;1375:32;1372:2;;;-1:-1;;1410:12;1372:2;85:6;72:20;97:33;124:5;97:33;:::i;1548:257::-;;1660:2;1648:9;1639:7;1635:23;1631:32;1628:2;;;-1:-1;;1666:12;1628:2;803:6;797:13;26295:5;24690:13;24683:21;26273:5;26270:32;26260:2;;-1:-1;;26306:12;1812:1283;;;;;;;;;2119:3;2107:9;2098:7;2094:23;2090:33;2087:2;;;-1:-1;;2126:12;2087:2;951:6;938:20;963:47;1004:5;963:47;:::i;:::-;2178:77;-1:-1;2292:2;2345:22;;938:20;963:47;938:20;963:47;:::i;:::-;2300:77;-1:-1;2414:2;2453:22;;1089:20;;-1:-1;2522:2;2561:22;;1089:20;;-1:-1;2630:3;2670:22;;1089:20;;-1:-1;2739:3;2787:22;;217:20;242:41;217:20;242:41;:::i;:::-;2748:71;-1:-1;2884:3;2869:19;;2856:33;2909:18;2898:30;;;2895:2;;;-1:-1;;2931:12;2895:2;3062:6;3051:9;3047:22;;;492:3;485:4;477:6;473:17;469:27;459:2;;-1:-1;;500:12;459:2;543:6;530:20;2909:18;562:6;559:30;556:2;;;-1:-1;;592:12;556:2;687:3;2292:2;;671:6;667:17;628:6;653:32;;650:41;647:2;;;-1:-1;;694:12;647:2;2292;628:6;624:17;2951:128;;;;;;;;2081:1014;;;;;;;;;;;:::o;3102:241::-;;3206:2;3194:9;3185:7;3181:23;3177:32;3174:2;;;-1:-1;;3212:12;3174:2;-1:-1;1089:20;;3168:175;-1:-1;3168:175::o;3350:263::-;;3465:2;3453:9;3444:7;3440:23;3436:32;3433:2;;;-1:-1;;3471:12;3433:2;-1:-1;1237:13;;3427:186;-1:-1;3427:186::o;11537:291::-;;25496:6;25491:3;25486;25473:30;25534:16;;25527:27;;;25534:16;11681:147;-1:-1;11681:147::o;11835:271::-;;4501:5;23925:12;4612:52;4657:6;4652:3;4645:4;4638:5;4634:16;4612:52;:::i;:::-;4676:16;;;;;11969:137;-1:-1;;11969:137::o;12113:222::-;-1:-1;;;;;24890:54;;;;3840:37;;12240:2;12225:18;;12211:124::o;12587:333::-;-1:-1;;;;;24890:54;;;3840:37;;24890:54;;12906:2;12891:18;;3840:37;12742:2;12727:18;;12713:207::o;12927:444::-;-1:-1;;;;;24890:54;;;3840:37;;24890:54;;;;13274:2;13259:18;;3840:37;13357:2;13342:18;;11488:37;;;;13110:2;13095:18;;13081:290::o;13378:333::-;-1:-1;;;;;24890:54;;;;3840:37;;13697:2;13682:18;;11488:37;13533:2;13518:18;;13504:207::o;13718:210::-;24690:13;;24683:21;3954:34;;13839:2;13824:18;;13810:118::o;13935:310::-;;14082:2;14103:17;14096:47;4849:5;23925:12;24364:6;14082:2;14071:9;14067:18;24352:19;4943:52;4988:6;24392:14;14071:9;24392:14;14082:2;4969:5;4965:16;4943:52;:::i;:::-;25929:7;25913:14;-1:-1;;25909:28;5007:39;;;;24392:14;5007:39;;14053:192;-1:-1;;14053:192::o;14252:416::-;14452:2;14466:47;;;5283:2;14437:18;;;24352:19;-1:-1;;;24392:14;;;5299:43;5361:12;;;14423:245::o;14675:416::-;14875:2;14889:47;;;5612:2;14860:18;;;24352:19;5648:34;24392:14;;;5628:55;-1:-1;;;5703:12;;;5696:30;5745:12;;;14846:245::o;15098:416::-;15298:2;15312:47;;;5996:2;15283:18;;;24352:19;6032:29;24392:14;;;6012:50;6081:12;;;15269:245::o;15521:416::-;15721:2;15735:47;;;6332:2;15706:18;;;24352:19;6368:34;24392:14;;;6348:55;-1:-1;;;6423:12;;;6416:34;6469:12;;;15692:245::o;15944:416::-;16144:2;16158:47;;;6720:2;16129:18;;;24352:19;6756:34;24392:14;;;6736:55;-1:-1;;;6811:12;;;6804:30;6853:12;;;16115:245::o;16367:416::-;16567:2;16581:47;;;7104:2;16552:18;;;24352:19;-1:-1;;;24392:14;;;7120:39;7178:12;;;16538:245::o;16790:416::-;16990:2;17004:47;;;7429:2;16975:18;;;24352:19;7465:26;24392:14;;;7445:47;7511:12;;;16961:245::o;17213:416::-;17413:2;17427:47;;;7762:2;17398:18;;;24352:19;7798:34;24392:14;;;7778:55;-1:-1;;;7853:12;;;7846:43;7908:12;;;17384:245::o;17636:416::-;17836:2;17850:47;;;8159:2;17821:18;;;24352:19;8195:34;24392:14;;;8175:55;-1:-1;;;8250:12;;;8243:25;8287:12;;;17807:245::o;18059:416::-;18259:2;18273:47;;;18244:18;;;24352:19;8574:34;24392:14;;;8554:55;8628:12;;;18230:245::o;18482:416::-;18682:2;18696:47;;;8879:2;18667:18;;;24352:19;-1:-1;;;24392:14;;;8895:42;8956:12;;;18653:245::o;18905:416::-;19105:2;19119:47;;;9207:2;19090:18;;;24352:19;-1:-1;;;24392:14;;;9223:35;9277:12;;;19076:245::o;19328:416::-;19528:2;19542:47;;;9528:2;19513:18;;;24352:19;-1:-1;;;24392:14;;;9544:39;9602:12;;;19499:245::o;19751:416::-;19951:2;19965:47;;;9853:2;19936:18;;;24352:19;9889:31;24392:14;;;9869:52;9940:12;;;19922:245::o;20174:416::-;20374:2;20388:47;;;10191:2;20359:18;;;24352:19;10227:28;24392:14;;;10207:49;10275:12;;;20345:245::o;20597:416::-;20797:2;20811:47;;;10526:2;20782:18;;;24352:19;10562:34;24392:14;;;10542:55;-1:-1;;;10617:12;;;10610:34;10663:12;;;20768:245::o;21020:416::-;21220:2;21234:47;;;10914:2;21205:18;;;24352:19;-1:-1;;;24392:14;;;10930:42;10991:12;;;21191:245::o;21443:416::-;21643:2;21657:47;;;11242:2;21628:18;;;24352:19;11278:34;24392:14;;;11258:55;-1:-1;;;11333:12;;;11326:46;11391:12;;;21614:245::o;21866:222::-;11488:37;;;21993:2;21978:18;;21964:124::o;22095:333::-;11488:37;;;22414:2;22399:18;;11488:37;22250:2;22235:18;;22221:207::o;22435:556::-;11488:37;;;22811:2;22796:18;;11488:37;;;;22894:2;22879:18;;11488:37;22977:2;22962:18;;11488:37;22646:3;22631:19;;22617:374::o;22998:506::-;;;23133:11;23120:25;23184:48;;23208:8;23192:14;23188:29;23184:48;23164:18;23160:73;23150:2;;-1:-1;;23237:12;23150:2;23264:33;;23318:18;;;-1:-1;23356:18;23345:30;;23342:2;;;-1:-1;;23378:12;23342:2;23223:4;23406:13;;-1:-1;23192:14;23438:38;;;23428:49;;23425:2;;;23490:1;;23480:12;23425:2;23088:416;;;;;:::o;23511:320::-;;23657:11;23644:25;23708:48;;23732:8;23716:14;23712:29;23708:48;23688:18;23684:73;23674:2;;-1:-1;;23761:12;25569:268;25634:1;25641:101;25655:6;25652:1;25649:13;25641:101;;;25722:11;;;25716:18;25703:11;;;25696:39;25677:2;25670:10;25641:101;;;25757:6;25754:1;25751:13;25748:2;;;-1:-1;;25634:1;25804:16;;25797:27;25618:219::o;25950:117::-;-1:-1;;;;;24890:54;;26009:35;;25999:2;;26058:1;;26048:12;25999:2;25993:74;:::o

Swarm Source

ipfs://22be4251204e8156a837265a936f4243abb46834113d0b77be8194fab6c3d025
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.