Contract 0xb1b17dff66d75b29d34f0bf8622c406d8219b507

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x3b0f47f08f589ecd11ac728cc1f1012b0c916938c5cec16e2b2b25874a32d49184654732021-06-20 16:09:4436 mins ago0xcd952e7dbae9609026bfce748da7ee48a039ef5a IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xce4d8658401c155bc6a3cd15f539e84cb440f9e05f7dfb2dc73a43c74c51e60384653502021-06-20 16:03:3542 mins ago0x0faa48634e7ca48ee273e88c1352719dcb08149d IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xee95a096dc5a991ada7c0a03562eba5877a4fa9c5ed075045c4c067e70ceb40684644502021-06-20 15:18:351 hr 27 mins ago0x7a2bf3e5a9cb971d100c792d2dc9bbacf80f5d17 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x7381b1d13c8c1f5adcfb44712147c2103f21327d069ab16ce342a616aabb75c484643452021-06-20 15:13:201 hr 32 mins ago0xc86c3ba8e2ee17809940153d80a1093c28d80cf2 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xa52ff5f3fa066922cd01e7d3f241bb087a827845592220603a18e06ce4e9d4b984642592021-06-20 15:09:021 hr 37 mins ago0xac52546b5f01e8e62ca712cf94cbd126f258e24e IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x9f32800be83e3ebde8fccd995f5b5e87ef255e88a074ab37ef1500378cc135b184639302021-06-20 14:52:351 hr 53 mins ago0xb3159eafb457714c704ea9d6afbe60898e01598c IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xba5d3721db6d8c2971a2be680850294ab65d096ec99a822d48db1769f4f72b1984638572021-06-20 14:48:561 hr 57 mins ago0x74850e8383590ef57f6a166431e7c827911732cf IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xa174c54e67a25bc7233ff1b63287655245c76bcb46cca10f7ce1922e58a1fd5584638232021-06-20 14:47:141 hr 58 mins ago0x83e6cad0c6bab6152520beb07aa1bd575a50c85f IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xabff04c6aaa23a8703db968e4f48eaefaa01e664a8bd8689564078b2a008ec1384637792021-06-20 14:45:022 hrs 1 min ago0xa627db2d06841f6f2124a63f0f194953c3d986ca IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xb572269275cd5684beabf09e0190bf8d502b7f925119e201acb8a119ba09cd6384637782021-06-20 14:44:592 hrs 1 min ago0xcdd2f3c4fd6b23fceaee0b985d2a6ca96bfc7a27 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xcae888f3f2bf4823f6da5487e09338177df08b13cb737642a601a5baa46aa7a484637022021-06-20 14:41:112 hrs 4 mins ago0xb3159eafb457714c704ea9d6afbe60898e01598c IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x32239dc059b65dd98c491e2b9e7619cb7d80450b7c234c124e143f1168500f8d84636012021-06-20 14:36:082 hrs 9 mins ago0x872349d429d2591c34331d52b7c3a9cde785e987 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xe8195c96860b24a4e72d238138949cc1190c03c77a89d32a5f6c164363c4031984635872021-06-20 14:35:262 hrs 10 mins ago0x31e0e2d0f185c7af426e0f25f270b5035b47fe82 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x5205c4ec93082ed811b764d265dc84958e1cce1575346b7f346f2f5ffd35b1da84635802021-06-20 14:35:052 hrs 10 mins ago0x41e643883897f27e91525f6871d83c9276882854 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x85cb28e4647e529c05c545b7bdccf24c70a2c951538ecb3d2783dc19db3ce14a84635532021-06-20 14:33:442 hrs 12 mins ago0x1869bd3c0aa1e5e5c9b950df63eea139750cd8d0 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x810ba3ef4eae14a72377ac80d041201b45140a3c710c06576b9bcf787c967d8a84626662021-06-20 13:49:232 hrs 56 mins ago0x62b4265f8f66abc1c78b2c33bbaa7b8d38835716 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xc1d6b47542051c899333b388d2cd2c7176cd04ec61e1fe4f944e87cecf859da484587872021-06-20 10:35:266 hrs 10 mins ago0x9a597c5150370ea6f89ea911def7a14274388a08 IN  Crudeoil Finance: OIL Token0 BNB0.000153415
0x167fa03de1bd4a1d929b745e945472d7079016dd10c9ada24495b8ee788c592284545872021-06-20 7:04:269 hrs 41 mins ago0x2af75b85820c6690150990955fb5edeb1dda65be IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x40124f37eccc6d21cad04dfce9c48a546ed37097c9d7fdcd9c3763063fb7977684372062021-06-19 16:34:241 day 11 mins ago0x759943ecff6e10ef5cbd663e9e04511d1ab505e3 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x861ccf389bf58a63302aa8f272763c67a4e1d45884435222e15e040ea27c95b384371882021-06-19 16:33:301 day 12 mins ago0x759943ecff6e10ef5cbd663e9e04511d1ab505e3 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xd2294f4e6d7008bd469e6dc2fcbd360c7b7cff7e5a67d3c9343399e95328116c84366262021-06-19 16:05:241 day 40 mins ago0xf6e9f268b01173d6ccc86196ca2bc14ad8bbcfd2 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xed4731274b728e83dbc79275d4e8e275964293be16184a3c0370b8420123ced584364412021-06-19 15:56:091 day 49 mins ago0x7a168d91b059241dccc59e848656e9c03f73b942 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0xbafbd1d3e65c000cca50dff9549bdad457e8b313d98bc6056ca914fe47b13e9184361962021-06-19 15:43:541 day 1 hr ago0x7304212d9c1cdc8dc5cd34b6a6e08a6a30d03c34 IN  Crudeoil Finance: OIL Token0 BNB0.000222035
0x9bf23394134f0b8dd4f423d05a842c65ee5f0745a93acb7bbb8d30b16b9968e384337342021-06-19 13:36:241 day 3 hrs agoCrudeoil Finance: Deployer IN  Crudeoil Finance: OIL Token0 BNB0.000215625
0x991f110e63acdd4df22904cc2eb0866488226372bcd86fc84a19b5be4d5aa78084336652021-06-19 13:32:571 day 3 hrs agoCrudeoil Finance: Deployer IN  Crudeoil Finance: OIL Token0 BNB0.000246565
[ Download CSV Export 

OVERVIEW

Crudeoil Finance is a decentralized deflationary farming platform and AMM built on Binance Smart Chain to power the DEFI economy.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x1830bb982cf065af7a49e877181b3f925408f4c8cc22010a4435bd5a3e091b0354713292021-03-07 11:59:24105 days 4 hrs ago 0x0dd8bdc03daa41bf62053877498be97ca9c274cd Crudeoil Finance: OIL Token0 BNB
0x3574cb481c2993efe86efa3e745fcd25022a3992e64d6655e671bde5e2e0289e54711982021-03-07 11:52:51105 days 4 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0x3574cb481c2993efe86efa3e745fcd25022a3992e64d6655e671bde5e2e0289e54711982021-03-07 11:52:51105 days 4 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x3574cb481c2993efe86efa3e745fcd25022a3992e64d6655e671bde5e2e0289e54711982021-03-07 11:52:51105 days 4 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0xb54c6dba95951f5224e15947c87714ba2ddcc4fdc2d699bb256cdb3ce06fcf5354710672021-03-07 11:46:18105 days 4 hrs ago PancakeSwap: OIL-BUSD Crudeoil Finance: OIL Token0 BNB
0xb54c6dba95951f5224e15947c87714ba2ddcc4fdc2d699bb256cdb3ce06fcf5354710672021-03-07 11:46:18105 days 4 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0xb54c6dba95951f5224e15947c87714ba2ddcc4fdc2d699bb256cdb3ce06fcf5354710672021-03-07 11:46:18105 days 4 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x97a0744915a82ce71cb3d6cac8b2ec8373bab9529e5ccaf65e1aeecda4a80e2254707372021-03-07 11:29:48105 days 5 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0x97a0744915a82ce71cb3d6cac8b2ec8373bab9529e5ccaf65e1aeecda4a80e2254707372021-03-07 11:29:48105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x97a0744915a82ce71cb3d6cac8b2ec8373bab9529e5ccaf65e1aeecda4a80e2254707372021-03-07 11:29:48105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x5a98b786fea083d433515a2c58baead4245916dab49e808b9241999f451d715654707182021-03-07 11:28:51105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x5a98b786fea083d433515a2c58baead4245916dab49e808b9241999f451d715654707182021-03-07 11:28:51105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x5a98b786fea083d433515a2c58baead4245916dab49e808b9241999f451d715654707182021-03-07 11:28:51105 days 5 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0x5a98b786fea083d433515a2c58baead4245916dab49e808b9241999f451d715654707182021-03-07 11:28:51105 days 5 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0x5a98b786fea083d433515a2c58baead4245916dab49e808b9241999f451d715654707182021-03-07 11:28:51105 days 5 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0x98c735fdfdecff350fde86261d97b33e120de8f607e2ca94bac5037acf92b5a554706992021-03-07 11:27:54105 days 5 hrs ago 0xd1e47365fb7eaa3f48a86ad3e1be2263255aaf5f Crudeoil Finance: OIL Token0 BNB
0x63caeccedde55a9be7f48b7a0cb221501ec05911cb648078d66109389d07c66054706832021-03-07 11:27:06105 days 5 hrs ago 0xd1e47365fb7eaa3f48a86ad3e1be2263255aaf5f Crudeoil Finance: OIL Token0 BNB
0x7dbeebc29b068b0d265db8e1e351647762435c5f1c8a99a87cd3a3007b66811c54706062021-03-07 11:23:15105 days 5 hrs ago 0xbb0aad997d4d10d7586ecab79a2bcbf62a8600ef Crudeoil Finance: OIL Token0 BNB
0x265fed9151144fe335ea15f9bc8f735c9a0db535dbc6f86adc344863413431f354705862021-03-07 11:22:15105 days 5 hrs ago PancakeSwap: OIL-BUSD Crudeoil Finance: OIL Token0 BNB
0x265fed9151144fe335ea15f9bc8f735c9a0db535dbc6f86adc344863413431f354705862021-03-07 11:22:15105 days 5 hrs ago PancakeSwap: OIL-BUSD Crudeoil Finance: OIL Token0 BNB
0xf03837fdad0236bee8ae7cec50417b27fdce2c9d86cbd5018ad7bbc9d4a4c9cf54704442021-03-07 11:15:09105 days 5 hrs ago PancakeSwap: OIL 3 Crudeoil Finance: OIL Token0 BNB
0xf03837fdad0236bee8ae7cec50417b27fdce2c9d86cbd5018ad7bbc9d4a4c9cf54704442021-03-07 11:15:09105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0xf03837fdad0236bee8ae7cec50417b27fdce2c9d86cbd5018ad7bbc9d4a4c9cf54704442021-03-07 11:15:09105 days 5 hrs ago PancakeSwap: Router Crudeoil Finance: OIL Token0 BNB
0x5fdc331ce59c540621d643ae313bfff6442464c2ebdea57bac69b6dc345ee0e654704182021-03-07 11:13:51105 days 5 hrs ago 0xd1e47365fb7eaa3f48a86ad3e1be2263255aaf5f Crudeoil Finance: OIL Token0 BNB
0xd9c4851a0ea123e29a16fb38699804bc8a4bb2b91fd81457e1b6cc40254b451754704102021-03-07 11:13:27105 days 5 hrs ago 0xd1e47365fb7eaa3f48a86ad3e1be2263255aaf5f Crudeoil Finance: OIL Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OilToken

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
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;
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\ERC20.sol

pragma solidity >=0.6.0 <0.8.0;

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;
    address public fundWallet;
    address[] public whiteListed;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    bool public _burnStatus;

    /**
     * @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;
        _burnStatus = false;
    }

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        if (
            totalSupply() > 10000000000000000000000 &&
            _burnStatus &&
            !checkWhiteListed(_msgSender())
        ) {
            _transfer(_msgSender(), recipient, (amount.div(100)).mul(98));
            _burn(_msgSender(), (amount.div(100)).mul(1));
            _transfer(_msgSender(), fundWallet, (amount.div(100)).mul(1));
        } else {
            _transfer(_msgSender(), recipient, amount);
        }
        return true;
    }

    function checkWhiteListed(address _checkAddress)
        public
        view
        returns (bool)
    {
        uint256 i;
        for (i = 0; i < whiteListed.length; i++) {
            if (_checkAddress == whiteListed[i]) {
                return true;
            }
        }
        return false;
    }

    /**
     * @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) {
        if (
            totalSupply() > 10000000000000000000000 &&
            _burnStatus &&
            !checkWhiteListed(sender)
        ) {
            _transfer(sender, recipient, (amount.div(100)).mul(98));
            _burn(sender, (amount.div(100)).mul(1));
            _transfer(sender, fundWallet, (amount.div(100)).mul(1));
            _approve(
                sender,
                _msgSender(),
                _allowances[sender][_msgSender()].sub(
                    amount,
                    "ERC20: transfer amount exceeds allowance"
                )
            );
        } else {
            _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 virtual {
        _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 {}
}

// File: contracts\Token.sol

pragma solidity >=0.6.0 <0.8.0;

contract OilToken is ERC20 {
    string private _name = "OIL Token";
    string private _symbol = "OIL";
    uint256 public INITIAL_SUPPLY = 100000000000000000000000;
    address public admin;

    constructor() ERC20(_name, _symbol) {
        _mint(msg.sender, INITIAL_SUPPLY);
        admin = msg.sender;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "Not Admin Account");
        _;
    }

    function setFundWallet(address _fundWallet) public onlyAdmin {
        fundWallet = _fundWallet;
    }

    function setBurnStatus(bool status) public onlyAdmin {
        _burnStatus = status;
    }

    function addWhiteListed(address _whiteListed) public onlyAdmin {
        whiteListed.push(_whiteListed);
    }

    function removeWhiteListed(address _whiteListed) public onlyAdmin {
        uint256 i;
        for (i = 0; i < whiteListed.length; i++) {
            if (whiteListed[i] == _whiteListed) {
                whiteListed[i] = address(0);
            }
        }
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_burnStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_whiteListed","type":"address"}],"name":"addWhiteListed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_checkAddress","type":"address"}],"name":"checkWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_whiteListed","type":"address"}],"name":"removeWhiteListed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setBurnStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fundWallet","type":"address"}],"name":"setFundWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whiteListed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c0604052600960808190526827a4a6102a37b5b2b760b91b60a09081526200002c916008919062000377565b506040805180820190915260038082526213d25360ea1b6020909201918252620000599160099162000377565b5069152d02c7e14af6800000600a553480156200007557600080fd5b506008805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015620001005780601f10620000d45761010080835404028352916020019162000100565b820191906000526020600020905b815481529060010190602001808311620000e257829003601f168201915b505060098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815295509193509150830182828015620001925780601f10620001665761010080835404028352916020019162000192565b820191906000526020600020905b8154815290600101906020018083116200017457829003601f168201915b50508451620001ac93506005925060208601915062000377565b508051620001c290600690602084019062000377565b50506007805461ff001960ff1990911660121716905550600a54620001e990339062000201565b600b80546001600160a01b0319163317905562000423565b6001600160a01b0382166200025d576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200026b6000838362000310565b62000287816002546200031560201b62000b7c1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002ba91839062000b7c62000315821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000370576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003af5760008555620003fa565b82601f10620003ca57805160ff1916838001178555620003fa565b82800160010185558215620003fa579182015b82811115620003fa578251825591602001919060010190620003dd565b50620004089291506200040c565b5090565b5b808211156200040857600081556001016200040d565b61127880620004336000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063664a1ad6116100b8578063a9059cbb1161007c578063a9059cbb1461038e578063d94afade146103ba578063dd62ed3e146103d7578063ef12536014610405578063f851a4401461042b578063fb62e0831461043357610137565b8063664a1ad6146102f157806370a082311461031557806395d89b411461033b57806397a2d0eb14610343578063a457c2d71461036257610137565b80632ff2e9dc116100ff5780632ff2e9dc14610251578063313ce5671461025957806339509351146102775780634da56365146102a357806355ce3b9a146102c957610137565b806306fdde031461013c578063095ea7b3146101b957806318160ddd146101f95780631f0e6d9c1461021357806323b872dd1461021b575b600080fd5b610144610459565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017e578181015183820152602001610166565b50505050905090810190601f1680156101ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101e5600480360360408110156101cf57600080fd5b506001600160a01b0381351690602001356104ef565b604080519115158252519081900360200190f35b61020161050d565b60408051918252519081900360200190f35b6101e5610513565b6101e56004803603606081101561023157600080fd5b506001600160a01b03813581169160208101359091169060400135610521565b610201610652565b610261610658565b6040805160ff9092168252519081900360200190f35b6101e56004803603604081101561028d57600080fd5b506001600160a01b038135169060200135610661565b6101e5600480360360208110156102b957600080fd5b50356001600160a01b03166106af565b6102ef600480360360208110156102df57600080fd5b50356001600160a01b0316610706565b005b6102f961077b565b604080516001600160a01b039092168252519081900360200190f35b6102016004803603602081101561032b57600080fd5b50356001600160a01b031661078a565b6101446107a5565b6102ef6004803603602081101561035957600080fd5b50351515610806565b6101e56004803603604081101561037857600080fd5b506001600160a01b038135169060200135610873565b6101e5600480360360408110156103a457600080fd5b506001600160a01b0381351690602001356108db565b6102f9600480360360208110156103d057600080fd5b5035610997565b610201600480360360408110156103ed57600080fd5b506001600160a01b03813581169160200135166109c1565b6102ef6004803603602081101561041b57600080fd5b50356001600160a01b03166109ec565b6102f9610ac8565b6102ef6004803603602081101561044957600080fd5b50356001600160a01b0316610ad7565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104e55780601f106104ba576101008083540402835291602001916104e5565b820191906000526020600020905b8154815290600101906020018083116104c857829003601f168201915b5050505050905090565b60006105036104fc610bdd565b8484610be1565b5060015b92915050565b60025490565b600754610100900460ff1681565b600069021e19e0c9bab240000061053661050d565b11801561054a5750600754610100900460ff165b801561055c575061055a846106af565b155b1561063157610581848461057c6062610576876064610ccd565b90610d34565b610d8d565b61059a846105956001610576866064610ccd565b610ee8565b6003546105bc9085906001600160a01b031661057c6001610576876064610ccd565b61062c846105c8610bdd565b6106278560405180606001604052806028815260200161118c602891396001600160a01b038a16600090815260016020526040812090610606610bdd565b6001600160a01b031681526020810191909152604001600020549190610fe4565b610be1565b610648565b61063c848484610d8d565b610648846105c8610bdd565b5060019392505050565b600a5481565b60075460ff1690565b600061050361066e610bdd565b84610627856001600061067f610bdd565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b7c565b6000805b6004548110156106fb57600481815481106106ca57fe5b6000918252602090912001546001600160a01b03848116911614156106f3576001915050610701565b6001016106b3565b60009150505b919050565b600b546001600160a01b03163314610759576040805162461bcd60e51b8152602060048201526011602482015270139bdd0810591b5a5b881058d8dbdd5b9d607a1b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6001600160a01b031660009081526020819052604090205490565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104e55780601f106104ba576101008083540402835291602001916104e5565b600b546001600160a01b03163314610859576040805162461bcd60e51b8152602060048201526011602482015270139bdd0810591b5a5b881058d8dbdd5b9d607a1b604482015290519081900360640190fd5b600780549115156101000261ff0019909216919091179055565b6000610503610880610bdd565b846106278560405180606001604052806025815260200161121e60259139600160006108aa610bdd565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610fe4565b600069021e19e0c9bab24000006108f061050d565b1180156109045750600754610100900460ff165b801561091d575061091b610916610bdd565b6106af565b155b156109855761093e61092d610bdd565b8461057c6062610576876064610ccd565b610959610949610bdd565b6105956001610576866064610ccd565b610980610964610bdd565b6003546001600160a01b031661057c6001610576876064610ccd565b610503565b610503610990610bdd565b8484610d8d565b600481815481106109a757600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600b546001600160a01b03163314610a3f576040805162461bcd60e51b8152602060048201526011602482015270139bdd0810591b5a5b881058d8dbdd5b9d607a1b604482015290519081900360640190fd5b60005b600454811015610ac457816001600160a01b031660048281548110610a6357fe5b6000918252602090912001546001600160a01b03161415610abc57600060048281548110610a8d57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b600101610a42565b5050565b600b546001600160a01b031681565b600b546001600160a01b03163314610b2a576040805162461bcd60e51b8152602060048201526011602482015270139bdd0810591b5a5b881058d8dbdd5b9d607a1b604482015290519081900360640190fd5b600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610bd6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610c265760405162461bcd60e51b81526004018080602001828103825260248152602001806111fa6024913960400191505060405180910390fd5b6001600160a01b038216610c6b5760405162461bcd60e51b81526004018080602001828103825260228152602001806111236022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808211610d23576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d2c57fe5b049392505050565b600082610d4357506000610507565b82820282848281610d5057fe5b0414610bd65760405162461bcd60e51b815260040180806020018281038252602181526020018061116b6021913960400191505060405180910390fd5b6001600160a01b038316610dd25760405162461bcd60e51b81526004018080602001828103825260258152602001806111d56025913960400191505060405180910390fd5b6001600160a01b038216610e175760405162461bcd60e51b81526004018080602001828103825260238152602001806110de6023913960400191505060405180910390fd5b610e2283838361107b565b610e5f81604051806060016040528060268152602001611145602691396001600160a01b0386166000908152602081905260409020549190610fe4565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e8e9082610b7c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216610f2d5760405162461bcd60e51b81526004018080602001828103825260218152602001806111b46021913960400191505060405180910390fd5b610f398260008361107b565b610f7681604051806060016040528060228152602001611101602291396001600160a01b0385166000908152602081905260409020549190610fe4565b6001600160a01b038316600090815260208190526040902055600254610f9c9082611080565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081848411156110735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611038578181015183820152602001611020565b50505050905090810190601f1680156110655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b505050565b6000828211156110d7576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122039347f5659861e183a48f7b7ad8f3edaf12a9d55ec63e480fde4ea6e1ac4a77b64736f6c63430007040033

Deployed ByteCode Sourcemap

25041:1042:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13998:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17013:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17013:210:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;15097:108;;;:::i;:::-;;;;;;;;;;;;;;;;13393:23;;;:::i;17705:1126::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17705:1126:0;;;;;;;;;;;;;;;;;:::i;25153:56::-;;;:::i;14941:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19240:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19240:300:0;;;;;;;;:::i;16283:319::-;;;;;;;;;;;;;;;;-1:-1:-1;16283:319:0;-1:-1:-1;;;;;16283:319:0;;:::i;25479:104::-;;;;;;;;;;;;;;;;-1:-1:-1;25479:104:0;-1:-1:-1;;;;;25479:104:0;;:::i;:::-;;13240:25;;;:::i;:::-;;;;-1:-1:-1;;;;;13240:25:0;;;;;;;;;;;;;;15268:177;;;;;;;;;;;;;;;;-1:-1:-1;15268:177:0;-1:-1:-1;;;;;15268:177:0;;:::i;14208:95::-;;;:::i;25591:92::-;;;;;;;;;;;;;;;;-1:-1:-1;25591:92:0;;;;:::i;20043:400::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20043:400:0;;;;;;;;:::i;15658:617::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15658:617:0;;;;;;;;:::i;13272:28::-;;;;;;;;;;;;;;;;-1:-1:-1;13272:28:0;;:::i;16665:201::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16665:201:0;;;;;;;;;;:::i;25811:269::-;;;;;;;;;;;;;;;;-1:-1:-1;25811:269:0;-1:-1:-1;;;;;25811:269:0;;:::i;25216:20::-;;;:::i;25691:112::-;;;;;;;;;;;;;;;;-1:-1:-1;25691:112:0;-1:-1:-1;;;;;25691:112:0;;:::i;13998:91::-;14076:5;14069:12;;;;;;;;-1:-1:-1;;14069:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14043:13;;14069:12;;14076:5;;14069:12;;14076:5;14069:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13998:91;:::o;17013:210::-;17132:4;17154:39;17163:12;:10;:12::i;:::-;17177:7;17186:6;17154:8;:39::i;:::-;-1:-1:-1;17211:4:0;17013:210;;;;;:::o;15097:108::-;15185:12;;15097:108;:::o;13393:23::-;;;;;;;;;:::o;17705:1126::-;17845:4;17896:23;17880:13;:11;:13::i;:::-;:39;:67;;;;-1:-1:-1;17936:11:0;;;;;;;17880:67;:109;;;;;17965:24;17982:6;17965:16;:24::i;:::-;17964:25;17880:109;17862:940;;;18016:55;18026:6;18034:9;18045:25;18067:2;18046:15;:6;18057:3;18046:10;:15::i;:::-;18045:21;;:25::i;:::-;18016:9;:55::i;:::-;18086:39;18092:6;18100:24;18122:1;18101:15;:6;18112:3;18101:10;:15::i;18100:24::-;18086:5;:39::i;:::-;18158:10;;18140:55;;18150:6;;-1:-1:-1;;;;;18158:10:0;18170:24;18158:10;18171:15;:6;18182:3;18171:10;:15::i;18140:55::-;18210:248;18237:6;18262:12;:10;:12::i;:::-;18293:150;18353:6;18293:150;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18293:19:0;;;;;;:11;:19;;;;;;18313:12;:10;:12::i;:::-;-1:-1:-1;;;;;18293:33:0;;;;;;;;;;;;-1:-1:-1;18293:33:0;;;:150;:37;:150::i;:::-;18210:8;:248::i;:::-;17862:940;;;18491:36;18501:6;18509:9;18520:6;18491:9;:36::i;:::-;18542:248;18569:6;18594:12;:10;:12::i;18542:248::-;-1:-1:-1;18819:4:0;17705:1126;;;;;:::o;25153:56::-;;;;:::o;14941:91::-;15015:9;;;;14941:91;:::o;19240:300::-;19355:4;19377:133;19400:12;:10;:12::i;:::-;19427:7;19449:50;19488:10;19449:11;:25;19461:12;:10;:12::i;:::-;-1:-1:-1;;;;;19449:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19449:25:0;;;:34;;;;;;;;;;;:38;:50::i;16283:319::-;16380:4;;16422:150;16438:11;:18;16434:22;;16422:150;;;16499:11;16511:1;16499:14;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16482:31:0;;;16499:14;;16482:31;16478:83;;;16541:4;16534:11;;;;;16478:83;16458:3;;16422:150;;;16589:5;16582:12;;;16283:319;;;;:::o;25479:104::-;25424:5;;-1:-1:-1;;;;;25424:5:0;25410:10;:19;25402:49;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;;;;25551:10:::1;:24:::0;;-1:-1:-1;;;;;;25551:24:0::1;-1:-1:-1::0;;;;;25551:24:0;;;::::1;::::0;;;::::1;::::0;;25479:104::o;13240:25::-;;;-1:-1:-1;;;;;13240:25:0;;:::o;15268:177::-;-1:-1:-1;;;;;15419:18:0;15387:7;15419:18;;;;;;;;;;;;15268:177::o;14208:95::-;14288:7;14281:14;;;;;;;;-1:-1:-1;;14281:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14255:13;;14281:14;;14288:7;;14281:14;;14288:7;14281:14;;;;;;;;;;;;;;;;;;;;;;;;25591:92;25424:5;;-1:-1:-1;;;;;25424:5:0;25410:10;:19;25402:49;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;;;;25655:11:::1;:20:::0;;;::::1;;;;-1:-1:-1::0;;25655:20:0;;::::1;::::0;;;::::1;::::0;;25591:92::o;20043:400::-;20163:4;20185:228;20208:12;:10;:12::i;:::-;20235:7;20257:145;20314:15;20257:145;;;;;;;;;;;;;;;;;:11;:25;20269:12;:10;:12::i;:::-;-1:-1:-1;;;;;20257:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20257:25:0;;;:34;;;;;;;;;;;:145;:38;:145::i;15658:617::-;15780:4;15836:23;15820:13;:11;:13::i;:::-;:39;:67;;;;-1:-1:-1;15876:11:0;;;;;;;15820:67;:115;;;;;15905:30;15922:12;:10;:12::i;:::-;15905:16;:30::i;:::-;15904:31;15820:115;15802:444;;;15962:61;15972:12;:10;:12::i;:::-;15986:9;15997:25;16019:2;15998:15;:6;16009:3;15998:10;:15::i;15962:61::-;16038:45;16044:12;:10;:12::i;:::-;16058:24;16080:1;16059:15;:6;16070:3;16059:10;:15::i;16038:45::-;16098:61;16108:12;:10;:12::i;:::-;16122:10;;-1:-1:-1;;;;;16122:10:0;16134:24;16122:10;16135:15;:6;16146:3;16135:10;:15::i;16098:61::-;15802:444;;;16192:42;16202:12;:10;:12::i;:::-;16216:9;16227:6;16192:9;:42::i;13272:28::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13272:28:0;;-1:-1:-1;13272:28:0;:::o;16665:201::-;-1:-1:-1;;;;;16831:18:0;;;16799:7;16831:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16665:201::o;25811:269::-;25424:5;;-1:-1:-1;;;;;25424:5:0;25410:10;:19;25402:49;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;;;;25888:9:::1;25908:165;25924:11;:18:::0;25920:22;::::1;25908:165;;;25986:12;-1:-1:-1::0;;;;;25968:30:0::1;:11;25980:1;25968:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;25968:14:0::1;:30;25964:98;;;26044:1;26019:11;26031:1;26019:14;;;;;;;;;;;;;;;;:27;;;;;-1:-1:-1::0;;;;;26019:27:0::1;;;;;-1:-1:-1::0;;;;;26019:27:0::1;;;;;;25964:98;25944:3;;25908:165;;;25462:1;25811:269:::0;:::o;25216:20::-;;;-1:-1:-1;;;;;25216:20:0;;:::o;25691:112::-;25424:5;;-1:-1:-1;;;;;25424:5:0;25410:10;:19;25402:49;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;-1:-1:-1;;;25402:49:0;;;;;;;;;;;;;;;25765:11:::1;:30:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;25765:30:0;;;;;::::1;::::0;;-1:-1:-1;;;;;;25765:30:0::1;-1:-1:-1::0;;;;;25765:30:0;;;::::1;::::0;;;::::1;::::0;;25691:112::o;6937:179::-;6995:7;7027:5;;;7051:6;;;;7043:46;;;;;-1:-1:-1;;;7043:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7107:1;6937:179;-1:-1:-1;;;6937:179:0:o;684:106::-;772:10;684:106;:::o;23429:380::-;-1:-1:-1;;;;;23565:19:0;;23557:68;;;;-1:-1:-1;;;23557:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23644:21:0;;23636:68;;;;-1:-1:-1;;;23636:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23717:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;23769:32;;;;;;;;;;;;;;;;;23429:380;;;:::o;8514:153::-;8572:7;8604:1;8600;:5;8592:44;;;;;-1:-1:-1;;;8592:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8658:1;8654;:5;;;;;;;8514:153;-1:-1:-1;;;8514:153:0:o;7816:220::-;7874:7;7898:6;7894:20;;-1:-1:-1;7913:1:0;7906:8;;7894:20;7937:5;;;7941:1;7937;:5;:1;7961:5;;;;;:10;7953:56;;;;-1:-1:-1;;;7953:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20933:610;-1:-1:-1;;;;;21073:20:0;;21065:70;;;;-1:-1:-1;;;21065:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21154:23:0;;21146:71;;;;-1:-1:-1;;;21146:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21230:47;21251:6;21259:9;21270:6;21230:20;:47::i;:::-;21310:108;21346:6;21310:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21310:17:0;;:9;:17;;;;;;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;21290:17:0;;;:9;:17;;;;;;;;;;;:128;;;;21452:20;;;;;;;:32;;21477:6;21452:24;:32::i;:::-;-1:-1:-1;;;;;21429:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21500:35;;;;;;;21429:20;;21500:35;;;;;;;;;;;;;20933:610;;;:::o;22536:455::-;-1:-1:-1;;;;;22620:21:0;;22612:67;;;;-1:-1:-1;;;22612:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22692:49;22713:7;22730:1;22734:6;22692:20;:49::i;:::-;22775:105;22812:6;22775:105;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22775:18:0;;:9;:18;;;;;;;;;;;;:105;:22;:105::i;:::-;-1:-1:-1;;;;;22754:18:0;;:9;:18;;;;;;;;;;:126;22906:12;;:24;;22923:6;22906:16;:24::i;:::-;22891:12;:39;22946:37;;;;;;;;22972:1;;-1:-1:-1;;;;;22946:37:0;;;;;;;;;;;;22536:455;;:::o;9764:200::-;9884:7;9920:12;9912:6;;;;9904:29;;;;-1:-1:-1;;;9904:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9951:5:0;;;9764:200::o;24842:125::-;;;;:::o;7399:158::-;7457:7;7490:1;7485;:6;;7477:49;;;;;-1:-1:-1;;;7477:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7544:5:0;;;7399:158::o

Swarm Source

ipfs://39347f5659861e183a48f7b7ad8f3edaf12a9d55ec63e480fde4ea6e1ac4a77b
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.