ETH Price: $1,989.73 (-0.09%)

Contract

0xC2E5a0b1D1e318983DB5171d4aEf942e59a357d2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Reward152031442022-07-24 4:23:081343 days ago1658636588IN
0xC2E5a0b1...e59a357d2
0 ETH0.000403417.40687012
Withdraw Lost To...130903522021-08-24 20:47:481677 days ago1629838068IN
0xC2E5a0b1...e59a357d2
0 ETH0.0054038589.0519548
Add Reward130903142021-08-24 20:39:541677 days ago1629837594IN
0xC2E5a0b1...e59a357d2
0 ETH0.0082753110.38304999
Add Reward130903082021-08-24 20:38:041677 days ago1629837484IN
0xC2E5a0b1...e59a357d2
0 ETH0.00807462107.70615052
Claim Reward130838682021-08-23 20:58:321678 days ago1629752312IN
0xC2E5a0b1...e59a357d2
0 ETH0.0094861959.79738482
Claim Reward130705712021-08-21 19:36:491680 days ago1629574609IN
0xC2E5a0b1...e59a357d2
0 ETH0.0031599735.36785869
Claim Reward130514412021-08-18 20:42:391683 days ago1629319359IN
0xC2E5a0b1...e59a357d2
0 ETH0.0029605133.13534988
Claim Reward130489172021-08-18 11:16:241683 days ago1629285384IN
0xC2E5a0b1...e59a357d2
0 ETH0.0026507729.66868919
Claim Reward130427642021-08-17 12:42:331684 days ago1629204153IN
0xC2E5a0b1...e59a357d2
0 ETH0.003612350
Claim Reward130344152021-08-16 5:39:371685 days ago1629092377IN
0xC2E5a0b1...e59a357d2
0 ETH0.0022658831.363424
Claim Reward130312842021-08-15 18:07:371686 days ago1629050857IN
0xC2E5a0b1...e59a357d2
0 ETH0.0037591142.07372837
Claim Reward130301612021-08-15 14:01:071686 days ago1629036067IN
0xC2E5a0b1...e59a357d2
0 ETH0.0039312244
Claim Reward130277622021-08-15 5:06:511686 days ago1629004011IN
0xC2E5a0b1...e59a357d2
0 ETH0.002908235.17248466
Claim Reward130269312021-08-15 1:51:481686 days ago1628992308IN
0xC2E5a0b1...e59a357d2
0 ETH0.0020780228.76320478
Claim Reward130251212021-08-14 19:21:101687 days ago1628968870IN
0xC2E5a0b1...e59a357d2
0 ETH0.0039312244
Claim Reward130237062021-08-14 14:03:121687 days ago1628949792IN
0xC2E5a0b1...e59a357d2
0 ETH0.0035738440
Add Reward130193782021-08-13 21:52:141688 days ago1628891534IN
0xC2E5a0b1...e59a357d2
0 ETH0.0058475878
Add Reward130193782021-08-13 21:52:141688 days ago1628891534IN
0xC2E5a0b1...e59a357d2
0 ETH0.0052478370
Claim Reward129800852021-08-07 20:18:281694 days ago1628367508IN
0xC2E5a0b1...e59a357d2
0 ETH0.0026577443
Claim Reward129781882021-08-07 13:27:311694 days ago1628342851IN
0xC2E5a0b1...e59a357d2
0 ETH0.0066133260
Claim Reward129382072021-08-01 7:08:511700 days ago1627801731IN
0xC2E5a0b1...e59a357d2
0 ETH0.0009089328
Claim Reward129381522021-08-01 6:57:391700 days ago1627801059IN
0xC2E5a0b1...e59a357d2
0 ETH0.0018937924
Claim Reward129017192021-07-26 12:06:141706 days ago1627301174IN
0xC2E5a0b1...e59a357d2
0 ETH0.0021305127
Claim Reward129017122021-07-26 12:05:151706 days ago1627301115IN
0xC2E5a0b1...e59a357d2
0 ETH0.0020831726.4
Claim Reward128931782021-07-25 3:55:301707 days ago1627185330IN
0xC2E5a0b1...e59a357d2
0 ETH0.0010114414
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x02A93F7d...b87638F62
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Staking

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-09
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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


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


/**
 * @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);
}

/**
 * @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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

/**
 * @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);
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

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

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

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

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

contract Staking is Ownable, ReentrancyGuard {
    
    using SafeMath for uint;
    using SafeERC20 for IERC20;
    using SafeERC20 for ERC20Burnable;

	ERC20Burnable public duckToken;

	uint public stakingStartTime;
	uint public stakingFinishTime;

	uint public harvestStartTime;

	address public rewardAddress;
	uint public rewardAmount;

	address public duckReceiverAddress;
	uint public burnThreshold;

	mapping(address => uint) public balances;
	uint public totalStaked;
	
	uint public stakingLimit;
	uint public userStakingLimit;
	bool public canWithdraw;

	bool finished;

	struct Reward {
		address addr;
		uint amount;
	}

	Reward[] public rewards;
	mapping(address => uint) public userLastUnclaimedReward;

	event NewReward(address indexed tokenAddress, uint amount);

	constructor(address _duckAddress, address _duckReceiverAddress) public Ownable() {
		duckToken = ERC20Burnable(_duckAddress);
		duckReceiverAddress = _duckReceiverAddress;
	}

	function initialSetup(uint _stakingStartTime, uint _stakingFinishTime, uint _stakingLimit) external onlyOwner {
		require(stakingStartTime == 0, "already set");
        
		stakingStartTime = _stakingStartTime;
		stakingFinishTime = _stakingFinishTime;
		
		stakingLimit = _stakingLimit;
	}

	function secondarySetup(uint _burnThreshold, uint _harvestStartTime, uint _userStakingLimit) external onlyOwner {
        require(_harvestStartTime >= stakingFinishTime, "harvestStartTime < stakingFinishTime");
		burnThreshold = _burnThreshold;
		harvestStartTime = _harvestStartTime;
		userStakingLimit = _userStakingLimit;
	}

	function addReward(address _rewardAddress, uint _rewardAmount) external onlyOwner {
		rewards.push(Reward({addr: _rewardAddress, amount: _rewardAmount}));
		emit NewReward(_rewardAddress, _rewardAmount);
	}
	
	function stake(uint amount) external nonReentrant() {
		require(block.timestamp > stakingStartTime && block.timestamp < stakingFinishTime, "not a staking time");

        if(totalStaked.add(amount) > stakingLimit) {
            amount = stakingLimit.sub(totalStaked);
        }
        
        if(balances[msg.sender].add(amount) > userStakingLimit) {
            amount = userStakingLimit.sub(balances[msg.sender]);
        }
        
        require(amount > 0, "nothing to stake");
		require(duckToken.transferFrom(msg.sender, address(this), amount));
	    
		balances[msg.sender] = balances[msg.sender].add(amount);
		totalStaked = totalStaked.add(amount);
	}

	function claimReward() external nonReentrant() {
		require(block.timestamp >= harvestStartTime, "not a harvest time");
		require(balances[msg.sender] > 0, "nothing to claim");

		uint buf = userLastUnclaimedReward[msg.sender];
		userLastUnclaimedReward[msg.sender] = rewards.length;

		for(uint i = buf; i < rewards.length; i++) {
			uint reward = rewards[i].amount.mul(balances[msg.sender]).div(totalStaked);
			IERC20(rewards[i].addr).safeTransfer(msg.sender, reward);
		}
	}

	function finish() external {
		require(!finished, "already finished");
		require(block.timestamp > stakingFinishTime, "not a finish time");

		finished = true;

		if(totalStaked <= burnThreshold) {
			duckToken.safeTransfer(duckReceiverAddress, totalStaked);
			return;
		}

		duckToken.safeTransfer(duckReceiverAddress, burnThreshold);
		duckToken.burn(totalStaked.sub(burnThreshold));
	}

	function withdrawLostTokens(address tokenAddress) external onlyOwner {
		require(finished, "call finish first");
		
		require(tokenAddress != rewardAddress, "can't withdraw reward tokens");
		IERC20(tokenAddress).safeTransfer(owner(), IERC20(tokenAddress).balanceOf(address(this)));
	}
	
	function setWithdrawPermission(bool perm) external onlyOwner {
	    canWithdraw = perm;
	}
    
    function withdraw() public {
        require(canWithdraw, "withdraw disabled");
        require(balances[msg.sender] > 0, "nothing to claim");
        
        uint toSend = balances[msg.sender];
        balances[msg.sender] = 0;
        
        duckToken.safeTransfer(msg.sender, toSend);
    }
    
    //frontend
	function calculateReward(address user) public view returns(uint) {
		uint res;
	    for(uint i = userLastUnclaimedReward[user]; i < rewards.length; i++) {
			uint reward = rewards[i].amount.mul(balances[user]).div(totalStaked);
			res += reward;
		}

		return res;
	}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_duckAddress","type":"address"},{"internalType":"address","name":"_duckReceiverAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NewReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_rewardAddress","type":"address"},{"internalType":"uint256","name":"_rewardAmount","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"calculateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"duckReceiverAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duckToken","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stakingStartTime","type":"uint256"},{"internalType":"uint256","name":"_stakingFinishTime","type":"uint256"},{"internalType":"uint256","name":"_stakingLimit","type":"uint256"}],"name":"initialSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnThreshold","type":"uint256"},{"internalType":"uint256","name":"_harvestStartTime","type":"uint256"},{"internalType":"uint256","name":"_userStakingLimit","type":"uint256"}],"name":"secondarySetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"perm","type":"bool"}],"name":"setWithdrawPermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingFinishTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userLastUnclaimedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"userStakingLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawLostTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x608060405234801561001057600080fd5b506040516119003803806119008339818101604052604081101561003357600080fd5b50805160209091015160006100466100c5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b039384166001600160a01b031991821617909155600880549290931691161790556100c9565b3390565b611828806100d86000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639feb8f50116100f9578063d56b288911610097578063dfdf8c9f11610071578063dfdf8c9f146103d7578063f2fde38b146103df578063f301af4214610405578063f7b2a7be14610445576101c4565b8063d56b288914610383578063d82e39621461038b578063d8340a66146103b1576101c4565b8063b375bb64116100d3578063b375bb6414610338578063b51459fe14610340578063b88a802f1461035c578063bdb5dccc14610364576101c4565b80639feb8f50146102c9578063a3546be4146102f5578063a694fc3a1461031b576101c4565b8063715018a6116101665780638cf57cb9116101405780638cf57cb91461026c5780638da5cb5b14610290578063904622fd146102985780639e807b31146102a0576101c4565b8063715018a614610254578063817b1cd21461025c57806386b4de6814610264576101c4565b806353d9811c116101a257806353d9811c1461021357806355ba2f4f1461023c5780636abfd183146102445780636d3c09d81461024c576101c4565b806327e235e3146101c95780633ccfd60b146102015780634f6d38d01461020b575b600080fd5b6101ef600480360360208110156101df57600080fd5b50356001600160a01b031661044d565b60408051918252519081900360200190f35b61020961045f565b005b6101ef61052e565b6102096004803603606081101561022957600080fd5b5080359060208101359060400135610534565b6101ef6105db565b6101ef6105e1565b6101ef6105e7565b6102096105ed565b6101ef61068f565b6101ef610695565b61027461069b565b604080516001600160a01b039092168252519081900360200190f35b6102746106aa565b6102746106b9565b610209600480360360608110156102b657600080fd5b50803590602081013590604001356106c8565b610209600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610771565b6102096004803603602081101561030b57600080fd5b50356001600160a01b0316610899565b6102096004803603602081101561033157600080fd5b5035610a32565b610274610c69565b610348610c78565b604080519115158252519081900360200190f35b610209610c81565b6102096004803603602081101561037a57600080fd5b50351515610e4b565b610209610eb6565b6101ef600480360360208110156103a157600080fd5b50356001600160a01b0316611027565b6101ef600480360360208110156103c757600080fd5b50356001600160a01b03166110a0565b6101ef6110b2565b610209600480360360208110156103f557600080fd5b50356001600160a01b03166110b8565b6104226004803603602081101561041b57600080fd5b50356111b0565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6101ef6111e5565b600a6020526000908152604090205481565b600e5460ff166104aa576040805162461bcd60e51b81526020600482015260116024820152701dda5d1a191c985dc8191a5cd8589b1959607a1b604482015290519081900360640190fd5b336000908152600a60205260409020546104fe576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b604482015290519081900360640190fd5b336000818152600a602052604081208054919055600254909161052b916001600160a01b031690836111eb565b50565b60095481565b61053c611242565b6000546001600160a01b0390811691161461058c576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6004548210156105cd5760405162461bcd60e51b81526004018080602001828103825260248152602001806117cf6024913960400191505060405180910390fd5b600992909255600555600d55565b600c5481565b60035481565b60045481565b6105f5611242565b6000546001600160a01b03908116911614610645576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b5481565b60055481565b6006546001600160a01b031681565b6000546001600160a01b031690565b6008546001600160a01b031681565b6106d0611242565b6000546001600160a01b03908116911614610720576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b60035415610763576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b600392909255600455600c55565b610779611242565b6000546001600160a01b039081169116146107c9576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6040805180820182526001600160a01b038481168083526020808401868152600f805460018101825560009190915294517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802600290960295860180546001600160a01b031916919095161790935591517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803909301929092558251848152925191927f01f132e60506239e8c7aeeb029ac2aa3a506bd76fda96ffa1f02e2b193399905929081900390910190a25050565b6108a1611242565b6000546001600160a01b039081169116146108f1576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600e54610100900460ff16610941576040805162461bcd60e51b815260206004820152601160248201527018d85b1b08199a5b9a5cda08199a5c9cdd607a1b604482015290519081900360640190fd5b6006546001600160a01b03828116911614156109a4576040805162461bcd60e51b815260206004820152601c60248201527f63616e27742077697468647261772072657761726420746f6b656e7300000000604482015290519081900360640190fd5b61052b6109af6106aa565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156109f557600080fd5b505afa158015610a09573d6000803e3d6000fd5b505050506040513d6020811015610a1f57600080fd5b50516001600160a01b03841691906111eb565b60026001541415610a8a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015560035442118015610aa1575060045442105b610ae7576040805162461bcd60e51b81526020600482015260126024820152716e6f742061207374616b696e672074696d6560701b604482015290519081900360640190fd5b600c54600b54610af79083611246565b1115610b0f57600b54600c54610b0c916112a9565b90505b600d54336000908152600a6020526040902054610b2c9083611246565b1115610b5157336000908152600a6020526040902054600d54610b4e916112a9565b90505b60008111610b99576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f207374616b6560801b604482015290519081900360640190fd5b600254604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015610bf357600080fd5b505af1158015610c07573d6000803e3d6000fd5b505050506040513d6020811015610c1d57600080fd5b5051610c2857600080fd5b336000908152600a6020526040902054610c429082611246565b336000908152600a6020526040902055600b54610c5f9082611246565b600b555060018055565b6002546001600160a01b031681565b600e5460ff1681565b60026001541415610cd9576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600554421015610d2a576040805162461bcd60e51b81526020600482015260126024820152716e6f74206120686172766573742074696d6560701b604482015290519081900360640190fd5b336000908152600a6020526040902054610d7e576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b604482015290519081900360640190fd5b3360009081526010602052604090208054600f54909155805b600f54811015610e43576000610e05600b54610dff600a6000336001600160a01b03166001600160a01b0316815260200190815260200160002054600f8681548110610ddf57fe5b9060005260206000209060020201600101546112eb90919063ffffffff16565b90611344565b9050610e3a3382600f8581548110610e1957fe5b60009182526020909120600290910201546001600160a01b031691906111eb565b50600101610d97565b505060018055565b610e53611242565b6000546001600160a01b03908116911614610ea3576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b600e54610100900460ff1615610f06576040805162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48199a5b9a5cda195960821b604482015290519081900360640190fd5b6004544211610f50576040805162461bcd60e51b81526020600482015260116024820152706e6f7420612066696e6973682074696d6560781b604482015290519081900360640190fd5b600e805461ff001916610100179055600954600b5411610f9057600854600b54600254610f8b926001600160a01b03918216929116906111eb565b611025565b600854600954600254610fb1926001600160a01b03918216929116906111eb565b600254600954600b546001600160a01b03909216916342966c6891610fd691906112a9565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561100c57600080fd5b505af1158015611020573d6000803e3d6000fd5b505050505b565b6001600160a01b03811660009081526010602052604081205481905b600f5481101561109957600061108b600b54610dff600a6000896001600160a01b03166001600160a01b0316815260200190815260200160002054600f8681548110610ddf57fe5b929092019150600101611043565b5092915050565b60106020526000908152604090205481565b600d5481565b6110c0611242565b6000546001600160a01b03908116911614611110576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6001600160a01b0381166111555760405162461bcd60e51b81526004018080602001828103825260268152602001806117186026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600f81815481106111bd57fe5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b60075481565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261123d908490611386565b505050565b3390565b6000828201838110156112a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006112a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611437565b6000826112fa575060006112a3565b8282028284828161130757fe5b04146112a05760405162461bcd60e51b81526004018080602001828103825260218152602001806117646021913960400191505060405180910390fd5b60006112a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114d3565b60606113db826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115389092919063ffffffff16565b80519091501561123d578080602001905160208110156113fa57600080fd5b505161123d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806117a5602a913960400191505060405180910390fd5b600081848411156114c65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561148b578181015183820152602001611473565b50505050905090810190601f1680156114b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b600081836115225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561148b578181015183820152602001611473565b50600083858161152e57fe5b0495945050505050565b6060611547848460008561154f565b949350505050565b6060824710156115905760405162461bcd60e51b815260040180806020018281038252602681526020018061173e6026913960400191505060405180910390fd5b611599856116ab565b6115ea576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116295780518252601f19909201916020918201910161160a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461168b576040519150601f19603f3d011682016040523d82523d6000602084013e611690565b606091505b50915091506116a08282866116b1565b979650505050505050565b3b151590565b606083156116c05750816114cc565b8251156116d05782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561148b57818101518382015260200161147356fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656468617276657374537461727454696d65203c207374616b696e6746696e69736854696d65a26469706673582212204f43e4049b3daf7b28b3cdff1cf8e06939830d8b28a8c3904a237875fbfbd86264736f6c634300060c0033000000000000000000000000c0ba369c8db6eb3924965e5c4fd0b4c1b91e305f000000000000000000000000d408edf30ddeddea353accb987198129e95b9207

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639feb8f50116100f9578063d56b288911610097578063dfdf8c9f11610071578063dfdf8c9f146103d7578063f2fde38b146103df578063f301af4214610405578063f7b2a7be14610445576101c4565b8063d56b288914610383578063d82e39621461038b578063d8340a66146103b1576101c4565b8063b375bb64116100d3578063b375bb6414610338578063b51459fe14610340578063b88a802f1461035c578063bdb5dccc14610364576101c4565b80639feb8f50146102c9578063a3546be4146102f5578063a694fc3a1461031b576101c4565b8063715018a6116101665780638cf57cb9116101405780638cf57cb91461026c5780638da5cb5b14610290578063904622fd146102985780639e807b31146102a0576101c4565b8063715018a614610254578063817b1cd21461025c57806386b4de6814610264576101c4565b806353d9811c116101a257806353d9811c1461021357806355ba2f4f1461023c5780636abfd183146102445780636d3c09d81461024c576101c4565b806327e235e3146101c95780633ccfd60b146102015780634f6d38d01461020b575b600080fd5b6101ef600480360360208110156101df57600080fd5b50356001600160a01b031661044d565b60408051918252519081900360200190f35b61020961045f565b005b6101ef61052e565b6102096004803603606081101561022957600080fd5b5080359060208101359060400135610534565b6101ef6105db565b6101ef6105e1565b6101ef6105e7565b6102096105ed565b6101ef61068f565b6101ef610695565b61027461069b565b604080516001600160a01b039092168252519081900360200190f35b6102746106aa565b6102746106b9565b610209600480360360608110156102b657600080fd5b50803590602081013590604001356106c8565b610209600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610771565b6102096004803603602081101561030b57600080fd5b50356001600160a01b0316610899565b6102096004803603602081101561033157600080fd5b5035610a32565b610274610c69565b610348610c78565b604080519115158252519081900360200190f35b610209610c81565b6102096004803603602081101561037a57600080fd5b50351515610e4b565b610209610eb6565b6101ef600480360360208110156103a157600080fd5b50356001600160a01b0316611027565b6101ef600480360360208110156103c757600080fd5b50356001600160a01b03166110a0565b6101ef6110b2565b610209600480360360208110156103f557600080fd5b50356001600160a01b03166110b8565b6104226004803603602081101561041b57600080fd5b50356111b0565b604080516001600160a01b03909316835260208301919091528051918290030190f35b6101ef6111e5565b600a6020526000908152604090205481565b600e5460ff166104aa576040805162461bcd60e51b81526020600482015260116024820152701dda5d1a191c985dc8191a5cd8589b1959607a1b604482015290519081900360640190fd5b336000908152600a60205260409020546104fe576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b604482015290519081900360640190fd5b336000818152600a602052604081208054919055600254909161052b916001600160a01b031690836111eb565b50565b60095481565b61053c611242565b6000546001600160a01b0390811691161461058c576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6004548210156105cd5760405162461bcd60e51b81526004018080602001828103825260248152602001806117cf6024913960400191505060405180910390fd5b600992909255600555600d55565b600c5481565b60035481565b60045481565b6105f5611242565b6000546001600160a01b03908116911614610645576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b5481565b60055481565b6006546001600160a01b031681565b6000546001600160a01b031690565b6008546001600160a01b031681565b6106d0611242565b6000546001600160a01b03908116911614610720576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b60035415610763576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b600392909255600455600c55565b610779611242565b6000546001600160a01b039081169116146107c9576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6040805180820182526001600160a01b038481168083526020808401868152600f805460018101825560009190915294517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802600290960295860180546001600160a01b031916919095161790935591517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803909301929092558251848152925191927f01f132e60506239e8c7aeeb029ac2aa3a506bd76fda96ffa1f02e2b193399905929081900390910190a25050565b6108a1611242565b6000546001600160a01b039081169116146108f1576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600e54610100900460ff16610941576040805162461bcd60e51b815260206004820152601160248201527018d85b1b08199a5b9a5cda08199a5c9cdd607a1b604482015290519081900360640190fd5b6006546001600160a01b03828116911614156109a4576040805162461bcd60e51b815260206004820152601c60248201527f63616e27742077697468647261772072657761726420746f6b656e7300000000604482015290519081900360640190fd5b61052b6109af6106aa565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156109f557600080fd5b505afa158015610a09573d6000803e3d6000fd5b505050506040513d6020811015610a1f57600080fd5b50516001600160a01b03841691906111eb565b60026001541415610a8a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015560035442118015610aa1575060045442105b610ae7576040805162461bcd60e51b81526020600482015260126024820152716e6f742061207374616b696e672074696d6560701b604482015290519081900360640190fd5b600c54600b54610af79083611246565b1115610b0f57600b54600c54610b0c916112a9565b90505b600d54336000908152600a6020526040902054610b2c9083611246565b1115610b5157336000908152600a6020526040902054600d54610b4e916112a9565b90505b60008111610b99576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f207374616b6560801b604482015290519081900360640190fd5b600254604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015610bf357600080fd5b505af1158015610c07573d6000803e3d6000fd5b505050506040513d6020811015610c1d57600080fd5b5051610c2857600080fd5b336000908152600a6020526040902054610c429082611246565b336000908152600a6020526040902055600b54610c5f9082611246565b600b555060018055565b6002546001600160a01b031681565b600e5460ff1681565b60026001541415610cd9576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600554421015610d2a576040805162461bcd60e51b81526020600482015260126024820152716e6f74206120686172766573742074696d6560701b604482015290519081900360640190fd5b336000908152600a6020526040902054610d7e576040805162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b604482015290519081900360640190fd5b3360009081526010602052604090208054600f54909155805b600f54811015610e43576000610e05600b54610dff600a6000336001600160a01b03166001600160a01b0316815260200190815260200160002054600f8681548110610ddf57fe5b9060005260206000209060020201600101546112eb90919063ffffffff16565b90611344565b9050610e3a3382600f8581548110610e1957fe5b60009182526020909120600290910201546001600160a01b031691906111eb565b50600101610d97565b505060018055565b610e53611242565b6000546001600160a01b03908116911614610ea3576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b600e54610100900460ff1615610f06576040805162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48199a5b9a5cda195960821b604482015290519081900360640190fd5b6004544211610f50576040805162461bcd60e51b81526020600482015260116024820152706e6f7420612066696e6973682074696d6560781b604482015290519081900360640190fd5b600e805461ff001916610100179055600954600b5411610f9057600854600b54600254610f8b926001600160a01b03918216929116906111eb565b611025565b600854600954600254610fb1926001600160a01b03918216929116906111eb565b600254600954600b546001600160a01b03909216916342966c6891610fd691906112a9565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561100c57600080fd5b505af1158015611020573d6000803e3d6000fd5b505050505b565b6001600160a01b03811660009081526010602052604081205481905b600f5481101561109957600061108b600b54610dff600a6000896001600160a01b03166001600160a01b0316815260200190815260200160002054600f8681548110610ddf57fe5b929092019150600101611043565b5092915050565b60106020526000908152604090205481565b600d5481565b6110c0611242565b6000546001600160a01b03908116911614611110576040805162461bcd60e51b81526020600482018190526024820152600080516020611785833981519152604482015290519081900360640190fd5b6001600160a01b0381166111555760405162461bcd60e51b81526004018080602001828103825260268152602001806117186026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600f81815481106111bd57fe5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b60075481565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261123d908490611386565b505050565b3390565b6000828201838110156112a0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006112a083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611437565b6000826112fa575060006112a3565b8282028284828161130757fe5b04146112a05760405162461bcd60e51b81526004018080602001828103825260218152602001806117646021913960400191505060405180910390fd5b60006112a083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114d3565b60606113db826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115389092919063ffffffff16565b80519091501561123d578080602001905160208110156113fa57600080fd5b505161123d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806117a5602a913960400191505060405180910390fd5b600081848411156114c65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561148b578181015183820152602001611473565b50505050905090810190601f1680156114b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50508183035b9392505050565b600081836115225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561148b578181015183820152602001611473565b50600083858161152e57fe5b0495945050505050565b6060611547848460008561154f565b949350505050565b6060824710156115905760405162461bcd60e51b815260040180806020018281038252602681526020018061173e6026913960400191505060405180910390fd5b611599856116ab565b6115ea576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116295780518252601f19909201916020918201910161160a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461168b576040519150601f19603f3d011682016040523d82523d6000602084013e611690565b606091505b50915091506116a08282866116b1565b979650505050505050565b3b151590565b606083156116c05750816114cc565b8251156116d05782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561148b57818101518382015260200161147356fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656468617276657374537461727454696d65203c207374616b696e6746696e69736854696d65a26469706673582212204f43e4049b3daf7b28b3cdff1cf8e06939830d8b28a8c3904a237875fbfbd86264736f6c634300060c0033

Deployed Bytecode Sourcemap

36379:4446:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36807:40;;;;;;;;;;;;;;;;-1:-1:-1;36807:40:0;-1:-1:-1;;;;;36807:40:0;;:::i;:::-;;;;;;;;;;;;;;;;40218:304;;;:::i;:::-;;36776:25;;;:::i;37681:332::-;;;;;;;;;;;;;;;;-1:-1:-1;37681:332:0;;;;;;;;;;;;:::i;36881:24::-;;;:::i;36575:28::-;;;:::i;36607:29::-;;;:::i;33219:148::-;;;:::i;36851:23::-;;;:::i;36642:28::-;;;:::i;36676:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;36676:28:0;;;;;;;;;;;;;;32577:79;;;:::i;36738:34::-;;;:::i;37380:296::-;;;;;;;;;;;;;;;;-1:-1:-1;37380:296:0;;;;;;;;;;;;:::i;38018:209::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38018:209:0;;;;;;;;:::i;39818:290::-;;;;;;;;;;;;;;;;-1:-1:-1;39818:290:0;-1:-1:-1;;;;;39818:290:0;;:::i;38233:680::-;;;;;;;;;;;;;;;;-1:-1:-1;38233:680:0;;:::i;36539:30::-;;;:::i;36941:23::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;38918:488;;;:::i;40114:92::-;;;;;;;;;;;;;;;;-1:-1:-1;40114:92:0;;;;:::i;39411:402::-;;;:::i;40547:275::-;;;;;;;;;;;;;;;;-1:-1:-1;40547:275:0;-1:-1:-1;;;;;40547:275:0;;:::i;37073:55::-;;;;;;;;;;;;;;;;-1:-1:-1;37073:55:0;-1:-1:-1;;;;;37073:55:0;;:::i;36909:28::-;;;:::i;33522:244::-;;;;;;;;;;;;;;;;-1:-1:-1;33522:244:0;-1:-1:-1;;;;;33522:244:0;;:::i;37046:23::-;;;;;;;;;;;;;;;;-1:-1:-1;37046:23:0;;:::i;:::-;;;;-1:-1:-1;;;;;37046:23:0;;;;;;;;;;;;;;;;;;;;;36708:24;;;:::i;36807:40::-;;;;;;;;;;;;;:::o;40218:304::-;40264:11;;;;40256:41;;;;;-1:-1:-1;;;40256:41:0;;;;;;;;;;;;-1:-1:-1;;;40256:41:0;;;;;;;;;;;;;;;40325:10;40339:1;40316:20;;;:8;:20;;;;;;40308:53;;;;;-1:-1:-1;;;40308:53:0;;;;;;;;;;;;-1:-1:-1;;;40308:53:0;;;;;;;;;;;;;;;40405:10;40382:11;40396:20;;;:8;:20;;;;;;;40427:24;;;40472:9;;40396:20;;40472:42;;-1:-1:-1;;;;;40472:9:0;;40396:20;40472:22;:42::i;:::-;40218:304;:::o;36776:25::-;;;;:::o;37681:332::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;37833:17:::1;;37812;:38;;37804:87;;;;-1:-1:-1::0;;;37804:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37896:13;:30:::0;;;;37931:16:::1;:36:::0;37972:16:::1;:36:::0;37681:332::o;36881:24::-;;;;:::o;36575:28::-;;;;:::o;36607:29::-;;;;:::o;33219:148::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;33326:1:::1;33310:6:::0;;33289:40:::1;::::0;-1:-1:-1;;;;;33310:6:0;;::::1;::::0;33289:40:::1;::::0;33326:1;;33289:40:::1;33357:1;33340:19:::0;;-1:-1:-1;;;;;;33340:19:0::1;::::0;;33219:148::o;36851:23::-;;;;:::o;36642:28::-;;;;:::o;36676:::-;;;-1:-1:-1;;;;;36676:28:0;;:::o;32577:79::-;32615:7;32642:6;-1:-1:-1;;;;;32642:6:0;32577:79;:::o;36738:34::-;;;-1:-1:-1;;;;;36738:34:0;;:::o;37380:296::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;37503:16:::1;::::0;:21;37495:45:::1;;;::::0;;-1:-1:-1;;;37495:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37495:45:0;;;;;;;;;;;;;::::1;;37555:16;:36:::0;;;;37596:17:::1;:38:::0;37643:12:::1;:28:::0;37380:296::o;38018:209::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;38118:53:::1;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;38118:53:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;38105:7:::1;:67:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;38105:67:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;38105:67:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;38182:40;;;;;;;38118:53;;38182:40:::1;::::0;;;;;;;;;::::1;38018:209:::0;;:::o;39818:290::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;39900:8:::1;::::0;::::1;::::0;::::1;;;39892:38;;;::::0;;-1:-1:-1;;;39892:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39892:38:0;;;;;;;;;;;;;::::1;;39963:13;::::0;-1:-1:-1;;;;;39947:29:0;;::::1;39963:13:::0;::::1;39947:29;;39939:70;;;::::0;;-1:-1:-1;;;39939:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;40014:89;40048:7;:5;:7::i;:::-;40057:45;::::0;;-1:-1:-1;;;40057:45:0;;40096:4:::1;40057:45;::::0;::::1;::::0;;;-1:-1:-1;;;;;40057:30:0;::::1;::::0;::::1;::::0;:45;;;;;::::1;::::0;;;;;;;;:30;:45;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40057:45:0;-1:-1:-1;;;;;40014:33:0;::::1;::::0;:89;:33:::1;:89::i;38233:680::-:0;35424:1;36030:7;;:19;;36022:63;;;;;-1:-1:-1;;;36022:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35424:1;36163:7;:18;38316:16:::1;::::0;38298:15:::1;:34;:73:::0;::::1;;;;38354:17;;38336:15;:35;38298:73;38290:104;;;::::0;;-1:-1:-1;;;38290:104:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;38290:104:0;;;;;;;;;;;;;::::1;;38436:12;::::0;38410:11:::1;::::0;:23:::1;::::0;38426:6;38410:15:::1;:23::i;:::-;:38;38407:108;;;38491:11;::::0;38474:12:::1;::::0;:29:::1;::::0;:16:::1;:29::i;:::-;38465:38;;38407:108;38573:16;::::0;38547:10:::1;38538:20;::::0;;;:8:::1;:20;::::0;;;;;:32:::1;::::0;38563:6;38538:24:::1;:32::i;:::-;:51;38535:134;;;38645:10;38636:20;::::0;;;:8:::1;:20;::::0;;;;;38615:16:::1;::::0;:42:::1;::::0;:20:::1;:42::i;:::-;38606:51;;38535:134;38706:1;38697:6;:10;38689:39;;;::::0;;-1:-1:-1;;;38689:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;38689:39:0;;;;;;;;;;;;;::::1;;38741:9;::::0;:57:::1;::::0;;-1:-1:-1;;;38741:57:0;;38764:10:::1;38741:57;::::0;::::1;::::0;38784:4:::1;38741:57:::0;;;;;;;;;;;;-1:-1:-1;;;;;38741:9:0;;::::1;::::0;:22:::1;::::0;:57;;;;;::::1;::::0;;;;;;;;;:9:::1;::::0;:57;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38741:57:0;38733:66:::1;;;::::0;::::1;;38843:10;38834:20;::::0;;;:8:::1;:20;::::0;;;;;:32:::1;::::0;38859:6;38834:24:::1;:32::i;:::-;38820:10;38811:20;::::0;;;:8:::1;:20;::::0;;;;:55;38885:11:::1;::::0;:23:::1;::::0;38901:6;38885:15:::1;:23::i;:::-;38871:11;:37:::0;-1:-1:-1;35380:1:0;36342:22;;38233:680::o;36539:30::-;;;-1:-1:-1;;;;;36539:30:0;;:::o;36941:23::-;;;;;;:::o;38918:488::-;35424:1;36030:7;;:19;;36022:63;;;;;-1:-1:-1;;;36022:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35424:1;36163:7;:18;38997:16:::1;::::0;38978:15:::1;:35;;38970:66;;;::::0;;-1:-1:-1;;;38970:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;38970:66:0;;;;;;;;;;;;;::::1;;39058:10;39072:1;39049:20:::0;;;:8:::1;:20;::::0;;;;;39041:53:::1;;;::::0;;-1:-1:-1;;;39041:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39041:53:0;;;;;;;;;;;;;::::1;;39136:10;39101:8;39112:35:::0;;;:23:::1;:35;::::0;;;;;;39190:7:::1;:14:::0;39152:52;;;39112:35;39211:191:::1;39233:7;:14:::0;39229:18;::::1;39211:191;;;39260:11;39274:60;39322:11;;39274:43;39296:8;:20;39305:10;-1:-1:-1::0;;;;;39296:20:0::1;-1:-1:-1::0;;;;;39296:20:0::1;;;;;;;;;;;;;39274:7;39282:1;39274:10;;;;;;;;;;;;;;;;;;:17;;;:21;;:43;;;;:::i;:::-;:47:::0;::::1;:60::i;:::-;39260:74;;39340:56;39377:10;39389:6;39347:7;39355:1;39347:10;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:15:::0;-1:-1:-1;;;;;39347:15:0::1;::::0;39340:56;:36:::1;:56::i;:::-;-1:-1:-1::0;39249:3:0::1;;39211:191;;;-1:-1:-1::0;;35380:1:0;36342:22;;38918:488::o;40114:92::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;40183:11:::1;:18:::0;;-1:-1:-1;;40183:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;40114:92::o;39411:402::-;39452:8;;;;;;;39451:9;39443:38;;;;;-1:-1:-1;;;39443:38:0;;;;;;;;;;;;-1:-1:-1;;;39443:38:0;;;;;;;;;;;;;;;39512:17;;39494:15;:35;39486:65;;;;;-1:-1:-1;;;39486:65:0;;;;;;;;;;;;-1:-1:-1;;;39486:65:0;;;;;;;;;;;;;;;39558:8;:15;;-1:-1:-1;;39558:15:0;;;;;39598:13;;39583:11;;:28;39580:113;;39642:19;;39663:11;;39619:9;;:56;;-1:-1:-1;;;;;39619:9:0;;;;39642:19;;;39619:22;:56::i;:::-;39681:7;;39580:113;39722:19;;39743:13;;39699:9;;:58;;-1:-1:-1;;;;;39699:9:0;;;;39722:19;;;39699:22;:58::i;:::-;39762:9;;39793:13;;39777:11;;-1:-1:-1;;;;;39762:9:0;;;;:14;;39777:30;;:11;:15;:30::i;:::-;39762:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39411:402;:::o;40547:275::-;-1:-1:-1;;;;;40646:29:0;;40606:4;40646:29;;;:23;:29;;;;;;40606:4;;40633:168;40681:7;:14;40677:18;;40633:168;;;40708:11;40722:54;40764:11;;40722:37;40744:8;:14;40753:4;-1:-1:-1;;;;;40744:14:0;-1:-1:-1;;;;;40744:14:0;;;;;;;;;;;;;40722:7;40730:1;40722:10;;;;;;;:54;40782:13;;;;;-1:-1:-1;40697:3:0;;40633:168;;;-1:-1:-1;40814:3:0;40547:275;-1:-1:-1;;40547:275:0:o;37073:55::-;;;;;;;;;;;;;:::o;36909:28::-;;;;:::o;33522:244::-;32799:12;:10;:12::i;:::-;32789:6;;-1:-1:-1;;;;;32789:6:0;;;:22;;;32781:67;;;;;-1:-1:-1;;;32781:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32781:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;33611:22:0;::::1;33603:73;;;;-1:-1:-1::0;;;33603:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33713:6;::::0;;33692:38:::1;::::0;-1:-1:-1;;;;;33692:38:0;;::::1;::::0;33713:6;::::1;::::0;33692:38:::1;::::0;::::1;33741:6;:17:::0;;-1:-1:-1;;;;;;33741:17:0::1;-1:-1:-1::0;;;;;33741:17:0;;;::::1;::::0;;;::::1;::::0;;33522:244::o;37046:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37046:23:0;;;;-1:-1:-1;37046:23:0;:::o;36708:24::-;;;;:::o;28487:177::-;28597:58;;;-1:-1:-1;;;;;28597:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28597:58:0;-1:-1:-1;;;28597:58:0;;;28570:86;;28590:5;;28570:19;:86::i;:::-;28487:177;;;:::o;12843:106::-;12931:10;12843:106;:::o;7838:181::-;7896:7;7928:5;;;7952:6;;;;7944:46;;;;;-1:-1:-1;;;7944:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8010:1;-1:-1:-1;7838:181:0;;;;;:::o;8302:136::-;8360:7;8387:43;8391:1;8394;8387:43;;;;;;;;;;;;;;;;;:3;:43::i;9192:471::-;9250:7;9495:6;9491:47;;-1:-1:-1;9525:1:0;9518:8;;9491:47;9562:5;;;9566:1;9562;:5;:1;9586:5;;;;;:10;9578:56;;;;-1:-1:-1;;;9578:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10139:132;10197:7;10224:39;10228:1;10231;10224:39;;;;;;;;;;;;;;;;;:3;:39::i;30792:761::-;31216:23;31242:69;31270:4;31242:69;;;;;;;;;;;;;;;;;31250:5;-1:-1:-1;;;;;31242:27:0;;;:69;;;;;:::i;:::-;31326:17;;31216:95;;-1:-1:-1;31326:21:0;31322:224;;31468:10;31457:30;;;;;;;;;;;;;;;-1:-1:-1;31457:30:0;31449:85;;;;-1:-1:-1;;;31449:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8741:192;8827:7;8863:12;8855:6;;;;8847:29;;;;-1:-1:-1;;;8847:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8899:5:0;;;8741:192;;;;;;:::o;10767:278::-;10853:7;10888:12;10881:5;10873:28;;;;-1:-1:-1;;;10873:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10912:9;10928:1;10924;:5;;;;;;;10767:278;-1:-1:-1;;;;;10767:278:0:o;3659:195::-;3762:12;3794:52;3816:6;3824:4;3830:1;3833:12;3794:21;:52::i;:::-;3787:59;3659:195;-1:-1:-1;;;;3659:195:0:o;4711:530::-;4838:12;4896:5;4871:21;:30;;4863:81;;;;-1:-1:-1;;;4863:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4963:18;4974:6;4963:10;:18::i;:::-;4955:60;;;;;-1:-1:-1;;;4955:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5089:12;5103:23;5130:6;-1:-1:-1;;;;;5130:11:0;5150:5;5158:4;5130:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5130:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5088:75;;;;5181:52;5199:7;5208:10;5220:12;5181:17;:52::i;:::-;5174:59;4711:530;-1:-1:-1;;;;;;;4711:530:0:o;741:422::-;1108:20;1147:8;;;741:422::o;6247:742::-;6362:12;6391:7;6387:595;;;-1:-1:-1;6422:10:0;6415:17;;6387:595;6536:17;;:21;6532:439;;6799:10;6793:17;6860:15;6847:10;6843:2;6839:19;6832:44;6747:148;6935:20;;-1:-1:-1;;;6935:20:0;;;;;;;;;;;;;;;;;6942:12;;6935:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://4f43e4049b3daf7b28b3cdff1cf8e06939830d8b28a8c3904a237875fbfbd862

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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.