Contract 0xfa262f303aa244f9cc66f312f0755d89c3793192 4

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3fd89f5d282ee0cfaf7f3f637271f1a6d3287daed0307949c71d4266d43cecb2Approve111401162021-09-22 15:41:359 hrs 3 mins ago0xbd97bc8d668a01c529c9e7c08d9bad877c0ff1f2 IN  Rigel Protocol: RGP Token0 BNB0.00014569
0x02624841f9cfa37fccd29f3ef904d0b96ddbe4c52447e95db8bcabdd96211ef9Approve111300692021-09-22 7:17:5217 hrs 27 mins ago0x5d52cf8d8b4e802b91cee2d20dc0940f996baf04 IN  Rigel Protocol: RGP Token0 BNB0.00014563
0x3016e48cbb0e041aa25a9205b8fa8c09523d68a26dc36ef6a7b97a9c985fe94bApprove111208772021-09-21 23:33:551 day 1 hr ago0x39b4d292a1555d79b96d654c58ce658cd8d5524b IN  Rigel Protocol: RGP Token0 BNB0.00022207
0x373dadb518f23af007ffc76f24d27839d5d88d5216938244d9fdae693569a278Approve111198072021-09-21 22:39:551 day 2 hrs ago0xbd97bc8d668a01c529c9e7c08d9bad877c0ff1f2 IN  Rigel Protocol: RGP Token0 BNB0.00014569
0x66bb7a1746a482c168f5b67dc7208431e997a1db49878fbe882472ed6ac67c63Approve111153392021-09-21 18:51:551 day 5 hrs ago0xa817d876e69ead8b517d877a31756ef4d2d573c9 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0x13bb369fb01a4964b30b189aebbb610df1ca94163d94628a82389b464d2532ceApprove111125432021-09-21 16:30:431 day 8 hrs ago0x89ae7336acab6ced44bee7d0c83772199696f585 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0x55eedd4b5950f86a8b10c090abc95c56e63ee1647ea3e7e79d3f8a8a09b905f0Approve111077962021-09-21 12:33:161 day 12 hrs ago0x46d9e92d125a65144a9cc99c7f09eee61229ea11 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0x121f300cd6d7eb08b8b99cc9757f3e40e2ada50bcc2d4504c723fbfb3ac04aefApprove111022162021-09-21 7:54:081 day 16 hrs ago0x58b6c5d76d8e5b5e3c2106e9848883e3308e5fe6 IN  Rigel Protocol: RGP Token0 BNB0.00012469
0x34803507751a5660f1b3feaf65aba70f60121a80ab2da945dc62b05d4b82e919Approve110873192021-09-20 19:26:392 days 5 hrs ago0x8f1c71656b32899e3ada005b03cf405ab6ac11e2 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0xc20c9891712cd40e06708e85882aef2ebaad1464379ce9b0030e7d37b13bdfc6Approve110842402021-09-20 16:52:402 days 7 hrs ago0xc55757963e8cb19f0c41d0cb3a08e654e187fead IN  Rigel Protocol: RGP Token0 BNB0.00022207
0xdb81ade554ee4191cee37489cc135cc171b72b92ed5a011f68da4a41c5c659d2Approve110792352021-09-20 12:40:472 days 12 hrs ago0x610daa6eb210f8b7ac01ac00c043654dfea38871 IN  Rigel Protocol: RGP Token0 BNB0.000072575
0x43941e659d2d17103d6b674caa1420e66f9fc2e5b183a7cfe0834a8ae1c0db10Approve110792082021-09-20 12:39:262 days 12 hrs ago0x610daa6eb210f8b7ac01ac00c043654dfea38871 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0x8ff669f08abf74b462e1e6b63f8f1ddfacab77b2c0c51a4a22486d8002793043Approve110746432021-09-20 8:50:282 days 15 hrs ago0x58b6c5d76d8e5b5e3c2106e9848883e3308e5fe6 IN  Rigel Protocol: RGP Token0 BNB0.00014569
0xb3008453ad5b8c42fdad924a46aaa721edd11bfb4933118b374487209360f5a2Approve110743932021-09-20 8:37:582 days 16 hrs ago0x58b6c5d76d8e5b5e3c2106e9848883e3308e5fe6 IN  Rigel Protocol: RGP Token0 BNB0.00022069
0x7cd89361202ede8d97beae7cc06e30180ecf50c1802887a5258d25f50b130535Approve110742422021-09-20 8:30:252 days 16 hrs ago0x58b6c5d76d8e5b5e3c2106e9848883e3308e5fe6 IN  Rigel Protocol: RGP Token0 BNB0.00088444
0x2b8b1353958525e803b91f6276370918ef37fee44775e4cd23a31d8e70c65384Transfer110699362021-09-20 4:55:032 days 19 hrs ago0x16e658f644b90169c8251693661a0ed5026debd2 IN  Rigel Protocol: RGP Token0 BNB0.0002609568
0x0e47b73eb1b0a5a5238f111eae24de3b2f377b72079b584a16a843aa33098342Approve110689762021-09-20 4:07:032 days 20 hrs ago0x6dc7e8ae669c13757d072ba5506c154f58e570c7 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0xd32a45f8ed59857c519721c5d7a18577fc1f53fc67f8443b1bd665ba43b771d6Transfer110557882021-09-19 17:07:323 days 7 hrs ago0x896a9ff665754e3a3d84873fdd72741b03134ce8 IN  Rigel Protocol: RGP Token0 BNB0.00025596
0x3adf5ae3eacbd80cb890efff95d29583e0eb581fbde8eb189e0017d17e49a1d7Approve110542382021-09-19 15:50:023 days 8 hrs ago0x60bbee2a8ab534a4b367d9a0172f672a219cb1bd IN  Rigel Protocol: RGP Token0 BNB0.00022057
0x92f9e41e0e9c1d8665736f652af67201cd8302d1db35cae641fec3cabb1af18fApprove110520392021-09-19 14:00:033 days 10 hrs ago0xbd97bc8d668a01c529c9e7c08d9bad877c0ff1f2 IN  Rigel Protocol: RGP Token0 BNB0.00014569
0x764a8c9723b5ac41617b44f585d63fe3d5c18d17cbd93b476c6331acbe34c031Approve110511632021-09-19 13:16:153 days 11 hrs ago0x6c4e5ce0ff38415125e725f7f1c8c8a16fe569e7 IN  Rigel Protocol: RGP Token0 BNB0.00014587
0x895a67a041f7eb889abae8c48ccd85f1be1d001a151c08f188e4b39afd818859Approve110483612021-09-19 10:53:333 days 13 hrs ago0xcb68c3f9d7f109f2e2baa967bd9f917f69cf6be5 IN  Rigel Protocol: RGP Token0 BNB0.00022207
0xb0b56cf617878214c429d63a90137f17815e52058b8b54ef9702399a6524ca11Approve110475162021-09-19 10:01:223 days 14 hrs ago0xa83baee6ce4f7461fd6242c1a6f3a20763b3f242 IN  Rigel Protocol: RGP Token0 BNB0.000310898
0x7137f2ffbf45d5bc3c527c8894c9f5787e6d74ef881fc58e23e224c5141512ccApprove110329712021-09-18 21:52:014 days 2 hrs ago0x2dbbfa7988a9ff1795531474f81620c47885835f IN  Rigel Protocol: RGP Token0 BNB0.000072575
0x5cbdf3aa2204590ce12ab78e9e92755575c7b048dfa68d6454fa268657b521c6Approve110317122021-09-18 20:49:044 days 3 hrs ago0x5da9d3adcdf0375e9f28cff0e8c943da3937bcba IN  Rigel Protocol: RGP Token0 BNB0.00022207
[ Download CSV Export 

OVERVIEW

Rigel Protocol is a decentralized protocol of a number of DEFI products. Those products includes cross-chain, swapping, yield-farming, margin trading and more.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x38678267e9cc84d7cdf442d80beebba4b9e9fc210df9646b1ccbded2499458ce54711912021-03-07 11:52:30199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x38678267e9cc84d7cdf442d80beebba4b9e9fc210df9646b1ccbded2499458ce54711912021-03-07 11:52:30199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x9524eef8d821f6d77c12049974d67525da1f93d9d4d7ba3dfadea7c90d59b7a154711672021-03-07 11:51:18199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x9524eef8d821f6d77c12049974d67525da1f93d9d4d7ba3dfadea7c90d59b7a154711672021-03-07 11:51:18199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x3bf2dc7536c8b02624cb4c1124f9eaccfc53ccd8a70ea10c9adac6e1e36635ed54711502021-03-07 11:50:27199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x3bf2dc7536c8b02624cb4c1124f9eaccfc53ccd8a70ea10c9adac6e1e36635ed54711502021-03-07 11:50:27199 days 12 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0x59cc4218ad82fa27333fc4cdb9f2cabc643c12154c2d140768ecf46c829f5c3c54711332021-03-07 11:49:36199 days 12 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x59cc4218ad82fa27333fc4cdb9f2cabc643c12154c2d140768ecf46c829f5c3c54711332021-03-07 11:49:36199 days 12 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0xc2839d5907c09507ee8f8946ed6e65a0146e311917b94578dcaa160c3ce3d6af54708432021-03-07 11:35:06199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0xc2839d5907c09507ee8f8946ed6e65a0146e311917b94578dcaa160c3ce3d6af54708432021-03-07 11:35:06199 days 13 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0xc81a35231e02e298fe7d1f2c5fe88b2b23deba6726d73ba03c6ea83a9ac221e254708292021-03-07 11:34:24199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0xc81a35231e02e298fe7d1f2c5fe88b2b23deba6726d73ba03c6ea83a9ac221e254708292021-03-07 11:34:24199 days 13 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0xb4395cb1f13da6316a5dc7d72f79a0ce580e798fe3cb4e8ebad133e16019bddc54707762021-03-07 11:31:45199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0xb4395cb1f13da6316a5dc7d72f79a0ce580e798fe3cb4e8ebad133e16019bddc54707762021-03-07 11:31:45199 days 13 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0x98f7fe958ea672016d8a81aa06527679243b76553e2f0ddbe7a84ee028d88d9d54707652021-03-07 11:31:12199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x98f7fe958ea672016d8a81aa06527679243b76553e2f0ddbe7a84ee028d88d9d54707652021-03-07 11:31:12199 days 13 hrs ago PancakeSwap: Router Rigel Protocol: RGP Token0 BNB
0xbd5b24b268b7df37a2b8b0424313ed3331e550a62345f59ad9d6aad3dd975dad54707472021-03-07 11:30:18199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0xbd5b24b268b7df37a2b8b0424313ed3331e550a62345f59ad9d6aad3dd975dad54707472021-03-07 11:30:18199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x1b4d3244fb4b09453923b1759072a72a997e66d78892aa3e2064c2b3f4c6c5c354707432021-03-07 11:30:06199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x1b4d3244fb4b09453923b1759072a72a997e66d78892aa3e2064c2b3f4c6c5c354707432021-03-07 11:30:06199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x20c265cd943495f759842c713a432d20fa752aba846194f0d5ec5df1ece6742a54707372021-03-07 11:29:48199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x20c265cd943495f759842c713a432d20fa752aba846194f0d5ec5df1ece6742a54707372021-03-07 11:29:48199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x0558f9b290a702417d80ff7921e4971e4e1309f820b2076a8c9d9c182205eb1754707252021-03-07 11:29:12199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x0558f9b290a702417d80ff7921e4971e4e1309f820b2076a8c9d9c182205eb1754707252021-03-07 11:29:12199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
0x139144f0908895561c9a40159e18b757066d68307ce01c9135e14c23dfe98c1654705172021-03-07 11:18:48199 days 13 hrs ago PancakeSwap: BUSD-RGP Rigel Protocol: RGP Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RigelToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 * 
 _______  __                   __      _______                      __                                __ 
|       \|  \                 |  \    |       \                    |  \                              |  \
| ▓▓▓▓▓▓▓\\▓▓ ______   ______ | ▓▓    | ▓▓▓▓▓▓▓\ ______   ______  _| ▓▓_    ______   _______  ______ | ▓▓
| ▓▓__| ▓▓  \/      \ /      \| ▓▓    | ▓▓__/ ▓▓/      \ /      \|   ▓▓ \  /      \ /       \/      \| ▓▓
| ▓▓    ▓▓ ▓▓  ▓▓▓▓▓▓\  ▓▓▓▓▓▓\ ▓▓    | ▓▓    ▓▓  ▓▓▓▓▓▓\  ▓▓▓▓▓▓\\▓▓▓▓▓▓ |  ▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓
| ▓▓▓▓▓▓▓\ ▓▓ ▓▓  | ▓▓ ▓▓    ▓▓ ▓▓    | ▓▓▓▓▓▓▓| ▓▓   \▓▓ ▓▓  | ▓▓ | ▓▓ __| ▓▓  | ▓▓ ▓▓     | ▓▓  | ▓▓ ▓▓
| ▓▓  | ▓▓ ▓▓ ▓▓__| ▓▓ ▓▓▓▓▓▓▓▓ ▓▓    | ▓▓     | ▓▓     | ▓▓__/ ▓▓ | ▓▓|  \ ▓▓__/ ▓▓ ▓▓_____| ▓▓__/ ▓▓ ▓▓
| ▓▓  | ▓▓ ▓▓\▓▓    ▓▓\▓▓     \ ▓▓    | ▓▓     | ▓▓      \▓▓    ▓▓  \▓▓  ▓▓\▓▓    ▓▓\▓▓     \\▓▓    ▓▓ ▓▓
 \▓▓   \▓▓\▓▓_\▓▓▓▓▓▓▓ \▓▓▓▓▓▓▓\▓▓     \▓▓      \▓▓       \▓▓▓▓▓▓    \▓▓▓▓  \▓▓▓▓▓▓  \▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓
            |  \__| ▓▓                                                                                   
             \▓▓    ▓▓                                                                                   
              \▓▓▓▓▓▓                                                                                    

*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

// File: @openzeppelin/contracts/token/BEP20/IBEP20.sol

/**
 * @dev Interface of the BEP20 standard as defined in the EIP.
 */
interface IBEP20 {
    /**
     * @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: @openzeppelin/contracts/math/SafeMath.sol

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: @openzeppelin/contracts/GSN/Context.sol

/*
 * @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: contracts/RigelToken.sol

/**
 * @dev Implementation of the Owned Contract.
 *
 */
contract Owned is Context {

    address public _owner;
    address public _newOwner;

    event OwnershipTransferred(address indexed _from, address indexed _to);

    modifier onlyOwner {
        require(_msgSender() == _owner, "RigelToken: Only Owner can perform this task");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        _newOwner = newOwner;
    }

    function acceptOwnership() public {
        require(_msgSender() == _newOwner, "RigelToken: Token Contract Ownership has not been set for the address");
        emit OwnershipTransferred(_owner, _newOwner);
        _owner = _newOwner;
        _newOwner = address(0);
    }
}

/**
 * @dev Implementation of the {IBEP20} interface.
 *
 */
contract RigelToken is IBEP20, Owned {

    using SafeMath for uint256;
    
    mapping (address => uint256) private _balances; // Total balance per address (locked + unlocked)

    mapping (address => uint256) private _unlockedTokens; // Unlocked Tokens, available for transfer

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

    struct LockRecord {
        uint256 lockingPeriod;
        uint256 tokens;
        bool isUnlocked;
    }

    mapping(address => LockRecord[]) private records; // Record of Locking periods and tokens per address

    uint256 private _totalSupply;

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

    constructor( address owner ) public {
        _name = "RigelToken";
        _symbol = "RGP";
        _decimals = 18;
        _totalSupply = 20000000 * (10 ** 18);
        _owner = owner;
        _balances[_owner] = _totalSupply;
        _unlockedTokens[_owner] = _totalSupply;
        emit Transfer(address(0), _owner, _totalSupply );
    }

    /**
     * @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`).
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

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

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

    /**
     * @dev See {IBEP20-balanceOf}.
     */
    function unLockedBalanceOf(address account) public view returns (uint256) {
        return _unlockedTokens[account];
    }

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

        _transfer(_msgSender(),recipient,amount);
        return true;
    }

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

    /**
     * @dev See {IBEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        
        require(spender != address(0), "RigelToken: approve to the zero address");

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

        return true;
    }

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

        _transfer(sender,recipient,amount);

        require(amount <= _allowances[sender][_msgSender()],"RigelToken: Check for approved token count failed");
        
        _allowances[sender][_msgSender()] = _allowances[sender][_msgSender()].sub(amount);

        emit Approval(sender, _msgSender(), _allowances[sender][_msgSender()]);

        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) private {
        
        require(recipient != address(0),"RigelToken: Cannot have recipient as zero address");
        require(sender != address(0),"RigelToken: Cannot have sender as zero address");
        require(_balances[sender] >= amount,"RigelToken: Insufficient Balance" );
        require(_balances[recipient] + amount >= _balances[recipient],"RigelToken: Balance check failed");
        
        // update the unlocked tokens based on time if required
        _updateUnLockedTokens(sender, amount);
        _unlockedTokens[sender] = _unlockedTokens[sender].sub(amount);
        _unlockedTokens[recipient] = _unlockedTokens[recipient].add(amount);

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);
        
        emit Transfer(sender,recipient,amount);
    }

    function _transferLock(address sender, address recipient, uint256 amount) private {
        
        require(recipient != address(0),"RigelToken: Cannot have recipient as zero address");
        require(sender != address(0),"RigelToken: Cannot have sender as zero address");
        require(_balances[sender] >= amount,"RigelToken: Insufficient Balance" );
        require(_balances[recipient] + amount >= _balances[recipient],"RigelToken: Balance check failed");

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);

        _unlockedTokens[sender] = _unlockedTokens[sender].sub(amount);

        emit Transfer(sender,recipient,amount);
    }
    
     /**
     * @dev Destroys `amount` tokens from the `account`.
     *
     * See {BEP20-_burn}.
     */
     
    function burn(address account, uint256 amount) public onlyOwner {

        require(account != address(0), "RigelToken: burn from the zero address");

        if( _balances[account] == _unlockedTokens[account]){
            _unlockedTokens[account] = _unlockedTokens[account].sub(amount, "RigelToken: burn amount exceeds balance");
        }

        _balances[account] = _balances[account].sub(amount, "RigelToken: burn amount exceeds balance");

        _totalSupply = _totalSupply.sub(amount);

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

        if(account != _msgSender()){
            
            require(amount <= _allowances[account][_msgSender()],"RigelToken: Check for approved token count failed");

            _allowances[account][_msgSender()] = _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance");
            emit Approval(account, _msgSender(), _allowances[account][_msgSender()]);
        }
    }

    // ------------------------------------------------------------------------
    // Transfer the balance from token owner's _msgSender() to `to` _msgSender()
    // - Owner's _msgSender() must have sufficient balance to transfer
    // - 0 value transfers are allowed
    // - takes in locking Period to lock the tokens to be used
    // - if want to transfer without locking enter 0 in lockingPeriod argument 
    // ------------------------------------------------------------------------
    function distributeTokens(address to, uint tokens, uint256 lockingPeriod) onlyOwner public returns (bool success) {
        // if there is no lockingPeriod, add tokens to _unlockedTokens per address
        if(lockingPeriod == 0)
            _transfer(_msgSender(),to, tokens);
        // if there is a lockingPeriod, add tokens to record mapping
        else
            _transferLock(_msgSender(),to, tokens);
            _addRecord(to, tokens, lockingPeriod);
        return true;
    }
        
    // ------------------------------------------------------------------------
    // Adds record of addresses with locking period and tokens to lock
    // ------------------------------------------------------------------------
    function _addRecord(address to, uint tokens, uint256 lockingPeriod) private {
        records[to].push(LockRecord(lockingPeriod,tokens, false));
    }
        
    // ------------------------------------------------------------------------
    // Checks if there is required amount of unLockedTokens available
    // ------------------------------------------------------------------------
    function _updateUnLockedTokens(address _from, uint tokens) private returns (bool success) {
        // if _unlockedTokens are greater than "tokens" of "to", initiate transfer
        if(_unlockedTokens[_from] >= tokens){
            return true;
        }
        // if _unlockedTokens are less than "tokens" of "to", update _unlockedTokens by checking record with "now" time
        else{
            _updateRecord(_from);
            // check if _unlockedTokens are greater than "token" of "to", initiate transfer
            if(_unlockedTokens[_from] >= tokens){
                return true;
            }
            // otherwise revert
            else{
                revert("RigelToken: Insufficient unlocked tokens");
            }
        }
    }
        
    // ------------------------------------------------------------------------
    // Unlocks the coins if lockingPeriod is expired
    // ------------------------------------------------------------------------
     function _updateRecord(address account) private returns (bool success){
        LockRecord[] memory tempRecords = records[account];
        uint256 unlockedTokenCount = 0;
        for(uint256 i=0; i < tempRecords.length; i++){
            if(tempRecords[i].lockingPeriod < now && tempRecords[i].isUnlocked == false){
                unlockedTokenCount = unlockedTokenCount.add(tempRecords[i].tokens);
                tempRecords[i].isUnlocked = true;
                records[account][i] = LockRecord(tempRecords[i].lockingPeriod, tempRecords[i].tokens, tempRecords[i].isUnlocked);
            }
        }
        _unlockedTokens[account] = _unlockedTokens[account].add(unlockedTokenCount);
        return true;
    }        
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"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"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_newOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"uint256","name":"lockingPeriod","type":"uint256"}],"name":"distributeTokens","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unLockedBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001a4b38038062001a4b833981810160405260208110156200003757600080fd5b505160408051808201909152600a808252692934b3b2b62a37b5b2b760b11b60209092019182526200006c916007916200013b565b506040805180820190915260038082526205247560ec1b602090920191825262000099916008916200013b565b506009805460ff191660121790556a108b2a2c280290940000006006819055600080546001600160a01b038085166001600160a01b03199092169190911780835581168252600260209081526040808420859055835483168452600382528084208590558354815195865290519216937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350620001d7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017e57805160ff1916838001178555620001ae565b82800160010185558215620001ae579182015b82811115620001ae57825182559160200191906001019062000191565b50620001bc929150620001c0565b5090565b5b80821115620001bc5760008155600101620001c1565b61186480620001e76000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806395d89b4111610097578063b74908fe11610066578063b74908fe1461030a578063cc254bdd14610312578063dd62ed3e14610344578063f2fde38b1461037257610100565b806395d89b41146102865780639dc29fac1461028e578063a9059cbb146102ba578063b2bdfa7b146102e657610100565b806324a14c24116100d357806324a14c2414610212578063313ce5671461023857806370a082311461025657806379ba50971461027c57610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d610398565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b03813516906020013561042e565b604080519115158252519081900360200190f35b6101ca610504565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b0381358116916020810135909116906040013561050a565b6101ca6004803603602081101561022857600080fd5b50356001600160a01b03166106ac565b6102406106c7565b6040805160ff9092168252519081900360200190f35b6101ca6004803603602081101561026c57600080fd5b50356001600160a01b03166106d0565b6102846106eb565b005b61010d6107a8565b610284600480360360408110156102a457600080fd5b506001600160a01b038135169060200135610809565b6101ae600480360360408110156102d057600080fd5b506001600160a01b038135169060200135610b98565b6102ee610bb5565b604080516001600160a01b039092168252519081900360200190f35b6102ee610bc4565b6101ae6004803603606081101561032857600080fd5b506001600160a01b038135169060208101359060400135610bd3565b6101ca6004803603604081101561035a57600080fd5b506001600160a01b0381358116916020013516610c70565b6102846004803603602081101561038857600080fd5b50356001600160a01b0316610c9b565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104245780601f106103f957610100808354040283529160200191610424565b820191906000526020600020905b81548152906001019060200180831161040757829003601f168201915b5050505050905090565b60006001600160a01b0383166104755760405162461bcd60e51b815260040180806020018281038252602781526020018061171f6027913960400191505060405180910390fd5b8160046000610482610d16565b6001600160a01b03908116825260208083019390935260409182016000908120918816808252919093529120919091556104ba610d16565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a35060015b92915050565b60065490565b6000610517848484610d1a565b6001600160a01b038416600090815260046020526040812090610538610d16565b6001600160a01b03166001600160a01b03168152602001908152602001600020548211156105975760405162461bcd60e51b815260040180806020018281038252603181526020018061176e6031913960400191505060405180910390fd5b6001600160a01b03841660009081526004602052604081206105de918491906105be610d16565b6001600160a01b0316815260208101919091526040016000205490610f9e565b6001600160a01b0385166000908152600460205260408120906105ff610d16565b6001600160a01b03168152602081019190915260400160002055610621610d16565b6001600160a01b038581166000818152600460205260408120939092169290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925919061066c610d16565b6001600160a01b03166001600160a01b03168152602001908152602001600020546040518082815260200191505060405180910390a35060019392505050565b6001600160a01b031660009081526003602052604090205490565b60095460ff1690565b6001600160a01b031660009081526002602052604090205490565b6001546001600160a01b03166106ff610d16565b6001600160a01b0316146107445760405162461bcd60e51b81526004018080602001828103825260458152602001806117ea6045913960600191505060405180910390fd5b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104245780601f106103f957610100808354040283529160200191610424565b6000546001600160a01b031661081d610d16565b6001600160a01b0316146108625760405162461bcd60e51b815260040180806020018281038252602c81526020018061169c602c913960400191505060405180910390fd5b6001600160a01b0382166108a75760405162461bcd60e51b81526004018080602001828103825260268152602001806116f96026913960400191505060405180910390fd5b6001600160a01b03821660009081526003602090815260408083205460029092529091205414156109295761090f8160405180606001604052806027815260200161179f602791396001600160a01b0385166000908152600360205260409020549190610fe7565b6001600160a01b0383166000908152600360205260409020555b6109668160405180606001604052806027815260200161179f602791396001600160a01b0385166000908152600260205260409020549190610fe7565b6001600160a01b03831660009081526002602052604090205560065461098c9082610f9e565b6006556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a36109d8610d16565b6001600160a01b0316826001600160a01b031614610b94576001600160a01b038216600090815260046020526040812090610a11610d16565b6001600160a01b03166001600160a01b0316815260200190815260200160002054811115610a705760405162461bcd60e51b815260040180806020018281038252603181526020018061176e6031913960400191505060405180910390fd5b610acf816040518060600160405280602481526020016117c6602491396001600160a01b038516600090815260046020526040812090610aae610d16565b6001600160a01b031681526020810191909152604001600020549190610fe7565b6001600160a01b038316600090815260046020526040812090610af0610d16565b6001600160a01b03168152602081019190915260400160002055610b12610d16565b6001600160a01b038381166000818152600460205260408120939092169290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190610b5d610d16565b6001600160a01b03166001600160a01b03168152602001908152602001600020546040518082815260200191505060405180910390a35b5050565b6000610bac610ba5610d16565b8484610d1a565b50600192915050565b6000546001600160a01b031681565b6001546001600160a01b031681565b600080546001600160a01b0316610be8610d16565b6001600160a01b031614610c2d5760405162461bcd60e51b815260040180806020018281038252602c81526020018061169c602c913960400191505060405180910390fd5b81610c4957610c44610c3d610d16565b8585610d1a565b610c5b565b610c5b610c54610d16565b858561107e565b610c668484846112ca565b5060019392505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000546001600160a01b0316610caf610d16565b6001600160a01b031614610cf45760405162461bcd60e51b815260040180806020018281038252602c81526020018061169c602c913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b038216610d5f5760405162461bcd60e51b81526004018080602001828103825260318152602001806116c86031913960400191505060405180910390fd5b6001600160a01b038316610da45760405162461bcd60e51b815260040180806020018281038252602e81526020018061166e602e913960400191505060405180910390fd5b6001600160a01b038316600090815260026020526040902054811115610e11576040805162461bcd60e51b815260206004820181905260248201527f526967656c546f6b656e3a20496e73756666696369656e742042616c616e6365604482015290519081900360640190fd5b6001600160a01b0382166000908152600260205260409020548181011015610e80576040805162461bcd60e51b815260206004820181905260248201527f526967656c546f6b656e3a2042616c616e636520636865636b206661696c6564604482015290519081900360640190fd5b610e8a838261133c565b506001600160a01b038316600090815260036020526040902054610eae9082610f9e565b6001600160a01b038085166000908152600360205260408082209390935590841681522054610edd90826113cb565b6001600160a01b03808416600090815260036020908152604080832094909455918616815260029091522054610f139082610f9e565b6001600160a01b038085166000908152600260205260408082209390935590841681522054610f4290826113cb565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000610fe083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fe7565b9392505050565b600081848411156110765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561103b578181015183820152602001611023565b50505050905090810190601f1680156110685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166110c35760405162461bcd60e51b81526004018080602001828103825260318152602001806116c86031913960400191505060405180910390fd5b6001600160a01b0383166111085760405162461bcd60e51b815260040180806020018281038252602e81526020018061166e602e913960400191505060405180910390fd5b6001600160a01b038316600090815260026020526040902054811115611175576040805162461bcd60e51b815260206004820181905260248201527f526967656c546f6b656e3a20496e73756666696369656e742042616c616e6365604482015290519081900360640190fd5b6001600160a01b03821660009081526002602052604090205481810110156111e4576040805162461bcd60e51b815260206004820181905260248201527f526967656c546f6b656e3a2042616c616e636520636865636b206661696c6564604482015290519081900360640190fd5b6001600160a01b0383166000908152600260205260409020546112079082610f9e565b6001600160a01b03808516600090815260026020526040808220939093559084168152205461123690826113cb565b6001600160a01b0380841660009081526002602090815260408083209490945591861681526003909152205461126c9082610f9e565b6001600160a01b0380851660008181526003602090815260409182902094909455805185815290519286169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6001600160a01b039290921660009081526005602090815260408083208151606081018352958652858301948552908501838152815460018082018455928552929093209451600390920290940190815591519282019290925590516002909101805460ff1916911515919091179055565b6001600160a01b0382166000908152600360205260408120548211611363575060016104fe565b61136c83611425565b506001600160a01b0383166000908152600360205260409020548211611394575060016104fe565b60405162461bcd60e51b81526004018080602001828103825260288152602001806117466028913960400191505060405180910390fd5b600082820183811015610fe0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526005602090815260408083208054825181850281018501909352808352606093859084015b828210156114aa5760008481526020908190206040805160608101825260038602909201805483526001808201548486015260029091015460ff161515918301919091529083529092019101611459565b5050505090506000805b825181101561162557428382815181106114ca57fe5b6020026020010151600001511080156114fb57508281815181106114ea57fe5b602090810291909101015160400151155b1561161d5761152a83828151811061150f57fe5b602002602001015160200151836113cb90919063ffffffff16565b9150600183828151811061153a57fe5b60200260200101516040019015159081151581525050604051806060016040528084838151811061156757fe5b602002602001015160000151815260200184838151811061158457fe5b60200260200101516020015181526020018483815181106115a157fe5b602002602001015160400151151581525060056000876001600160a01b03166001600160a01b0316815260200190815260200160002082815481106115e257fe5b60009182526020918290208351600392909202019081559082015160018201556040909101516002909101805460ff19169115159190911790555b6001016114b4565b506001600160a01b03841660009081526003602052604090205461164990826113cb565b6001600160a01b03851660009081526003602052604090205550600191505091905056fe526967656c546f6b656e3a2043616e6e6f7420686176652073656e646572206173207a65726f2061646472657373526967656c546f6b656e3a204f6e6c79204f776e65722063616e20706572666f726d2074686973207461736b526967656c546f6b656e3a2043616e6e6f74206861766520726563697069656e74206173207a65726f2061646472657373526967656c546f6b656e3a206275726e2066726f6d20746865207a65726f2061646472657373526967656c546f6b656e3a20617070726f766520746f20746865207a65726f2061646472657373526967656c546f6b656e3a20496e73756666696369656e7420756e6c6f636b656420746f6b656e73526967656c546f6b656e3a20436865636b20666f7220617070726f76656420746f6b656e20636f756e74206661696c6564526967656c546f6b656e3a206275726e20616d6f756e7420657863656564732062616c616e636542455032303a206275726e20616d6f756e74206578636565647320616c6c6f77616e6365526967656c546f6b656e3a20546f6b656e20436f6e7472616374204f776e65727368697020686173206e6f74206265656e2073657420666f72207468652061646472657373a2646970667358221220397ce9149aec8a557c521c15843f3c8e3b950b48443359d65f2f25d33dc2afa164736f6c634300060c00330000000000000000000000004f86c4388ce9d7dbfaac5114e27f63903586841c

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

0000000000000000000000004f86c4388ce9d7dbfaac5114e27f63903586841c

-----Decoded View---------------
Arg [0] : owner (address): 0x4f86c4388ce9d7dbfaac5114e27f63903586841c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004f86c4388ce9d7dbfaac5114e27f63903586841c


Deployed ByteCode Sourcemap

11897:10500:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13038:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14924:318;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14924:318:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;13722:100;;;:::i;:::-;;;;;;;;;;;;;;;;15724:485;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15724:485:0;;;;;;;;;;;;;;;;;:::i;14067:124::-;;;;;;;;;;;;;;;;-1:-1:-1;14067:124:0;-1:-1:-1;;;;;14067:124:0;;:::i;13574:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13885:119;;;;;;;;;;;;;;;;-1:-1:-1;13885:119:0;-1:-1:-1;;;;;13885:119:0;;:::i;11548:277::-;;;:::i;:::-;;13240:87;;;:::i;18015:979::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18015:979:0;;;;;;;;:::i;14404:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14404:167:0;;;;;;;;:::i;11162:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;11162:21:0;;;;;;;;;;;;;;11190:24;;;:::i;19503:498::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19503:498:0;;;;;;;;;;;;;:::i;14634:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14634:143:0;;;;;;;;;;:::i;11439:101::-;;;;;;;;;;;;;;;;-1:-1:-1;11439:101:0;-1:-1:-1;;;;;11439:101:0;;:::i;13038:83::-;13108:5;13101:12;;;;;;;;-1:-1:-1;;13101:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13075:13;;13101:12;;13108:5;;13101:12;;13108:5;13101:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13038:83;:::o;14924:318::-;14999:4;-1:-1:-1;;;;;15034:21:0;;15026:73;;;;-1:-1:-1;;;15026:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15149:6;15112:11;:25;15124:12;:10;:12::i;:::-;-1:-1:-1;;;;;15112:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15112:25:0;;;:34;;;;;;;;;;;;:43;;;;15180:12;:10;:12::i;:::-;-1:-1:-1;;;;;15171:39:0;;15203:6;15171:39;;;;;;;;;;;;;;;;;;-1:-1:-1;15230:4:0;14924:318;;;;;:::o;13722:100::-;13802:12;;13722:100;:::o;15724:485::-;15822:4;15841:34;15851:6;15858:9;15868:6;15841:9;:34::i;:::-;-1:-1:-1;;;;;15906:19:0;;;;;;:11;:19;;;;;;15926:12;:10;:12::i;:::-;-1:-1:-1;;;;;15906:33:0;-1:-1:-1;;;;;15906:33:0;;;;;;;;;;;;;15896:6;:43;;15888:104;;;;-1:-1:-1;;;15888:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16049:19:0;;;;;;:11;:19;;;;;:45;;16087:6;;16049:19;16069:12;:10;:12::i;:::-;-1:-1:-1;;;;;16049:33:0;;;;;;;;;;;;-1:-1:-1;16049:33:0;;;:37;:45::i;:::-;-1:-1:-1;;;;;16013:19:0;;;;;;:11;:19;;;;;;16033:12;:10;:12::i;:::-;-1:-1:-1;;;;;16013:33:0;;;;;;;;;;;;-1:-1:-1;16013:33:0;:81;16129:12;:10;:12::i;:::-;-1:-1:-1;;;;;16112:65:0;;;16143:19;;;;:11;:19;;;;;16112:65;;;;;;;;;16143:19;16163:12;:10;:12::i;:::-;-1:-1:-1;;;;;16143:33:0;-1:-1:-1;;;;;16143:33:0;;;;;;;;;;;;;16112:65;;;;;;;;;;;;;;;;;;-1:-1:-1;16197:4:0;15724:485;;;;;:::o;14067:124::-;-1:-1:-1;;;;;14159:24:0;14132:7;14159:24;;;:15;:24;;;;;;;14067:124::o;13574:83::-;13640:9;;;;13574:83;:::o;13885:119::-;-1:-1:-1;;;;;13978:18:0;13951:7;13978:18;;;:9;:18;;;;;;;13885:119::o;11548:277::-;11617:9;;-1:-1:-1;;;;;11617:9:0;11601:12;:10;:12::i;:::-;-1:-1:-1;;;;;11601:25:0;;11593:107;;;;-1:-1:-1;;;11593:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11745:9;;;11737:6;;11716:39;;-1:-1:-1;;;;;11745:9:0;;;;11737:6;;;;11716:39;;;11775:9;;;;11766:18;;-1:-1:-1;;;;;;11766:18:0;;;-1:-1:-1;;;;;11775:9:0;;11766:18;;;;11795:22;;;11548:277::o;13240:87::-;13312:7;13305:14;;;;;;;;-1:-1:-1;;13305:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13279:13;;13305:14;;13312:7;;13305:14;;13312:7;13305:14;;;;;;;;;;;;;;;;;;;;;;;;18015:979;11356:6;;-1:-1:-1;;;;;11356:6:0;11340:12;:10;:12::i;:::-;-1:-1:-1;;;;;11340:22:0;;11332:79;;;;-1:-1:-1;;;11332:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18100:21:0;::::1;18092:72;;;;-1:-1:-1::0;;;18092:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18203:24:0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;;;18181:9:::1;:18:::0;;;;;;;:46:::1;18177:184;;;18270:79;18299:6;18270:79;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18270:24:0;::::1;;::::0;;;:15:::1;:24;::::0;;;;;;:79;:28:::1;:79::i;:::-;-1:-1:-1::0;;;;;18243:24:0;::::1;;::::0;;;:15:::1;:24;::::0;;;;:106;18177:184:::1;18394:73;18417:6;18394:73;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18394:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;:73;:22:::1;:73::i;:::-;-1:-1:-1::0;;;;;18373:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:94;18495:12:::1;::::0;:24:::1;::::0;18512:6;18495:16:::1;:24::i;:::-;18480:12;:39:::0;18537:37:::1;::::0;;;;;;;18563:1:::1;::::0;-1:-1:-1;;;;;18537:37:0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;18601:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;18590:23:0::1;:7;-1:-1:-1::0;;;;;18590:23:0::1;;18587:400;;-1:-1:-1::0;;;;;18661:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;;18682:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;18661:34:0::1;-1:-1:-1::0;;;;;18661:34:0::1;;;;;;;;;;;;;18651:6;:44;;18643:105;;;;-1:-1:-1::0;;;18643:105:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18802:86;18841:6;18802:86;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;18802:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;;18823:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;18802:34:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18802:34:0;;;:86;:38:::1;:86::i;:::-;-1:-1:-1::0;;;;;18765:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;;18786:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;18765:34:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;18765:34:0;:123;18926:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;18908:67:0;;::::1;18940:20;::::0;;;:11:::1;:20;::::0;;;;18908:67;;;::::1;::::0;;;::::1;::::0;18940:20;18961:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;18940:34:0::1;-1:-1:-1::0;;;;;18940:34:0::1;;;;;;;;;;;;;18908:67;;;;;;;;;;;;;;;;;;18587:400;18015:979:::0;;:::o;14404:167::-;14482:4;14501:40;14511:12;:10;:12::i;:::-;14524:9;14534:6;14501:9;:40::i;:::-;-1:-1:-1;14559:4:0;14404:167;;;;:::o;11162:21::-;;;-1:-1:-1;;;;;11162:21:0;;:::o;11190:24::-;;;-1:-1:-1;;;;;11190:24:0;;:::o;19503:498::-;19603:12;11356:6;;-1:-1:-1;;;;;11356:6:0;11340:12;:10;:12::i;:::-;-1:-1:-1;;;;;11340:22:0;;11332:79;;;;-1:-1:-1;;;11332:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19715:18;19712:207:::1;;19748:34;19758:12;:10;:12::i;:::-;19771:2;19775:6;19748:9;:34::i;:::-;19712:207;;;19881:38;19895:12;:10;:12::i;:::-;19908:2;19912:6;19881:13;:38::i;:::-;19934:37;19945:2;19949:6;19957:13;19934:10;:37::i;:::-;-1:-1:-1::0;19989:4:0::1;19503:498:::0;;;;;:::o;14634:143::-;-1:-1:-1;;;;;14742:18:0;;;14715:7;14742:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14634:143::o;11439:101::-;11356:6;;-1:-1:-1;;;;;11356:6:0;11340:12;:10;:12::i;:::-;-1:-1:-1;;;;;11340:22:0;;11332:79;;;;-1:-1:-1;;;11332:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11512:9:::1;:20:::0;;-1:-1:-1;;;;;;11512:20:0::1;-1:-1:-1::0;;;;;11512:20:0;;;::::1;::::0;;;::::1;::::0;;11439:101::o;10675:106::-;10763:10;10675:106;:::o;16217:931::-;-1:-1:-1;;;;;16324:23:0;;16316:84;;;;-1:-1:-1;;;16316:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16419:20:0;;16411:78;;;;-1:-1:-1;;;16411:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16508:17:0;;;;;;:9;:17;;;;;;:27;-1:-1:-1;16508:27:0;16500:72;;;;;-1:-1:-1;;;16500:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16624:20:0;;;;;;:9;:20;;;;;;16591:29;;;:53;;16583:97;;;;;-1:-1:-1;;;16583:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16766:37;16788:6;16796;16766:21;:37::i;:::-;-1:-1:-1;;;;;;16840:23:0;;;;;;:15;:23;;;;;;:35;;16868:6;16840:27;:35::i;:::-;-1:-1:-1;;;;;16814:23:0;;;;;;;:15;:23;;;;;;:61;;;;16915:26;;;;;;;:38;;16946:6;16915:30;:38::i;:::-;-1:-1:-1;;;;;16886:26:0;;;;;;;:15;:26;;;;;;;;:67;;;;16986:17;;;;;:9;:17;;;;;:29;;17008:6;16986:21;:29::i;:::-;-1:-1:-1;;;;;16966:17:0;;;;;;;:9;:17;;;;;;:49;;;;17049:20;;;;;;;:32;;17074:6;17049:24;:32::i;:::-;-1:-1:-1;;;;;17026:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;17107:33;;;;;;;17026:20;;17107:33;;;;;;;;;;;;;16217:931;;;:::o;6084:136::-;6142:7;6169:43;6173:1;6176;6169:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;6162:50;6084:136;-1:-1:-1;;;6084:136:0:o;6523:192::-;6609:7;6645:12;6637:6;;;;6629:29;;;;-1:-1:-1;;;6629:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6681:5:0;;;6523:192::o;17156:728::-;-1:-1:-1;;;;;17267:23:0;;17259:84;;;;-1:-1:-1;;;17259:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17362:20:0;;17354:78;;;;-1:-1:-1;;;17354:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17451:17:0;;;;;;:9;:17;;;;;;:27;-1:-1:-1;17451:27:0;17443:72;;;;;-1:-1:-1;;;17443:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17567:20:0;;;;;;:9;:20;;;;;;17534:29;;;:53;;17526:97;;;;;-1:-1:-1;;;17526:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17656:17:0;;;;;;:9;:17;;;;;;:29;;17678:6;17656:21;:29::i;:::-;-1:-1:-1;;;;;17636:17:0;;;;;;;:9;:17;;;;;;:49;;;;17719:20;;;;;;;:32;;17744:6;17719:24;:32::i;:::-;-1:-1:-1;;;;;17696:20:0;;;;;;;:9;:20;;;;;;;;:55;;;;17790:23;;;;;:15;:23;;;;;:35;;17818:6;17790:27;:35::i;:::-;-1:-1:-1;;;;;17764:23:0;;;;;;;:15;:23;;;;;;;;;:61;;;;17843:33;;;;;;;;;;;17764:23;;17843:33;;;;;;;;;;;17156:728;;;:::o;20251:152::-;-1:-1:-1;;;;;20338:11:0;;;;;;;;:7;:11;;;;;;;;20355:39;;;;;;;;;;;;;;;;;;;;;;20338:57;;20355:39;20338:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20338:57:0;;;;;;;;;;20251:152::o;20652:773::-;-1:-1:-1;;;;;20840:22:0;;20728:12;20840:22;;;:15;:22;;;;;;:32;-1:-1:-1;20837:581:0;;-1:-1:-1;20895:4:0;20888:11;;20837:581;21061:20;21075:5;21061:13;:20::i;:::-;-1:-1:-1;;;;;;21192:22:0;;;;;;:15;:22;;;;;;:32;-1:-1:-1;21189:218:0;;-1:-1:-1;21251:4:0;21244:11;;21189:218;21341:50;;-1:-1:-1;;;21341:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5620:181;5678:7;5710:5;;;5734:6;;;;5726:46;;;;;-1:-1:-1;;;5726:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21658:728;-1:-1:-1;;;;;21773:16:0;;21715:12;21773:16;;;:7;:16;;;;;;;;21739:50;;;;;;;;;;;;;;;;;:31;;21715:12;;21739:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21800:26;21845:9;21841:430;21862:11;:18;21858:1;:22;21841:430;;;21935:3;21904:11;21916:1;21904:14;;;;;;;;;;;;;;:28;;;:34;:72;;;;;21942:11;21954:1;21942:14;;;;;;;;;;;;;;;;;;:25;;;:34;21904:72;21901:359;;;22017:45;22040:11;22052:1;22040:14;;;;;;;;;;;;;;:21;;;22017:18;:22;;:45;;;;:::i;:::-;21996:66;;22109:4;22081:11;22093:1;22081:14;;;;;;;;;;;;;;:25;;:32;;;;;;;;;;;22154:90;;;;;;;;22165:11;22177:1;22165:14;;;;;;;;;;;;;;:28;;;22154:90;;;;22195:11;22207:1;22195:14;;;;;;;;;;;;;;:21;;;22154:90;;;;22218:11;22230:1;22218:14;;;;;;;;;;;;;;:25;;;22154:90;;;;;22132:7;:16;22140:7;-1:-1:-1;;;;;22132:16:0;-1:-1:-1;;;;;22132:16:0;;;;;;;;;;;;22149:1;22132:19;;;;;;;;;;;;;;;;;:112;;:19;;;;;;:112;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22132:112:0;;;;;;;;;;21901:359;21882:3;;21841:430;;;-1:-1:-1;;;;;;22308:24:0;;;;;;:15;:24;;;;;;:48;;22337:18;22308:28;:48::i;:::-;-1:-1:-1;;;;;22281:24:0;;;;;;:15;:24;;;;;:75;-1:-1:-1;22374:4:0;;-1:-1:-1;;21658:728:0;;;:::o

Swarm Source

ipfs://397ce9149aec8a557c521c15843f3c8e3b950b48443359d65f2f25d33dc2afa1
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.