Contract 0xD4f6CE188631e0d8109055d56815a8f91C24E0C6 1

 
 
Txn Hash
Method
Block
From
To
Value
0x5702341d096c1f1ab7ff96e32c3946c537755ee441c4508a3a6fef7b05cd8a97Unstake And Clai...134648112021-10-22 2:26:56411 days 15 hrs ago0x69e0e2b3d523d3b247d798a49c3fa022a46dd6bd IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.00648932 57.09866458
0x9832fe7743916363ff2c9ff34150d3271dcbde61a5245efe286ce869b05d0d6eUnstake And Clai...133553862021-10-04 22:48:13428 days 18 hrs ago0xe88ac222b69325b4e0effb41d99c99f9ff0818d4 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.00955465 84.07010363
0x9d341510e79e6c4b51c243e08debb1a33f55a6ef0b91110d4657939bc5af8bd2Burn Remaining T...130753822021-08-22 13:22:54472 days 4 hrs ago0x5b3667ca5e6d64452bc6b191f2c6246b37e68243 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.00183031 38.57275514
0xcbead446fc61f27d6b6cd2bc288db731351d2e99bb96243c3b241be29881c253Stake127604692021-07-04 10:19:09521 days 7 hrs ago0x16b25401608f08e6bcf0b223a0f4152c38881461 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0025771710
0x837d4d8b26f76f44b567eb630022c930b4f0c2754aeaaa8bcbacbf5baebfa13dUnstake And Clai...126219722021-06-12 21:03:54542 days 20 hrs ago0x231d6dc4a458859c1929f4d2e671857be19517a7 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0010345110
0xec56533f17d03f854fe49e519fbc75ba9d909cee5d211fed3f120508a94149a9Unstake And Clai...123970272021-05-09 0:57:59577 days 16 hrs ago0x5a8e1ac0522037304814c9fe2f047c32e7d38132 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0111727108
0x984d9423d983cea543d31df1f61d17b80315de951cd97b77880b81d3b4c132efUnstake And Clai...123766052021-05-05 21:12:44580 days 20 hrs ago0x844ea97c78b9c3aea0a56d8534dd1b419259028f IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0066208664
0x165abb3af86a88076ad5d3fccff44d30d9ed9c91c51ca2bf5807d3e941182e27Unstake And Clai...123569042021-05-02 20:27:38583 days 21 hrs ago0x715137e40f5d088a34258dc5436b27ede9ca2cd6 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0032069831
0x6e2e01ba8da9a9278bcce540bc608cbe98c57d79c1b694c20fa2fe59361568d2Unstake And Clai...123210912021-04-27 7:48:08589 days 9 hrs ago0x14b7f05e750c5950e7776e67bca933fb81ee6f70 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0049425941
0x7321b93810d9a2fff37fa0421397dfb812cc7c290ffbadf08b41a8a724c54fb0Unstake And Clai...123103292021-04-25 15:45:30591 days 2 hrs ago0x9c87f9547b2245bdb781c5e7bdaf30c3bb8ad464 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0057932556
0xed1b9d8ebe7df5d45bb16cdc9f4f51cf366f21f7640299c83065d28b1a24a1a1Unstake And Clai...122929272021-04-22 23:14:34593 days 18 hrs ago0x4203981209b8648b890c8fae6e33f88cb14fda41 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0091036888
0x57b2eecf21a170ae2d759e338fdf5ea3be46fd13ceffb795e2a80387a6cbf3baUnstake And Clai...122855032021-04-21 19:44:00594 days 22 hrs ago0x2cc81ebafa8696f9c415b2c8df259a5d8b3e8366 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.01417278137
0x3928f3f8e7d574c4be40815fed49b84770334981c7e90fbc103a37d627308effUnstake And Clai...122845612021-04-21 16:15:22595 days 1 hr ago0xb2cea72b9ce27c86d4aa2e73a6d72a3f4b4956e1 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.01862118180
0xfd481821072f2a3c5fff3356b026621754cba11f5ee61feb739ecff948102b84Unstake And Clai...122772142021-04-20 13:12:23596 days 4 hrs ago0x7eb0f4d92f3039e2dd9dac890e44deafd3aa919e IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.02834557274
0xc19c6fc08eac8fc84b4df44558799e957f3796fa70a60747be3244709dadb6cdUnstake And Clai...122772082021-04-20 13:10:36596 days 4 hrs ago0x7eb0f4d92f3039e2dd9dac890e44deafd3aa919e IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.02296612222
0x0827b3bfb1814e226cc565de06da6a763c71a05536e35800c122ae129b9f8d96Unstake And Clai...122634062021-04-18 9:55:32598 days 7 hrs ago0x7a53efce4fddbe07be64ee1dbe9a6d28481e382c IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.01365553132
0xd0d3c5af37ff8d8fdccf58fcb7e2553ada989e3840e17d75f7d8a679d47b8bb2Unstake And Clai...122597432021-04-17 20:24:30598 days 21 hrs agoENS Name *.eth IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.01500039145
0xcd7377e31234107db80052b8e28d64b181a0e9190d6ed8eee32b20193a8a1bd5Unstake And Clai...122479142021-04-16 0:23:23600 days 17 hrs ago0x66314d1cc7d0536cdfb5925fc05acd0502d78c7e IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0116934497
0xca9865af6057cbfa8f910908244a04de5a4a254a31b158bc6022d46460fd41bbUnstake And Clai...122428962021-04-15 5:56:31601 days 11 hrs ago0x7640e355259cb2bd4db9fc5a96e3b103b4c463e6 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0080811882
0xee4f3764efe1d8cd612e2d9c8385289a0b434e9999532ef1ff67667555720760Stake122428952021-04-15 5:56:26601 days 11 hrs ago0x7640e355259cb2bd4db9fc5a96e3b103b4c463e6 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0179576190
0x29624bd61e92e70ca9435ab450cf23db0876fca59ad4a193bc7668ba353c428aUnstake And Clai...122421212021-04-15 3:04:22601 days 14 hrs ago0x14290920ddf69e07a3b8e5b6a40b51dc75a802c2 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0074898776
0xcf0585babea73b724146df2c732ba2a99cb91a24c093d59ea78bf4b1a5967f72Unstake And Clai...122375192021-04-14 9:57:57602 days 7 hrs ago0xc934993f9bf0077372ec770dcba9d043dc17908a IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.01231887125
0xf2f20bb6949500b6e2ac6ed2952627b2ba94c3d9945505a021fb628ce82a5176Unstake And Clai...122356692021-04-14 3:00:13602 days 14 hrs ago0x0b19c0e46bd7244aaa4326cf6d32e39bd12422b9 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0025415789.1
0xea7dbceb9ec27d8cfcdf17792b00663fcf190dc4c420bdfea5bcb68a23c347ccUnstake And Clai...122356672021-04-14 3:00:04602 days 14 hrs ago0x0b19c0e46bd7244aaa4326cf6d32e39bd12422b9 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0095594497
0x2f83bc1c1f497a878763f334b8d43b9b6da907bb0aaf8de9ad438a5db57ff46cUnstake And Clai...122346852021-04-13 23:20:05602 days 18 hrs ago0x80bc7cfd26a9d0026b6767c4cfd32589b9a119f6 IN  0xd4f6ce188631e0d8109055d56815a8f91c24e0c60 Ether0.0087710389
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MoraStaking

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-03-24
*/

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

// 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: @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: @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: @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;

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

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

    /**
     * @dev Returns the name of the token.
     */
    function name() public view 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) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    using SafeMath for uint256;

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts/MoraToken.sol


pragma solidity >=0.6.0 <0.8.0;

contract Moratoken is ERC20Burnable {
    constructor(uint256 _initialSupply, string memory _name, string memory _symbol)  public ERC20 (_name, _symbol) {
        _mint(msg.sender, _initialSupply * (10 ** uint256(decimals())));

    }
}

// File: contracts/Morastaking.sol

pragma solidity >=0.6.0 <0.8.0;

contract MoraStaking{
    using SafeMath for uint;
    Moratoken private token;
    uint256 private totalRewardAllocation = (1000000 * 10**18);
    uint private totalActiveStakes;
    uint256 private totalActiveStakeAmount;
    uint256 private totalDistrubutedReward;
    uint private termofacontract = (2592000 * 5); // 5 Months
    uint private deployDate;
    uint256 private startDate;
    
    

    struct StakeBox {
        address staker;
        uint256 amount;
        uint rewardRate;
        uint256 stakeDate;
        uint256 unstakeDate;
        uint256 claimedAmount;
        uint256 reward;
        bool isActive;
    }
    StakeBox[] public stakeBoxs;
    mapping (uint => address) stakeToOwner;
    mapping (address => uint []) ownerToStakes;
    mapping (address => uint) ownerStakeCount;


    modifier nonZeroAddress(address x) {
    require(x != address(0), "token-zero-address");
    deployDate = block.timestamp;
    _;
  }

    event evStake(address _staker, uint _stakeID, uint256 _amount, uint _stakeDate);
    event evUnstake(address _staker, uint _stakeID, uint _amount, uint _reward, uint256 _claimedAmount, uint _unstakeTime);

    constructor(address _token, uint256 _startDate) public
    nonZeroAddress(_token)
    {
      token = Moratoken(_token);
      deployDate = block.timestamp;
      startDate = _startDate;
    }

  // Transfer the staking tokens under the control of the staking contract
  function Stake(uint256 _amount) external returns(bool success) {
    require(block.timestamp >= startDate,"not-yet");
    _amount = _amount * (10**18);
    uint _rewardRate;
    uint _stakeDate = block.timestamp;
    if ( _amount < 2000 * (10**18) ) { _rewardRate = 0;}
    if ( _amount >= 2000 * (10**18) && _amount < 7000 * (10**18) ) { _rewardRate = 58;} // Multiply 10**4 - APY 50 %  - Hourly 0.0058
    if ( _amount >= 7000 * (10**18) && _amount < 16000 * (10**18) ) { _rewardRate = 81;} // Multiply 10**4 - APY 70 %  - Hourly 0.0080
    if ( _amount >= 16000 * (10**18)) { _rewardRate = 104;}                              // Multiply 10**4 - APY 90 %  - Hourly 0.0104
    stakeBoxs.push(StakeBox(msg.sender, _amount, _rewardRate, _stakeDate , 0, 0, 0, true));
    uint _stakeID = stakeBoxs.length.sub(1);
    stakeToOwner[_stakeID] = msg.sender;
    ownerStakeCount[msg.sender].add(1);
    ownerToStakes[msg.sender].push(_stakeID);
    totalActiveStakeAmount += _amount;
    totalActiveStakes += 1;
    require(block.timestamp < (deployDate + termofacontract) - 21600,"out-of-date"); // make non-stakable 6 hours before from end time. //21600
    require(token.transferFrom(msg.sender, address(this), _amount),"failed");
    emit evStake(msg.sender, _stakeID, _amount, _stakeDate);
    return true;
  }

  function UnstakeAndClaim(uint _stakeID) external returns (bool result) {
    uint _stakePeriodInHour = (block.timestamp - stakeBoxs[_stakeID].stakeDate ) / 3600; // Stake Period in Hour ****
    uint256 _amount = stakeBoxs[_stakeID].amount;
    uint256 _reward = (_stakePeriodInHour * (stakeBoxs[_stakeID].rewardRate / 10**4)) * _amount / 100; // division for 10**4
    uint256 _claimedAmount = _amount + _reward;
    require(stakeBoxs[_stakeID].unstakeDate == 0, "already-claimed-before");
    require(stakeBoxs[_stakeID].staker == msg.sender,"this-is-not-yours");
    require(_stakePeriodInHour >= 24,"cant-unstake-before-24-hours"); //Unstake not permitted in first 24 hours ****
    stakeBoxs[_stakeID].unstakeDate = block.timestamp;
    stakeBoxs[_stakeID].claimedAmount = _claimedAmount;
    stakeBoxs[_stakeID].reward = _reward;
    stakeBoxs[_stakeID].isActive = false;
    totalDistrubutedReward += _reward;
    totalActiveStakeAmount -= _amount;
    totalActiveStakes -= 1;
    require(token.transfer(msg.sender, _claimedAmount),"Failed");
    emit evUnstake(msg.sender, _stakeID, _amount, _reward, _claimedAmount, block.timestamp);
    return true;
  }
  
    function BurnRemainingTokens() external returns (bool result) {
    require(block.timestamp > (deployDate + termofacontract) + 86400,"out-of-date"); // Burnable after 24 hours from end time. //86400 ****
    token.burn(totalRewardAllocation - totalDistrubutedReward);
    return true;
  }
  

    function Stakes(address _staker) external view returns(uint[] memory) {
    return ownerToStakes[_staker];
  }
    function TotalActiveStakes() external view returns (uint256 result) {
    return totalActiveStakes;
  }
  function TotalActiveStakeAmount() external view returns (uint256 result) {
    return totalActiveStakeAmount;
  }

    function TotalDistributedReward() external view returns (uint256 result) {
    return totalDistrubutedReward;
    }
    
    function RemainingRewards() external view returns (uint256 result) {
        return totalRewardAllocation - totalDistrubutedReward;
    }
    function RemainingTimeEndOfContract() external view returns (uint result) {
    return ((deployDate + termofacontract) - block.timestamp) / 3600; // in hours
  }


  
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_startDate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"_stakeID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_stakeDate","type":"uint256"}],"name":"evStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"_stakeID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_claimedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_unstakeTime","type":"uint256"}],"name":"evUnstake","type":"event"},{"inputs":[],"name":"BurnRemainingTokens","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"RemainingRewards","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RemainingTimeEndOfContract","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Stake","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"}],"name":"Stakes","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalActiveStakeAmount","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalActiveStakes","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalDistributedReward","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stakeID","type":"uint256"}],"name":"UnstakeAndClaim","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakeBoxs","outputs":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardRate","type":"uint256"},{"internalType":"uint256","name":"stakeDate","type":"uint256"},{"internalType":"uint256","name":"unstakeDate","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405269d3c21bcecceda100000060015562c5c10060055534801561002557600080fd5b506040516113113803806113118339818101604052604081101561004857600080fd5b81019080805190602001909291908051906020019092919050505081600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f746f6b656e2d7a65726f2d61646472657373000000000000000000000000000081525060200191505060405180910390fd5b42600681905550826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600681905550816007819055505050506111a38061016e6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063b24983ca11610066578063b24983ca146101dc578063c4bc4210146101fa578063c7da32481461023e578063e1829a8e1461025c578063fc7c123c146102e75761009e565b8063227a473b146100a35780633d034c59146100e75780634045dc5f1461010757806362a9ba14146101a0578063a38111a9146101be575b600080fd5b6100cf600480360360208110156100b957600080fd5b8101908080359060200190929190505050610305565b60405180821515815260200191505060405180910390f35b6100ef6108d3565b60405180821515815260200191505060405180910390f35b6101496004803603602081101561011d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ed565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561018c578082015181840152602081019050610171565b505050509050019250505060405180910390f35b6101a8610a84565b6040518082815260200191505060405180910390f35b6101c6610a8e565b6040518082815260200191505060405180910390f35b6101e4610a9c565b6040518082815260200191505060405180910390f35b6102266004803603602081101561021057600080fd5b8101908080359060200190929190505050610ab7565b60405180821515815260200191505060405180910390f35b610246610fc9565b6040518082815260200191505060405180910390f35b6102886004803603602081101561027257600080fd5b8101908080359060200190929190505050610fd3565b604051808973ffffffffffffffffffffffffffffffffffffffff16815260200188815260200187815260200186815260200185815260200184815260200183815260200182151581526020019850505050505050505060405180910390f35b6102ef611058565b6040518082815260200191505060405180910390f35b600060075442101561037f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f6e6f742d7965740000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b670de0b6b3a764000082029150600080429050686c6b935b8bbd4000008410156103a857600091505b686c6b935b8bbd40000084101580156103ca575069017b7883c0691660000084105b156103d457603a91505b69017b7883c0691660000084101580156103f757506903635c9adc5dea00000084105b1561040157605191505b6903635c9adc5dea000000841061041757606891505b60086040518061010001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200186815260200184815260200183815260200160008152602001600081526020016000815260200160011515815250908060018154018082558091505060019003906000526020600020906008020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e08201518160070160006101000a81548160ff02191690831515021790555050506000610558600160088054905061106290919063ffffffff16565b9050336009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506105ff6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110e590919063ffffffff16565b50600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081908060018154018082558091505060019003906000526020600020016000909190919091505584600360008282540192505081905550600160026000828254019250508190555061546060055460065401034210610706576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f6f75742d6f662d6461746500000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330886040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156107b557600080fd5b505af11580156107c9573d6000803e3d6000fd5b505050506040513d60208110156107df57600080fd5b8101908080519060200190929190505050610862576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f6661696c6564000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f22395e3190509a1d00fcd7cb23743e6af4f8d6975dccbddd9b0483aebbb070f133828785604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390a160019350505050919050565b60006201518060055460065401014211610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f6f75742d6f662d6461746500000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600454600154036040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156109ce57600080fd5b505af11580156109e2573d6000803e3d6000fd5b505050506001905090565b6060600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610a7857602002820191906000526020600020905b815481526020019060010190808311610a64575b50505050509050919050565b6000600354905090565b600060045460015403905090565b6000610e1042600554600654010381610ab157fe5b04905090565b600080610e1060088481548110610aca57fe5b906000526020600020906008020160030154420381610ae557fe5b049050600060088481548110610af757fe5b9060005260206000209060080201600101549050600060648261271060088881548110610b2057fe5b90600052602060002090600802016002015481610b3957fe5b0485020281610b4457fe5b04905060008183019050600060088781548110610b5d57fe5b90600052602060002090600802016004015414610be2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f616c72656164792d636c61696d65642d6265666f72650000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660088781548110610c0657fe5b906000526020600020906008020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cc1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f746869732d69732d6e6f742d796f75727300000000000000000000000000000081525060200191505060405180910390fd5b6018841015610d38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f63616e742d756e7374616b652d6265666f72652d32342d686f7572730000000081525060200191505060405180910390fd5b4260088781548110610d4657fe5b9060005260206000209060080201600401819055508060088781548110610d6957fe5b9060005260206000209060080201600501819055508160088781548110610d8c57fe5b906000526020600020906008020160060181905550600060088781548110610db057fe5b906000526020600020906008020160070160006101000a81548160ff0219169083151502179055508160046000828254019250508190555082600360008282540392505081905550600160026000828254039250508190555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e9a57600080fd5b505af1158015610eae573d6000803e3d6000fd5b505050506040513d6020811015610ec457600080fd5b8101908080519060200190929190505050610f47576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f4661696c6564000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fcbb18a073acf22e1224da864d3042791b9ca304e55205eda02e5d3e852d9d460338785858542604051808773ffffffffffffffffffffffffffffffffffffffff168152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a16001945050505050919050565b6000600454905090565b60088181548110610fe357600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154908060050154908060060154908060070160009054906101000a900460ff16905088565b6000600254905090565b6000828211156110da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b809150509291505056fea26469706673582212203c58b57eac8570c93aeeb1d64e208f77e85d4e99d95461dc6823187ad964051e64736f6c63430007040033000000000000000000000000b64cd4f56043f8d80691433e395d08b1bebdadf00000000000000000000000000000000000000000000000000000000060635910

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

000000000000000000000000b64cd4f56043f8d80691433e395d08b1bebdadf00000000000000000000000000000000000000000000000000000000060635910

-----Decoded View---------------
Arg [0] : _token (address): 0xb64cD4F56043F8d80691433e395d08B1bEBDADF0
Arg [1] : _startDate (uint256): 1617123600

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b64cd4f56043f8d80691433e395d08b1bebdadf0
Arg [1] : 0000000000000000000000000000000000000000000000000000000060635910


Deployed ByteCode Sourcemap

23955:5108:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25436:1328;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;27961:292;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28265:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28492:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28744:139;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28889:163;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26770:1181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28615:117;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24618:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28383:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25436:1328;25485:12;25533:9;;25514:15;:28;;25506:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25581:6;25570:7;:18;25560:28;;25595:16;25618:15;25636;25618:33;;25673:15;25663:7;:25;25658:52;;;25707:1;25693:15;;25658:52;25732:15;25721:7;:26;;:55;;;;;25761:15;25751:7;:25;25721:55;25716:83;;;25795:2;25781:16;;25716:83;25867:15;25856:7;:26;;:56;;;;;25896:16;25886:7;:26;25856:56;25851:84;;;25931:2;25917:16;;25851:84;26003:16;25992:7;:27;25987:55;;26037:3;26023:17;;25987:55;26123:9;26138:70;;;;;;;;26147:10;26138:70;;;;;;26159:7;26138:70;;;;26168:11;26138:70;;;;26181:10;26138:70;;;;26194:1;26138:70;;;;26197:1;26138:70;;;;26200:1;26138:70;;;;26203:4;26138:70;;;;;26123:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26216:13;26232:23;26253:1;26232:9;:16;;;;:20;;:23;;;;:::i;:::-;26216:39;;26287:10;26262:12;:22;26275:8;26262:22;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;26304:34;26336:1;26304:15;:27;26320:10;26304:27;;;;;;;;;;;;;;;;:31;;:34;;;;:::i;:::-;;26345:13;:25;26359:10;26345:25;;;;;;;;;;;;;;;26376:8;26345:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26418:7;26392:22;;:33;;;;;;;;;;;26453:1;26432:17;;:22;;;;;;;;;;;26520:5;26501:15;;26488:10;;:28;26487:38;26469:15;:56;26461:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26614:5;;;;;;;;;;:18;;;26633:10;26653:4;26660:7;26614:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26606:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26690:50;26698:10;26710:8;26720:7;26729:10;26690:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26754:4;26747:11;;;;;25436:1328;;;:::o;27961:292::-;28010:11;28089:5;28070:15;;28057:10;;:28;28056:38;28038:15;:56;28030:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28171:5;;;;;;;;;;:10;;;28206:22;;28182:21;;:46;28171:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28243:4;28236:11;;27961:292;:::o;28265:112::-;28320:13;28349;:22;28363:7;28349:22;;;;;;;;;;;;;;;28342:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28265:112;;;:::o;28492:115::-;28549:14;28579:22;;28572:29;;28492:115;:::o;28744:139::-;28795:14;28853:22;;28829:21;;:46;28822:53;;28744:139;:::o;28889:163::-;28950:11;29030:4;29011:15;28992;;28979:10;;:28;28978:48;28977:57;;;;;;28970:64;;28889:163;:::o;26770:1181::-;26828:11;26848:23;26927:4;26893:9;26903:8;26893:19;;;;;;;;;;;;;;;;;;:29;;;26875:15;:47;26874:57;;;;;;26848:83;;26967:15;26985:9;26995:8;26985:19;;;;;;;;;;;;;;;;;;:26;;;26967:44;;27018:15;27112:3;27102:7;27092:5;27059:9;27069:8;27059:19;;;;;;;;;;;;;;;;;;:30;;;:38;;;;;;27037:18;:61;27036:73;:79;;;;;;27018:97;;27144:22;27179:7;27169;:17;27144:42;;27236:1;27201:9;27211:8;27201:19;;;;;;;;;;;;;;;;;;:31;;;:36;27193:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27309:10;27279:40;;:9;27289:8;27279:19;;;;;;;;;;;;;;;;;;:26;;;;;;;;;;;;:40;;;27271:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27377:2;27355:18;:24;;27347:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27499:15;27465:9;27475:8;27465:19;;;;;;;;;;;;;;;;;;:31;;:49;;;;27557:14;27521:9;27531:8;27521:19;;;;;;;;;;;;;;;;;;:33;;:50;;;;27607:7;27578:9;27588:8;27578:19;;;;;;;;;;;;;;;;;;:26;;:36;;;;27652:5;27621:9;27631:8;27621:19;;;;;;;;;;;;;;;;;;:28;;;:36;;;;;;;;;;;;;;;;;;27690:7;27664:22;;:33;;;;;;;;;;;27730:7;27704:22;;:33;;;;;;;;;;;27765:1;27744:17;;:22;;;;;;;;;;;27781:5;;;;;;;;;;:14;;;27796:10;27808:14;27781:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27773:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27845:82;27855:10;27867:8;27877:7;27886;27895:14;27911:15;27845:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27941:4;27934:11;;;;;;26770:1181;;;:::o;28615:117::-;28672:14;28702:22;;28695:29;;28615:117;:::o;24618:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28383:105::-;28435:14;28465:17;;28458:24;;28383:105;:::o;7087:158::-;7145:7;7178:1;7173;:6;;7165:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7236:1;7232;:5;7225:12;;7087:158;;;;:::o;6625:179::-;6683:7;6703:9;6719:1;6715;:5;6703:17;;6744:1;6739;:6;;6731:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6795:1;6788:8;;;6625:179;;;;:::o

Swarm Source

ipfs://3c58b57eac8570c93aeeb1d64e208f77e85d4e99d95461dc6823187ad964051e
Block Transaction Difficulty Gas Used Reward
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.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.