Contract 0xa01DddCaBd2b014a562936B54a51cA12FFa304D5

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc0430eeba994b404513c87c82286e9d2be9c53856c7112e2af0a512cb087d563Emergency Withdr...47539662022-09-22 17:01:39127 days 21 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.397699856566 4,914.18226552
0x1ab4919cafad4de259452e5a2f742dac8b3768f03ff8e4451eb467a5d7ad17d6Emergency Withdr...47539552022-09-22 17:00:36127 days 21 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.384893536734 4,914.182765399
0x6137073a73cc2d02737d1cf97b9bbded46e54413e18e0b75ad3f4831bc4ae07aDeposit47539272022-09-22 16:57:52127 days 21 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.476371170769 4,914.184022465
0x90a92701d2911a08897edabb8c4f211c9002b44fc5908648c05beec06a0b2753Deposit47539212022-09-22 16:57:18127 days 21 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.476371197673 4,914.184299996
0x587f634d2a531c15d419d899e1723965ee3409f090bb1cc5e14d98acf18ce67cDeposit44886052022-09-05 7:07:17145 days 7 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.743747869852 4,926.42871712
0x6b902bb4089e5abbc54789dd46e0598143c1467d2e9262cf2afa9325f5a87ec7Deposit43837842022-08-29 10:10:09152 days 4 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.670506707118 4,931.247891967
0xf34d9f7c41fa9d2a948e79a629f6b31e84a37cbf594812f59dcdc80bbcae533aDeposit43431072022-08-26 18:17:58154 days 20 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.593758311515 4,933.145383603
0xeefc4dd48c3c65ff0193c0d1730966a41b469cf18d26ec07005b3e5db3e40defDeposit43431012022-08-26 18:17:24154 days 20 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.667755529228 4,933.145656644
0x26144e782b5859e8409929ca18a46b2f84d75f9503a3d4a8acadd76594d0357cDeposit43220512022-08-25 9:09:52156 days 5 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.744907955006 4,934.112876028
0x824740aac4e52a43833d3cd85540e4e76c4599714fdad646b8cf0b1f5d152e8bSet42816212022-08-22 17:31:30158 days 21 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO3.914377605847 4,935.970480155
0x7829981f1dce0760d241a5d48052a8084387ab1429d8e664be3ba7e98f659cc1Deposit42788442022-08-22 13:08:56159 days 1 hr ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.74520770792 4,936.098375986
0x7de16a4e7520fc3a54a298845435eafb42e8de08778ebac67d60b4b742b3323aDeposit42165582022-08-18 11:12:48163 days 3 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.671559719577 4,938.992282009
0xac939481040769aacd05ed70fbfe5ccf118b83dcb7f9a5476e9375b4bafc59baSet41086202022-08-11 9:12:02170 days 5 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO3.920279210254 4,943.935988476
0x564ef76a17e93da9f02ca1e2e99f4c31511621440e9ade4dc449286fc3eaaaddDeposit40981642022-08-10 16:44:02170 days 22 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.94950064221 4,944.414519285
0x9de8dbf8bd66f2fa3be03734cff24d36da03a1a6f69d86be00d3448b0d1ca094Deposit40940762022-08-10 10:15:00171 days 4 hrs ago0x5b5b2d74497ae1e8bac747d70564ce46c30443c7 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.99820502313 4,944.595365172
0xa7ec2708c403a94d13f366931bb4706fdae19459bfa0343defc152f6032dc67cDeposit37446502022-07-18 10:27:51194 days 4 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.674494991212 4,960.579764892
0x300bcd22427ce5027c4be8b0bed5c40d696895eacadaedf5969aefd56b96cafdDeposit37446312022-07-18 10:26:02194 days 4 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.748903819741 4,960.580639601
0x5aa4a5536354c4c59102d97dbdb12742cadcab235b69512a4b4b8f3ae6320af3Deposit33651622022-06-23 10:11:19219 days 4 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.655770632706 4,976.592973462
0x5fb972a812103f3ac63df9de23516390bd9ccde03cd48fa3c806c1216befca25Deposit33651512022-06-23 10:10:15219 days 4 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.751321277331 4,976.593367808
0x902c3f35adb9c93b3764191b46f8b415e685955d3c79a047defc275f3985ca68Deposit31265122022-06-07 16:48:01234 days 22 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.657013832117 4,986.027518326
0x74dd75c7e43fc236e419edbc514562a5d29ba436e6b512d380e6a7444bf1fa4eDeposit31264982022-06-07 16:46:41234 days 22 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.7527456367 4,986.028023267
0x824e13080cf26dc214f3ddb7d2bd41b07985848de74820d9629c35bcd88440fbDeposit28093892022-05-17 15:45:02255 days 23 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.679591141981 4,998.059453721
0xf5bedaf66e021beef21c81e524548b31e85e39b4c47fd1331c92c8ad1695b133Deposit28093792022-05-17 15:44:05255 days 23 hrs ago0x0941c66eb7926cd4800cf8d30e1251a3974778e5 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.754562090731 4,998.059830903
0xe288ba699bd6b107610250b93baecc114d2c6ca34c214a9a18e9adee5ed330d0Emergency Withdr...25598542022-04-30 14:39:23273 days 9 mins ago0xae4ae17ac5ed68472fae2eccc12ac5c696e8a6ff IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.206010
0x19a8b5db2464cac25bbf5420757e557bd3aaa0d2a1d544fbb5fc485bed6c2f0fWithdraw24359142022-04-21 16:23:04281 days 22 hrs ago0xe220a2b9ff1ce8aa55d227389cda5bf6a081a0c2 IN  0xa01dddcabd2b014a562936b54a51ca12ffa304d50 CRO0.716620
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2022-02-10
*/

// SPDX-License-Identifier: MIT

// File: contracts/libs/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

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

// File: contracts/libs/Address.sol



pragma solidity >=0.6.2 <0.8.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);
    }

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

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

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

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

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

// File: contracts/libs/IBEP20.sol



pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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



pragma solidity ^0.6.0;




/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeBEP20: 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(IBEP20 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, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}

// File: contracts/libs/Context.sol



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: contracts/libs/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

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

// File: contracts/libs/BEP20.sol



pragma solidity >=0.4.0;






/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    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 bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

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

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, "BEP20: 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero")
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "BEP20: 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 {
        require(account != address(0), "BEP20: mint to the zero address");

        _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 {
        require(account != address(0), "BEP20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "BEP20: 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 is 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 {
        require(owner != address(0), "BEP20: approve from the zero address");
        require(spender != address(0), "BEP20: approve to the zero address");

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}

//CsaToken.
contract CsaToken is BEP20(" CSA Token", "CSA") {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
   
   
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
}
// File: contracts/MasterChef.sol



pragma solidity 0.6.12;







// MasterChef is the master of CSA. He can make CSA and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once CSA is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of CSA
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accCSAPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accCSAPerShare` (and `lastRewardSecond`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. CSA to distribute per second.
        uint256 lastRewardTime;  // Last timestamp that CSA distribution occurs.
        uint256 accCsaPerShare;   // Accumulated CSA per share, times 1e18. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        uint256 lpSupply;
    }

    // The CSA TOKEN!
    CsaToken public immutable csa;
    // Dev address.
    address public devaddr;
    // CSAS tokens created per second.
    uint256 public csaPerSecond;
    // Maximum Emission Rate
    uint256 public constant MAX_EMISSION_RATE = 1 ether;
    // Deposit Fee address
    address public feeAddress;
    // Fees Processor Address
    address public immutable feesProcessorAddress;
    // Project address for marketing, audits and development bills
    address public daoAddress;
    //staking CSA pool 
    address public immutable stakingCsaAddress;
   
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The timestamp when CSA mining starts.
    uint256 public startTime;

    // CSA Max Supply
    uint256 public constant MAX_SUPPLY = 400000 ether; 
    // Deposit fees divider
    uint256 private constant DEPOSIT_FEES_DIVIDER = 10000;
    // Deposit fees percentage - Dao Wallet
    uint8 public constant DAO_ADDRESS_PERCENTAGE = 10;
    // Deposit fees percentage - Dev/Team Wallet
    uint8 public constant FEE_ADDRESS_PERCENTAGE = 60;
    // Deposit fees percentage - buyback auto Wallet
    uint8 public constant FEES_PROCESSOR_PERCENTAGE = 30;

    event addPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP);
    event setPool(uint256 indexed pid, address lpToken, uint256 allocPoint, uint256 depositFeeBP);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event SetFeeAddress(address indexed user, address indexed newAddress);
    event SetDaoAddress(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);
    event SetStakingCsaAddress(address indexed user, address indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 csaPerSecond);
    event UpdateStartTime(uint256 newStartTime);
   
    constructor(
        CsaToken _csa,
        address _feesProcessorAddress,
        address _stakingCsaAddress,
        address _daoAddress,
        uint256 _csaPerSecond,
        uint256 _startTime
    ) public {
        csa = _csa;
        devaddr = msg.sender;
        feeAddress = msg.sender;
        feesProcessorAddress = _feesProcessorAddress;
        stakingCsaAddress = _stakingCsaAddress;
        daoAddress = _daoAddress;
        csaPerSecond = _csaPerSecond;
        startTime = _startTime;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    mapping(IBEP20 => bool) public poolExistence;
    modifier nonDuplicated(IBEP20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner nonDuplicated(_lpToken) {
        require(_depositFeeBP <= 400, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        _lpToken.balanceOf(address(this));
        uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
        lpToken : _lpToken,
        allocPoint : _allocPoint,
        lastRewardTime : lastRewardTime,
        accCsaPerShare : 0,
        depositFeeBP : _depositFeeBP,
        lpSupply: 0
        }));

        emit addPool(poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP);
    }

    // Update the given pool's CSA allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner {
        require(_depositFeeBP <= 400, "set: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;

        emit setPool(_pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP);
    }

    // Return reward multiplier over the given _from to _to timestamp.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from);
    }

    
    // View function to see pending csaToken on frontend.
    function pendingCsa(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accCsaPerShare = pool.accCsaPerShare;
        if (
            block.timestamp > pool.lastRewardTime &&
            pool.lpSupply != 0 &&
            totalAllocPoint > 0
        ) {
            uint256 multiplier = getMultiplier(
                pool.lastRewardTime,
                block.timestamp
            );
            uint256 csaReward = multiplier
                .mul(csaPerSecond)
                .mul(pool.allocPoint)
                .div(totalAllocPoint);
                uint256 devReward = csaReward.div(10);
                uint256 totalRewards = csa.totalSupply().add(devReward).add(
                csaReward
            );
                if (totalRewards > MAX_SUPPLY) { 
                csaReward = MAX_SUPPLY.sub(csa.totalSupply());
            }
            accCsaPerShare = accCsaPerShare.add(
                csaReward.mul(1e18).div(pool.lpSupply)
            );
        }
        return user.amount.mul(accCsaPerShare).div(1e18).sub(user.rewardDebt);
    }


    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

     // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        if (pool.lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(
            pool.lastRewardTime,
            block.timestamp
        );
        uint256 csaReward = multiplier
            .mul(csaPerSecond)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);

        uint256 devReward = csaReward.div(10);
        uint256 totalRewards = csa.totalSupply().add(devReward).add(
            csaReward
        );

        if (totalRewards <= MAX_SUPPLY) {  // NEEDS CHECKING HERE
            // mint as normal as not at maxSupply
            csa.mint(stakingCsaAddress, csaReward.div(10));
            csa.mint(address(this), csaReward);
        } else {
            // mint the difference only to MC, update csaReward
            csaReward = MAX_SUPPLY.sub(csa.totalSupply());
            csa.mint(address(this), csaReward);
        }

        if (csaReward != 0) {
            // only calculate and update if csaReward is non 0
            pool.accCsaPerShare = pool.accCsaPerShare.add(
                csaReward.mul(1e18).div(pool.lpSupply)
            );
        }

        pool.lastRewardTime = block.timestamp;
    }
    // Deposit LP tokens to MasterChef for CSA allocation.
    function deposit(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accCsaPerShare).div(1e18).sub(user.rewardDebt);
            if (pending > 0) {
                safeCsaTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) { 
            uint256 balanceBefore = pool.lpToken.balanceOf(address(this));
            pool.lpToken.transferFrom(msg.sender, address(this), _amount);
            _amount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore);
            if (pool.depositFeeBP > 0) {
                 uint256 depositFee = _amount.mul(pool.depositFeeBP).div(
                    DEPOSIT_FEES_DIVIDER
                );
                uint256 daoFeeAmount = 0;
                daoFeeAmount = depositFee.sub(
                    (
                        depositFee.mul(FEES_PROCESSOR_PERCENTAGE).div(100).add(
                            depositFee.mul(FEE_ADDRESS_PERCENTAGE).div(100)
                        )
                    )
                );
                pool.lpToken.safeTransfer(
                    feesProcessorAddress,
                    depositFee.mul(FEES_PROCESSOR_PERCENTAGE).div(100)
                );
                pool.lpToken.safeTransfer(
                    feeAddress,
                    depositFee.mul(FEE_ADDRESS_PERCENTAGE).div(100)
                );
                pool.lpToken.safeTransfer(daoAddress, daoFeeAmount);
                user.amount = user.amount.add(_amount).sub(depositFee);
                pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
                pool.lpSupply = pool.lpSupply.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accCsaPerShare).div(1e18);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accCsaPerShare).div(1e18).sub(user.rewardDebt);
        if (pending > 0) {
            safeCsaTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(msg.sender, _amount);
            pool.lpSupply = pool.lpSupply.sub(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCsaPerShare).div(1e18);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(msg.sender, amount);

        if (pool.lpSupply >=  amount) {
            pool.lpSupply = pool.lpSupply.sub(amount);
        } else {
            pool.lpSupply = 0;
        }
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe CSA transfer function, just in case if rounding error causes pool to not have enough CSA.
    function safeCsaTransfer(address _to, uint256 _amount) internal {
        uint256 csaBal = csa.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > csaBal) {
            transferSuccess = csa.transfer(_to, csaBal);
        } else {
            transferSuccess = csa.transfer(_to, _amount);
        }
        require(transferSuccess, "SafeCsaTransfert: transfer failed");
    }

    // Update dev address by the previous dev.
    function setDevAddress(address _devaddr) external {
        require(msg.sender == devaddr, "dev: wut?");
        require(_devaddr != address(0), "!nonzero");
        devaddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    function setFeeAddress(address _feeAddress) external {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        require(_feeAddress != address(0), "!nonzero");
        feeAddress = _feeAddress;
        emit SetFeeAddress(msg.sender, _feeAddress);
    }

    function setDaoAddress(address _daoAddress) external {
        require(msg.sender == daoAddress, "setDaoAddress: FORBIDDEN");
        require(_daoAddress != address(0), "!nonzero");
        daoAddress = _daoAddress;
        emit SetDaoAddress(msg.sender, _daoAddress);
    }
    // has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _csaPerSecond, bool _withUpdate) external onlyOwner {
        require(_csaPerSecond <= MAX_EMISSION_RATE,"Too high");
        if (_withUpdate) {
            massUpdatePools();
        }
        csaPerSecond = _csaPerSecond;
        emit UpdateEmissionRate(msg.sender, _csaPerSecond);
      }
// Only update before start of farm
    function updateStartTime(uint256 _newStartTime) external onlyOwner {
        require(
            block.timestamp < startTime,
            "cannot change start time if farm has already started"
        );
        require(
            block.timestamp < _newStartTime,
            "cannot set start time in the past"
        );
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardTime = _newStartTime;
        }
        startTime = _newStartTime;

        emit UpdateStartTime(startTime);
    }

}

Contract ABI

[{"inputs":[{"internalType":"contract CsaToken","name":"_csa","type":"address"},{"internalType":"address","name":"_feesProcessorAddress","type":"address"},{"internalType":"address","name":"_stakingCsaAddress","type":"address"},{"internalType":"address","name":"_daoAddress","type":"address"},{"internalType":"uint256","name":"_csaPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDaoAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetStakingCsaAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"csaPerSecond","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"UpdateStartTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"addPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositFeeBP","type":"uint256"}],"name":"setPool","type":"event"},{"inputs":[],"name":"DAO_ADDRESS_PERCENTAGE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEES_PROCESSOR_PERCENTAGE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_ADDRESS_PERCENTAGE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"csa","outputs":[{"internalType":"contract CsaToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"csaPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesProcessorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingCsa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accCsaPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"lpSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoAddress","type":"address"}],"name":"setDaoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingCsaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"uint256","name":"_csaPerSecond","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartTime","type":"uint256"}],"name":"updateStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260006008553480156200001657600080fd5b50604051620042d8380380620042d8833981810160405260c08110156200003c57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600062000091620002b860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600180819055508573ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508473ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160038190555080600981905550505050505050620002c0565b600033905090565b60805160601c60a05160601c60c05160601c613fa662000332600039806113235280611840525080611121528061300152508061121752806112e752806113c3528061147452806115305280612457528061252b52806132e45280613696528061376452806138375250613fa66000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063cbd258b5116100ad578063d49e77cd1161007c578063d49e77cd14610865578063d963842214610899578063e2bbb158146108eb578063ee0f54b414610923578063f2fde38b1461095757610211565b8063cbd258b514610744578063cf75a6441461079e578063d070a1cd146107bf578063d0d41fe11461082157610211565b80638705fcd4116100f45780638705fcd4146105d35780638da5cb5b146106175780638dbb1e3a1461064b57806393f1a40b146106975780639a3cac6a1461070057610211565b8063715018a614610522578063734301461461052c57806378e979251461054d57806384e82a331461056b57610211565b8063436cc3d6116101a857806351eb05a61161017757806351eb05a61461046a5780635312ea8e14610498578063594e8289146104c65780635a2eae30146104e4578063630b5ba11461051857610211565b8063436cc3d6146103a6578063441a3e70146103c457806345ff0d8f146103fc5780634e08837e1461043657610211565b806317caf6f1116101e457806317caf6f1146103025780632131c68c1461032057806332cb6b0c14610354578063412753581461037257610211565b806301e047fc1461021657806306bcf02f14610237578063081e3eda146102655780631526fe2714610283575b600080fd5b61021e61099b565b604051808260ff16815260200191505060405180910390f35b6102636004803603602081101561024d57600080fd5b81019080803590602001909291905050506109a0565b005b61026d610b8f565b6040518082815260200191505060405180910390f35b6102af6004803603602081101561029957600080fd5b8101908080359060200190929190505050610b9c565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018361ffff168152602001828152602001965050505050505060405180910390f35b61030a610c13565b6040518082815260200191505060405180910390f35b610328610c19565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61035c610c3f565b6040518082815260200191505060405180910390f35b61037a610c4d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ae610c73565b6040518082815260200191505060405180910390f35b6103fa600480360360408110156103da57600080fd5b810190808035906020019092919080359060200190929190505050610c7f565b005b6104346004803603604081101561041257600080fd5b8101908080359060200190929190803515159060200190929190505050610f8a565b005b61043e61111f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104966004803603602081101561048057600080fd5b8101908080359060200190929190505050611143565b005b6104c4600480360360208110156104ae57600080fd5b8101908080359060200190929190505050611642565b005b6104ce611838565b6040518082815260200191505060405180910390f35b6104ec61183e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610520611862565b005b61052a61188f565b005b6105346119fc565b604051808260ff16815260200191505060405180910390f35b610555611a01565b6040518082815260200191505060405180910390f35b6105d16004803603608081101561058157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803515159060200190929190505050611a07565b005b610615600480360360208110156105e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e92565b005b61061f612096565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106816004803603604081101561066157600080fd5b8101908080359060200190929190803590602001909291905050506120bf565b6040518082815260200191505060405180910390f35b6106e3600480360360408110156106ad57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120dc565b604051808381526020018281526020019250505060405180910390f35b6107426004803603602081101561071657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061210d565b005b6107866004803603602081101561075a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612311565b60405180821515815260200191505060405180910390f35b6107a6612331565b604051808260ff16815260200191505060405180910390f35b61080b600480360360408110156107d557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612336565b6040518082815260200191505060405180910390f35b6108636004803603602081101561083757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612682565b005b61086d612886565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108e9600480360360808110156108af57600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291908035151590602001909291905050506128ac565b005b6109216004803603604081101561090157600080fd5b810190808035906020019092919080359060200190929190505050612b16565b005b61092b6132e2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109996004803603602081101561096d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613306565b005b600a81565b6109a86134f8565b73ffffffffffffffffffffffffffffffffffffffff166109c6612096565b73ffffffffffffffffffffffffffffffffffffffff1614610a4f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6009544210610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180613ed66034913960400191505060405180910390fd5b804210610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613eb56021913960400191505060405180910390fd5b6000600680549050905060005b81811015610b4a57600060068281548110610b2557fe5b9060005260206000209060060201905083816002018190555050806001019050610b0e565b50816009819055507fa09018266c541576eb124551c9c57c82a8129add3ba6777a5974b1d0e6252e996009546040518082815260200191505060405180910390a15050565b6000600680549050905090565b60068181548110610ba957fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b60085481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6954b40b1f852bda00000081565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b670de0b6b3a764000081565b60026001541415610cf8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060068381548110610d0f57fe5b9060005260206000209060060201905060006007600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610ded576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610df684611143565b6000610e438260010154610e35670de0b6b3a7640000610e278760030154876000015461350090919063ffffffff16565b61358690919063ffffffff16565b61360f90919063ffffffff16565b90506000811115610e5957610e583382613692565b5b6000841115610ef057610e7984836000015461360f90919063ffffffff16565b8260000181905550610ed033858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166139609092919063ffffffff16565b610ee784846005015461360f90919063ffffffff16565b83600501819055505b610f25670de0b6b3a7640000610f178560030154856000015461350090919063ffffffff16565b61358690919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b610f926134f8565b73ffffffffffffffffffffffffffffffffffffffff16610fb0612096565b73ffffffffffffffffffffffffffffffffffffffff1614611039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b670de0b6b3a76400008211156110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f546f6f206869676800000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80156110c6576110c5611862565b5b816003819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053836040518082815260200191505060405180910390a25050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006006828154811061115257fe5b9060005260206000209060060201905080600201544211611173575061163f565b60008160050154148061118a575060008160010154145b1561119e574281600201819055505061163f565b60006111ae8260020154426120bf565b905060006111f16008546111e385600101546111d56003548761350090919063ffffffff16565b61350090919063ffffffff16565b61358690919063ffffffff16565b90506000611209600a8361358690919063ffffffff16565b905060006112d2836112c4847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561127b57600080fd5b505afa15801561128f573d6000803e3d6000fd5b505050506040513d60208110156112a557600080fd5b8101908080519060200190929190505050613a0290919063ffffffff16565b613a0290919063ffffffff16565b90506954b40b1f852bda000000811161146f577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f197f0000000000000000000000000000000000000000000000000000000000000000611356600a8761358690919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156113a957600080fd5b505af11580156113bd573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1930856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561145257600080fd5b505af1158015611466573d6000803e3d6000fd5b505050506115d8565b61152c7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d857600080fd5b505afa1580156114ec573d6000803e3d6000fd5b505050506040513d602081101561150257600080fd5b81019080805190602001909291905050506954b40b1f852bda00000061360f90919063ffffffff16565b92507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1930856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156115bf57600080fd5b505af11580156115d3573d6000803e3d6000fd5b505050505b60008314611630576116276116148660050154611606670de0b6b3a76400008761350090919063ffffffff16565b61358690919063ffffffff16565b8660030154613a0290919063ffffffff16565b85600301819055505b42856002018190555050505050505b50565b600260015414156116bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600682815481106116d257fe5b9060005260206000209060060201905060006007600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506117a233828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166139609092919063ffffffff16565b808360050154106117d1576117c481846005015461360f90919063ffffffff16565b83600501819055506117dc565b600083600501819055505b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600680549050905060005b8181101561188b5761188081611143565b80600101905061186f565b5050565b6118976134f8565b73ffffffffffffffffffffffffffffffffffffffff166118b5612096565b73ffffffffffffffffffffffffffffffffffffffff161461193e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601e81565b60095481565b611a0f6134f8565b73ffffffffffffffffffffffffffffffffffffffff16611a2d612096565b73ffffffffffffffffffffffffffffffffffffffff1614611ab6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8260001515600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611b7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b6101908361ffff161115611bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613e1a6025913960400191505060405180910390fd5b8115611beb57611bea611862565b5b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d6020811015611c7c57600080fd5b81019080805190602001909291905050505060006009544211611ca157600954611ca3565b425b9050611cba86600854613a0290919063ffffffff16565b6008819055506001600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060066040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015550506001600680549050037faa6642278d4bbef86d8990c37355d5d4dfe365c194106bdf7a65162268606f07868887604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a2505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f736574466565416464726573733a20464f5242494444454e000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006120d4838361360f90919063ffffffff16565b905092915050565b6007602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f73657444616f416464726573733a20464f5242494444454e000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612273576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3b8dbc80bf27331221431f1c8b2c6fe358eadfdb3c3d7085e6a2521eeb775b0760405160405180910390a350565b600a6020528060005260406000206000915054906101000a900460ff1681565b603c81565b6000806006848154811061234657fe5b9060005260206000209060060201905060006007600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000826003015490508260020154421180156123cb57506000836005015414155b80156123d957506000600854115b156126305760006123ee8460020154426120bf565b9050600061243160085461242387600101546124156003548761350090919063ffffffff16565b61350090919063ffffffff16565b61358690919063ffffffff16565b90506000612449600a8361358690919063ffffffff16565b9050600061251283612504847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156124bb57600080fd5b505afa1580156124cf573d6000803e3d6000fd5b505050506040513d60208110156124e557600080fd5b8101908080519060200190929190505050613a0290919063ffffffff16565b613a0290919063ffffffff16565b90506954b40b1f852bda0000008111156125e6576125e37f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561258f57600080fd5b505afa1580156125a3573d6000803e3d6000fd5b505050506040513d60208110156125b957600080fd5b81019080805190602001909291905050506954b40b1f852bda00000061360f90919063ffffffff16565b92505b61262961261a886005015461260c670de0b6b3a76400008761350090919063ffffffff16565b61358690919063ffffffff16565b86613a0290919063ffffffff16565b9450505050505b6126778260010154612669670de0b6b3a764000061265b85876000015461350090919063ffffffff16565b61358690919063ffffffff16565b61360f90919063ffffffff16565b935050505092915050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612745576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6465763a207775743f000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6128b46134f8565b73ffffffffffffffffffffffffffffffffffffffff166128d2612096565b73ffffffffffffffffffffffffffffffffffffffff161461295b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101908261ffff1611156129ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613f2b6025913960400191505060405180910390fd5b80156129c9576129c8611862565b5b612a0e83612a00600687815481106129dd57fe5b90600052602060002090600602016001015460085461360f90919063ffffffff16565b613a0290919063ffffffff16565b6008819055508260068581548110612a2257fe5b9060005260206000209060060201600101819055508160068581548110612a4557fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837f39f0c3d078af018954b4fa56832a05a2b511afaa999b133ea3f1c487c21ed28760068681548110612a9f57fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018261ffff168152602001935050505060405180910390a250505050565b60026001541415612b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060068381548110612ba657fe5b9060005260206000209060060201905060006007600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612c1384611143565b600081600001541115612c85576000612c6d8260010154612c5f670de0b6b3a7640000612c518760030154876000015461350090919063ffffffff16565b61358690919063ffffffff16565b61360f90919063ffffffff16565b90506000811115612c8357612c823382613692565b5b505b60008311156132495760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612d1b57600080fd5b505afa158015612d2f573d6000803e3d6000fd5b505050506040513d6020811015612d4557600080fd5b810190808051906020019092919050505090508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330876040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612e0b57600080fd5b505af1158015612e1f573d6000803e3d6000fd5b505050506040513d6020811015612e3557600080fd5b810190808051906020019092919050505050612f1f818460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ed657600080fd5b505afa158015612eea573d6000803e3d6000fd5b505050506040513d6020811015612f0057600080fd5b810190808051906020019092919050505061360f90919063ffffffff16565b935060008360040160009054906101000a900461ffff1661ffff161115613208576000612f7f612710612f718660040160009054906101000a900461ffff1661ffff168861350090919063ffffffff16565b61358690919063ffffffff16565b90506000612ffa612feb612fb36064612fa5603c60ff168761350090919063ffffffff16565b61358690919063ffffffff16565b612fdd6064612fcf601e60ff168861350090919063ffffffff16565b61358690919063ffffffff16565b613a0290919063ffffffff16565b8361360f90919063ffffffff16565b90506130947f000000000000000000000000000000000000000000000000000000000000000061304a606461303c601e60ff168761350090919063ffffffff16565b61358690919063ffffffff16565b8760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166139609092919063ffffffff16565b61312e600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166130e460646130d6603c60ff168761350090919063ffffffff16565b61358690919063ffffffff16565b8760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166139609092919063ffffffff16565b61319f600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166139609092919063ffffffff16565b6131c8826131ba888760000154613a0290919063ffffffff16565b61360f90919063ffffffff16565b84600001819055506131f9826131eb888860050154613a0290919063ffffffff16565b61360f90919063ffffffff16565b85600501819055505050613247565b61321f848360000154613a0290919063ffffffff16565b826000018190555061323e848460050154613a0290919063ffffffff16565b83600501819055505b505b61327e670de0b6b3a76400006132708460030154846000015461350090919063ffffffff16565b61358690919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61330e6134f8565b73ffffffffffffffffffffffffffffffffffffffff1661332c612096565b73ffffffffffffffffffffffffffffffffffffffff16146133b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561343b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613e696026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000808314156135135760009050613580565b600082840290508284828161352457fe5b041461357b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613f0a6021913960400191505060405180910390fd5b809150505b92915050565b60008082116135fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161360657fe5b04905092915050565b600082821115613687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561371b57600080fd5b505afa15801561372f573d6000803e3d6000fd5b505050506040513d602081101561374557600080fd5b81019080805190602001909291905050509050600081831115613835577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156137f357600080fd5b505af1158015613807573d6000803e3d6000fd5b505050506040513d602081101561381d57600080fd5b81019080805190602001909291905050509050613904565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156138c657600080fd5b505af11580156138da573d6000803e3d6000fd5b505050506040513d60208110156138f057600080fd5b810190808051906020019092919050505090505b8061395a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613f506021913960400191505060405180910390fd5b50505050565b6139fd8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613a8a565b505050565b600080828401905083811015613a80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6060613aec826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613b799092919063ffffffff16565b9050600081511115613b7457808060200190516020811015613b0d57600080fd5b8101908080519060200190929190505050613b73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613e3f602a913960400191505060405180910390fd5b5b505050565b6060613b888484600085613b91565b90509392505050565b606082471015613bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613e8f6026913960400191505060405180910390fd5b613bf585613d3a565b613c67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613cb75780518252602082019150602081019050602083039250613c94565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613d19576040519150601f19603f3d011682016040523d82523d6000602084013e613d1e565b606091505b5091509150613d2e828286613d4d565b92505050949350505050565b600080823b905060008111915050919050565b60608315613d5d57829050613e12565b600083511115613d705782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613dd7578082015181840152602081019050613dbc565b50505050905090810190601f168015613e045780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616e6e6f74207365742073746172742074696d6520696e20746865207061737463616e6e6f74206368616e67652073746172742074696d65206966206661726d2068617320616c72656164792073746172746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e7473536166654373615472616e73666572743a207472616e73666572206661696c6564a2646970667358221220e1a1f215e76383b0a1193131d2fd689121def94aa3df2fc3f3cece2924885e7b64736f6c634300060c00330000000000000000000000005d789fff37f7352d58969820760db0fe04d6e220000000000000000000000000f23d3aa1618ccd8b979fdbfc3970aeba7f81b124000000000000000000000000a0084600870d1b404754a636f7b1b190a2ada58d000000000000000000000000ea3096f8827a946f91e329a0313cc3ea8b59802a00000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000000000000620aa6b0

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

0000000000000000000000005d789fff37f7352d58969820760db0fe04d6e220000000000000000000000000f23d3aa1618ccd8b979fdbfc3970aeba7f81b124000000000000000000000000a0084600870d1b404754a636f7b1b190a2ada58d000000000000000000000000ea3096f8827a946f91e329a0313cc3ea8b59802a00000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000000000000620aa6b0

-----Decoded View---------------
Arg [0] : _csa (address): 0x5d789fff37f7352d58969820760db0fe04d6e220
Arg [1] : _feesProcessorAddress (address): 0xf23d3aa1618ccd8b979fdbfc3970aeba7f81b124
Arg [2] : _stakingCsaAddress (address): 0xa0084600870d1b404754a636f7b1b190a2ada58d
Arg [3] : _daoAddress (address): 0xea3096f8827a946f91e329a0313cc3ea8b59802a
Arg [4] : _csaPerSecond (uint256): 20000000000000000
Arg [5] : _startTime (uint256): 1644865200

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005d789fff37f7352d58969820760db0fe04d6e220
Arg [1] : 000000000000000000000000f23d3aa1618ccd8b979fdbfc3970aeba7f81b124
Arg [2] : 000000000000000000000000a0084600870d1b404754a636f7b1b190a2ada58d
Arg [3] : 000000000000000000000000ea3096f8827a946f91e329a0313cc3ea8b59802a
Arg [4] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [5] : 00000000000000000000000000000000000000000000000000000000620aa6b0


Deployed ByteCode Sourcemap

39553:15773:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42214:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;54691:630;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;43911:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41639:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41880:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41501:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42023:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41318:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41232:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51363:802;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54314:334;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41381:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47677:1469;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52236:551;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41168:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41558:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47420:180;;;:::i;:::-;;28088:148;;;:::i;:::-;;42430:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41967:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44281:869;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53626:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27437:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45896:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41721:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;53913:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44014:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42320:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46090:1245;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53372:246;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41099:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45261:555;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49212:2099;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41042:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28391:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42214:49;42261:2;42214:49;:::o;54691:630::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54809:9:::1;;54791:15;:27;54769:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54949:13;54931:15;:31;54909:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55034:14;55051:8;:15;;;;55034:32;;55082:11;55077:157;55105:6;55099:3;:12;55077:157;;;55135:21;55159:8;55168:3;55159:13;;;;;;;;;;;;;;;;;;55135:37;;55209:13;55187:4;:19;;:35;;;;55077:157;55113:5;;;;;55077:157;;;;55256:13;55244:9;:25;;;;55287:26;55303:9;;55287:26;;;;;;;;;;;;;;;;;;27728:1;54691:630:::0;:::o;43911:95::-;43956:7;43983:8;:15;;;;43976:22;;43911:95;:::o;41639:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41880:34::-;;;;:::o;41501:25::-;;;;;;;;;;;;;:::o;42023:49::-;42060:12;42023:49;:::o;41318:25::-;;;;;;;;;;;;;:::o;41232:51::-;41276:7;41232:51;:::o;51363:802::-;1772:1;2378:7;;:19;;2370:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1772:1;2511:7;:18;;;;51445:21:::1;51469:8;51478:4;51469:14;;;;;;;;;;;;;;;;;;51445:38;;51494:21;51518:8;:14;51527:4;51518:14;;;;;;;;;;;:26;51533:10;51518:26;;;;;;;;;;;;;;;51494:50;;51578:7;51563:4;:11;;;:22;;51555:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;51619:16;51630:4;51619:10;:16::i;:::-;51646:15;51664:67;51715:4;:15;;;51664:46;51705:4;51664:36;51680:4;:19;;;51664:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;51646:85;;51756:1;51746:7;:11;51742:80;;;51774:36;51790:10;51802:7;51774:15;:36::i;:::-;51742:80;51846:1;51836:7;:11;51832:200;;;51878:24;51894:7;51878:4;:11;;;:15;;:24;;;;:::i;:::-;51864:4;:11;;:38;;;;51917:46;51943:10;51955:7;51917:4;:12;;;;;;;;;;;;:25;;;;:46;;;;;:::i;:::-;51994:26;52012:7;51994:4;:13;;;:17;;:26;;;;:::i;:::-;51978:4;:13;;:42;;;;51832:200;52060:46;52101:4;52060:36;52076:4;:19;;;52060:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;52042:4;:15;;:64;;;;52143:4;52131:10;52122:35;;;52149:7;52122:35;;;;;;;;;;;;;;;;;;2542:1;;;1728::::0;2690:7;:22;;;;51363:802;;:::o;54314:334::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41276:7:::1;54421:13;:34;;54413:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54482:11;54478:61;;;54510:17;:15;:17::i;:::-;54478:61;54564:13;54549:12;:28;;;;54612:10;54593:45;;;54624:13;54593:45;;;;;;;;;;;;;;;;;;54314:334:::0;;:::o;41381:45::-;;;:::o;47677:1469::-;47729:21;47753:8;47762:4;47753:14;;;;;;;;;;;;;;;;;;47729:38;;47801:4;:19;;;47782:15;:38;47778:77;;47837:7;;;47778:77;47886:1;47869:4;:13;;;:18;:42;;;;47910:1;47891:4;:15;;;:20;47869:42;47865:133;;;47950:15;47928:4;:19;;:37;;;;47980:7;;;47865:133;48008:18;48029:88;48057:4;:19;;;48091:15;48029:13;:88::i;:::-;48008:109;;48128:17;48148:112;48244:15;;48148:77;48209:4;:15;;;48148:42;48177:12;;48148:10;:28;;:42;;;;:::i;:::-;:60;;:77;;;;:::i;:::-;:95;;:112;;;;:::i;:::-;48128:132;;48273:17;48293;48307:2;48293:9;:13;;:17;;;;:::i;:::-;48273:37;;48321:20;48344:71;48395:9;48344:32;48366:9;48344:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;:36;;:71;;;;:::i;:::-;48321:94;;42060:12;48432;:26;48428:421;;48550:3;:8;;;48559:17;48578;48592:2;48578:9;:13;;:17;;;;:::i;:::-;48550:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48611:3;:8;;;48628:4;48635:9;48611:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48428:421;;;48755:33;48770:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42060:12;48755:14;;:33;;;;:::i;:::-;48743:45;;48803:3;:8;;;48820:4;48827:9;48803:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48428:421;48878:1;48865:9;:14;48861:228;;48982:95;49024:38;49048:4;:13;;;49024:19;49038:4;49024:9;:13;;:19;;;;:::i;:::-;:23;;:38;;;;:::i;:::-;48982:4;:19;;;:23;;:95;;;;:::i;:::-;48960:4;:19;;:117;;;;48861:228;49123:15;49101:4;:19;;:37;;;;47677:1469;;;;;;;:::o;52236:551::-;1772:1;2378:7;;:19;;2370:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1772:1;2511:7;:18;;;;52310:21:::1;52334:8;52343:4;52334:14;;;;;;;;;;;;;;;;;;52310:38;;52359:21;52383:8;:14;52392:4;52383:14;;;;;;;;;;;:26;52398:10;52383:26;;;;;;;;;;;;;;;52359:50;;52420:14;52437:4;:11;;;52420:28;;52473:1;52459:4;:11;;:15;;;;52503:1;52485:4;:15;;:19;;;;52515:45;52541:10;52553:6;52515:4;:12;;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;52595:6;52577:4;:13;;;:24;52573:148;;52634:25;52652:6;52634:4;:13;;;:17;;:25;;;;:::i;:::-;52618:4;:13;;:41;;;;52573:148;;;52708:1;52692:4;:13;;:17;;;;52573:148;52766:4;52754:10;52736:43;;;52772:6;52736:43;;;;;;;;;;;;;;;;;;2542:1;;;1728::::0;2690:7;:22;;;;52236:551;:::o;41168:27::-;;;;:::o;41558:42::-;;;:::o;47420:180::-;47465:14;47482:8;:15;;;;47465:32;;47513:11;47508:85;47536:6;47530:3;:12;47508:85;;;47566:15;47577:3;47566:10;:15::i;:::-;47544:5;;;;;47508:85;;;;47420:180;:::o;28088:148::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28195:1:::1;28158:40;;28179:6;::::0;::::1;;;;;;;;28158:40;;;;;;;;;;;;28226:1;28209:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;28088:148::o:0;42430:52::-;42480:2;42430:52;:::o;41967:24::-;;;;:::o;44281:869::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44405:8:::1;44151:5;44124:32;;:13;:23;44138:8;44124:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;44116:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44451:3:::2;44434:13;:20;;;;44426:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44511:11;44507:61;;;44539:17;:15;:17::i;:::-;44507:61;44578:8;:18;;;44605:4;44578:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;44622:22;44665:9;;44647:15;:27;:57;;44695:9;;44647:57;;;44677:15;44647:57;44622:82;;44733:32;44753:11;44733:15;;:19;;:32;;;;:::i;:::-;44715:15;:50;;;;44802:4;44776:13;:23;44790:8;44776:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;44817:8;44831:217;;;;;;;;44861:8;44831:217;;;;;;44893:11;44831:217;;;;44932:14;44831:217;;;;44974:1;44831:217;;;;45001:13;44831:217;;;;;;45035:1;44831:217;;::::0;44817:232:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45093:1;45075:8;:15;;;;:19;45067:75;45104:8;45115:11;45128:13;45067:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44197:1;27728::::1;44281:869:::0;;;;:::o;53626:279::-;53712:10;;;;;;;;;;;53698:24;;:10;:24;;;53690:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53793:1;53770:25;;:11;:25;;;;53762:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53832:11;53819:10;;:24;;;;;;;;;;;;;;;;;;53885:11;53859:38;;53873:10;53859:38;;;;;;;;;;;;53626:279;:::o;27437:87::-;27483:7;27510:6;;;;;;;;;;;27503:13;;27437:87;:::o;45896:121::-;45968:7;45995:14;46003:5;45995:3;:7;;:14;;;;:::i;:::-;45988:21;;45896:121;;;;:::o;41721:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53913:279::-;53999:10;;;;;;;;;;;53985:24;;:10;:24;;;53977:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54080:1;54057:25;;:11;:25;;;;54049:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54119:11;54106:10;;:24;;;;;;;;;;;;;;;;;;54172:11;54146:38;;54160:10;54146:38;;;;;;;;;;;;53913:279;:::o;44014:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;42320:49::-;42367:2;42320:49;:::o;46090:1245::-;46189:7;46214:21;46238:8;46247:4;46238:14;;;;;;;;;;;;;;;;;;46214:38;;46263:21;46287:8;:14;46296:4;46287:14;;;;;;;;;;;:21;46302:5;46287:21;;;;;;;;;;;;;;;46263:45;;46319:22;46344:4;:19;;;46319:44;;46410:4;:19;;;46392:15;:37;:72;;;;;46463:1;46446:4;:13;;;:18;;46392:72;:108;;;;;46499:1;46481:15;;:19;46392:108;46374:874;;;46527:18;46548:100;46580:4;:19;;;46618:15;46548:13;:100::i;:::-;46527:121;;46663:17;46683:124;46791:15;;46683:85;46752:4;:15;;;46683:46;46716:12;;46683:10;:32;;:46;;;;:::i;:::-;:68;;:85;;;;:::i;:::-;:107;;:124;;;;:::i;:::-;46663:144;;46826:17;46846;46860:2;46846:9;:13;;:17;;;;:::i;:::-;46826:37;;46882:20;46905:79;46960:9;46905:32;46927:9;46905:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:21;;:32;;;;:::i;:::-;:36;;:79;;;;:::i;:::-;46882:102;;42060:12;47007;:25;47003:112;;;47066:33;47081:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42060:12;47066:14;;:33;;;;:::i;:::-;47054:45;;47003:112;47146:90;47183:38;47207:4;:13;;;47183:19;47197:4;47183:9;:13;;:19;;;;:::i;:::-;:23;;:38;;;;:::i;:::-;47146:14;:18;;:90;;;;:::i;:::-;47129:107;;46374:874;;;;;47265:62;47311:4;:15;;;47265:41;47301:4;47265:31;47281:14;47265:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;47258:69;;;;;46090:1245;;;;:::o;53372:246::-;53455:7;;;;;;;;;;;53441:21;;:10;:21;;;53433:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53515:1;53495:22;;:8;:22;;;;53487:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53551:8;53541:7;;:18;;;;;;;;;;;;;;;;;;53601:8;53575:35;;53589:10;53575:35;;;;;;;;;;;;53372:246;:::o;41099:22::-;;;;;;;;;;;;;:::o;45261:555::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45404:3:::1;45387:13;:20;;;;45379:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45464:11;45460:61;;;45492:17;:15;:17::i;:::-;45460:61;45549:63;45600:11;45549:46;45569:8;45578:4;45569:14;;;;;;;;;;;;;;;;;;:25;;;45549:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;45531:15;:81;;;;45651:11;45623:8;45632:4;45623:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;45703:13;45673:8;45682:4;45673:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;45742:4;45734:74;45756:8;45765:4;45756:14;;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;45781:11;45794:13;45734:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45261:555:::0;;;;:::o;49212:2099::-;1772:1;2378:7;;:19;;2370:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1772:1;2511:7;:18;;;;49293:21:::1;49317:8;49326:4;49317:14;;;;;;;;;;;;;;;;;;49293:38;;49342:21;49366:8;:14;49375:4;49366:14;;;;;;;;;;;:26;49381:10;49366:26;;;;;;;;;;;;;;;49342:50;;49403:16;49414:4;49403:10;:16::i;:::-;49448:1;49434:4;:11;;;:15;49430:235;;;49466:15;49484:67;49535:4;:15;;;49484:46;49525:4;49484:36;49500:4;:19;;;49484:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;49466:85;;49580:1;49570:7;:11;49566:88;;;49602:36;49618:10;49630:7;49602:15;:36::i;:::-;49566:88;49430:235;;49689:1;49679:7;:11;49675:1504;;;49708:21;49732:4;:12;;;;;;;;;;;;:22;;;49763:4;49732:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;49708:61;;49784:4;:12;;;;;;;;;;;;:25;;;49810:10;49830:4;49837:7;49784:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;49870:56;49912:13;49870:4;:12;;;;;;;;;;;;:22;;;49901:4;49870:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:41;;:56;;;;:::i;:::-;49860:66;;49965:1;49945:4;:17;;;;;;;;;;;;:21;;;49941:1227;;;49988:18;50009:96;42157:5;50009:30;50021:4;:17;;;;;;;;;;;;50009:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:96;;;;:::i;:::-;49988:117;;50124:20;50182:265;50246:159;50331:47;50374:3;50331:38;42367:2;50331:38;;:10;:14;;:38;;;;:::i;:::-;:42;;:47;;;;:::i;:::-;50246:50;50292:3;50246:41;42480:2;50246:41;;:10;:14;;:41;;;;:::i;:::-;:45;;:50;;;;:::i;:::-;:54;;:159;;;;:::i;:::-;50182:10;:14;;:265;;;;:::i;:::-;50167:280;;50466:160;50514:20;50557:50;50603:3;50557:41;42480:2;50557:41;;:10;:14;;:41;;;;:::i;:::-;:45;;:50;;;;:::i;:::-;50466:4;:12;;;;;;;;;;;;:25;;;;:160;;;;;:::i;:::-;50645:147;50693:10;;;;;;;;;;;50726:47;50769:3;50726:38;42367:2;50726:38;;:10;:14;;:38;;;;:::i;:::-;:42;;:47;;;;:::i;:::-;50645:4;:12;;;;;;;;;;;;:25;;;;:147;;;;;:::i;:::-;50811:51;50837:10;;;;;;;;;;;50849:12;50811:4;:12;;;;;;;;;;;;:25;;;;:51;;;;;:::i;:::-;50895:40;50924:10;50895:24;50911:7;50895:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;50881:4;:11;;:54;;;;50970:42;51001:10;50970:26;50988:7;50970:4;:13;;;:17;;:26;;;;:::i;:::-;:30;;:42;;;;:::i;:::-;50954:4;:13;;:58;;;;49941:1227;;;;;51067:24;51083:7;51067:4;:11;;;:15;;:24;;;;:::i;:::-;51053:4;:11;;:38;;;;51126:26;51144:7;51126:4;:13;;;:17;;:26;;;;:::i;:::-;51110:4;:13;;:42;;;;49941:1227;49675:1504;;51207:46;51248:4;51207:36;51223:4;:19;;;51207:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;51189:4;:15;;:64;;;;51289:4;51277:10;51269:34;;;51295:7;51269:34;;;;;;;;;;;;;;;;;;2542:1;;1728::::0;2690:7;:22;;;;49212:2099;;:::o;41042:29::-;;;:::o;28391:244::-;27668:12;:10;:12::i;:::-;27657:23;;:7;:5;:7::i;:::-;:23;;;27649:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28500:1:::1;28480:22;;:8;:22;;;;28472:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28590:8;28561:38;;28582:6;::::0;::::1;;;;;;;;28561:38;;;;;;;;;;;;28619:8;28610:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;28391:244:::0;:::o;25988:106::-;26041:15;26076:10;26069:17;;25988:106;:::o;17626:220::-;17684:7;17713:1;17708;:6;17704:20;;;17723:1;17716:8;;;;17704:20;17735:9;17751:1;17747;:5;17735:17;;17780:1;17775;17771;:5;;;;;;:10;17763:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17837:1;17830:8;;;17626:220;;;;;:::o;18324:153::-;18382:7;18414:1;18410;:5;18402:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18468:1;18464;:5;;;;;;18457:12;;18324:153;;;;:::o;17209:158::-;17267:7;17300:1;17295;:6;;17287:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17358:1;17354;:5;17347:12;;17209:158;;;;:::o;52898:418::-;52973:14;52990:3;:13;;;53012:4;52990:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52973:45;;53029:20;53082:6;53072:7;:16;53068:169;;;53123:3;:12;;;53136:3;53141:6;53123:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53105:43;;53068:169;;;53199:3;:12;;;53212:3;53217:7;53199:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53181:44;;53068:169;53255:15;53247:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52898:418;;;;:::o;22051:211::-;22168:86;22188:5;22218:23;;;22243:2;22247:5;22195:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22168:19;:86::i;:::-;22051:211;;;:::o;16747:179::-;16805:7;16825:9;16841:1;16837;:5;16825:17;;16866:1;16861;:6;;16853:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16917:1;16910:8;;;16747:179;;;;:::o;24586:774::-;25010:23;25036:69;25064:4;25036:69;;;;;;;;;;;;;;;;;25044:5;25036:27;;;;:69;;;;;:::i;:::-;25010:95;;25140:1;25120:10;:17;:21;25116:237;;;25275:10;25264:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25256:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25116:237;24586:774;;;:::o;6404:195::-;6507:12;6539:52;6561:6;6569:4;6575:1;6578:12;6539:21;:52::i;:::-;6532:59;;6404:195;;;;;:::o;7456:530::-;7583:12;7641:5;7616:21;:30;;7608:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7708:18;7719:6;7708:10;:18::i;:::-;7700:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7834:12;7848:23;7875:6;:11;;7895:5;7903:4;7875:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7833:75;;;;7926:52;7944:7;7953:10;7965:12;7926:17;:52::i;:::-;7919:59;;;;7456:530;;;;;;:::o;3486:422::-;3546:4;3754:12;3865:7;3853:20;3845:28;;3899:1;3892:4;:8;3885:15;;;3486:422;;;:::o;9996:742::-;10111:12;10140:7;10136:595;;;10171:10;10164:17;;;;10136:595;10305:1;10285:10;:17;:21;10281:439;;;10548:10;10542:17;10609:15;10596:10;10592:2;10588:19;10581:44;10496:148;10691:12;10684:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9996:742;;;;;;:::o

Swarm Source

ipfs://e1a1f215e76383b0a1193131d2fd689121def94aa3df2fc3f3cece2924885e7b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.