Contract 0x9ed04b13ab6cae27ee397ee16452adc15d9d561e 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0682f0ca9b153261928e5c133862203bbb3b9e661a9b95971fe55a5cd5b214efWithdraw195838372021-10-20 11:19:1911 secs ago0xff921cbbff383ecae00643e2a5ff1a53360c8eff IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.046377929587
0x3b66e375b539a492e62bb306d958a84de16f5add3f5e95461590f3d94c2dffa3Deposit195838322021-10-20 11:19:1020 secs ago0x7fc166894f5fac1d6377dcc5aa44c59cbeea3a20 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.023125658259
0x7227976b358a3e3b22828f2305b89d87a232ead5f4b7dceb43bc21a610b7ca0eWithdraw195838092021-10-20 11:18:4050 secs ago0x7fc166894f5fac1d6377dcc5aa44c59cbeea3a20 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.01748813059
0xe417de1d54826068b5ebc38a8f3b9ee99a3f92f28e2db1849a8137fb471b71d9Withdraw195837812021-10-20 11:18:001 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.050783335119
0xf5bb19139d6ffc1c2899cf27e09bb3555dc0068c28ffb4eb89850a342576cda8Withdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.050783335119
0x3879423611eff68444462d26cfafea73226c1dd530df13c0a4b8345a3674d028Withdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.050783335119
0xafec7d286f11c0022a2ff1d0e1962dba6801656f2e9a85304309723cb1b5ac19Withdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.050783335119
0xf11b9a21edf16c0d0b42dddbdd2ed12d26f325dd653368adc7efc5515f532a9bWithdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.050783335119
0x722bcea8852143b6677cae2dcafa909961a2dd5d855134b07dd67ef0f3ecea03Withdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.062733120992
0xe7d0ba7afff4177c7599217844c3fe5048a547a2ee1a24cfb52553eff7d80183Withdraw195837782021-10-20 11:17:571 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.091549723976
0xe96f908398d37ee1da94bde62b3b067b8d85de8b7433b93d46856e37d0ca127cWithdraw195837752021-10-20 11:17:521 min ago0x16b00db74167b7469dda63b674ca9a3b1b70c439 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.093617505476
0xf6abd9b84e43a2b5fd66d31e39edeef078b794a8e520b7510e6ff794a8cf90d2Withdraw195835652021-10-20 11:13:475 mins ago0x9ccc726f6dd5559ca474c0413a38f550de46f16b IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.1924835
0x002a140ccabbb4bf9aa21e8caee634d82b079d53eaf03db9230c76dad01aaf71Deposit195832422021-10-20 11:07:5211 mins ago0x882dd0f4bb72bdfb06217fba0c1182d4e32f369f IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.0248363331
0x1ade78f59925cfc866b9b632e1d10508d78e6eebcbfc2439b89a026bf9611c02Withdraw195831992021-10-20 11:07:1712 mins ago0x882dd0f4bb72bdfb06217fba0c1182d4e32f369f IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.01882781068
0x3b22e9056242cc2d8d4efa7073c3c669e2be40093c75735654ec5dcd14c91793Withdraw195831952021-10-20 11:07:1412 mins ago0x882dd0f4bb72bdfb06217fba0c1182d4e32f369f IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.018825848097
0x205df796f7c5d0101d52c5133daa7243585d208baabf3aafe91aaec7a694f2f3Withdraw195830412021-10-20 11:05:1114 mins ago0xf5264212cc15313975f7b974047d1b3ef4f4f1b1 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.018337835138
0x246a3f52f2350913634e35f354f4175b556f559d864731d49c25502c126dd55dWithdraw195830082021-10-20 11:04:3914 mins ago0xf5264212cc15313975f7b974047d1b3ef4f4f1b1 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.056031374373
0xd579362cf922b0aded76f19832bf51f46a8e78e977df5a0190fe38f5d90f70faWithdraw195829822021-10-20 11:04:1115 mins ago0xf5264212cc15313975f7b974047d1b3ef4f4f1b1 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.021188877289
0x2da93ad659d2f7d88cf48c86f9dd88a15b29d674db7424263c5c4ec0242145ceWithdraw195825552021-10-20 10:56:3622 mins ago0x6b5f574a0babcc55f9d8ab1486f774360f5f1a76 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.0455588089
0x650a06e5c18dd8e48249e194ba4fdc065bd59f2342056a4da2ca297612ad1772Withdraw195825262021-10-20 10:56:0323 mins ago0x6b5f574a0babcc55f9d8ab1486f774360f5f1a76 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.042765979468
0x1d8cecc5b5f986085258a2ce782389f4be91fcc0c753eaa5d1ab7b92c33a7a5eWithdraw195824782021-10-20 10:55:2724 mins ago0xbd42c8f24e4d455665fcfcadf14fc693475c0a4d IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.083099907044
0x6f053367914f0339af4ca9d32fef9d646e36740a5e2b0bfd0fc83334cae9c191Withdraw195824572021-10-20 10:55:0424 mins ago0x39b9272578bb1e56aa6208e05d8fa567c25efb24 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.046835221444
0xcc85932a91309b09268247e3e735af3d023702a0edcdb60c527b7ae2d3da1254Withdraw195818132021-10-20 10:44:4234 mins ago0x95343cda0f513fb523579e6aee6a8ce648ef8e11 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.017168668365
0x36b5e4bdf111daa749c79fd4386a2ef4674681ef831593ca712649fa56d3be5fWithdraw195817752021-10-20 10:44:0635 mins ago0x9bef30e982003c464f1fa0da01c0270c31b24813 IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.106286480867
0x5c8bbd17e5de0f00273ff281ce44eba8a05910a8c7b84f90109daec8fb469023Deposit195815082021-10-20 10:40:0139 mins ago0xafcd5729ffb768742ef6526bac804b8a12f5f56e IN  0x9ed04b13ab6cae27ee397ee16452adc15d9d561e0 FTM0.024706209925
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xa55be941a0c66100072223845eeb72f829717a9edadd404421b0635ff65deee3187499732021-10-10 12:03:449 days 23 hrs ago 0x17b3d9da9bfc6aa9c366640866e6afac12cf3246  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterSing

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: contracts\libs\IBEP20.sol


pragma solidity >=0.6.4;

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: @openzeppelin\contracts\utils\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\SafeBEP20.sol



pragma solidity >=0.6.0 <0.8.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\Ichef.sol


pragma solidity 0.6.12;
interface ISpookyChef {//for BOO in FTM SPOOKY
  function deposit(uint256 _pid, uint256 _amount) external;
  function withdraw(uint256 _pid, uint256 _amount) external;
  function pendingBOO(uint256 _pid, address _user) external view returns (uint256);
  function poolInfo(uint _pid) external view returns(address,uint,uint,uint);//lp,alloc,lastrewardtime,accBooperShare
  function booPerSecond() external view returns(uint256);
  function totalAllocPoint() external view returns(uint256);
}
interface IJetChef{
  function deposit(uint256 _pid, uint256 _amount) external;
  function withdraw(uint256 _pid, uint256 _amount) external;
  function pendingCake(uint256 _pid, address _user) external view returns (uint256);
  function poolInfo(uint _pid) external view returns(address,uint,uint,uint);//lp,alloc,lastrewardtime,accCakeperShare
}
interface IOliveChef{
  function pendingOlive(uint256 _pid, address _user) external view returns (uint256);
  function poolInfo(uint256 _pid) external view returns(address,uint,uint,uint);
}
interface IhyperChef{
  function pendingOrillium(uint256 _pid, address _user) external view returns (uint256);
  function poolInfo(uint256 _pid) external view returns(address,uint,uint,uint);
}
interface IspiritChef{
  function pendingSpirit(uint256 _pid, address _user) external view returns (uint256);
  function poolInfo(uint256 _pid) external view returns(address,uint,uint,uint,uint16);
}

interface IChef{
  function deposit(uint256 _pid, uint256 _amount) external;
  function withdraw(uint256 _pid, uint256 _amount) external;
}

// File: ..\node_modules\@openzeppelin\contracts\utils\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: @openzeppelin\contracts\access\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: @openzeppelin\contracts\utils\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: @openzeppelin\contracts\GSN\Context.sol



pragma solidity >=0.6.0 <0.8.0;

// File: contracts\libs\BEP20.sol



pragma solidity >=0.6.2 <0.8.0;







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")
        );
    }
}

// File: contracts\SingToken.sol



// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
interface IBank{
    function addRepo(uint _amount) external;
}

pragma solidity 0.6.12;

// SingToken with Governance.
contract SingToken is BEP20 {
    // Transfer tax rate in basis points. (default 5%)
    uint16 public transferTaxRate = 500;
    // Burn rate % of transfer tax. (default 20% x 5% = 1% of total amount).
    uint16 public burnRate = 20;
    // Max transfer tax rate: 10%.
    uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 1000;
    // Burn address
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;
    address public constant USDC=0x04068DA6C83AFCFA0e13ba15A6696662335D5B75;//USDC in FTM
    // Automatic swap and liquify enabled
    bool public swapAndLiquifyEnabled = false;
    // Min amount to liquify. (default 500 SINGs)
    uint256 public minAmountToLiquify = 1000000000000000000;
    // The swap router, modifiable. Will be changed to SingSwap's router when our own AMM release
    IUniswapV2Router02 public singSwapRouter=IUniswapV2Router02(0xF491e7B69E4244ad4002BC14e878a34207E38c29);
    IBank public bank;
    address public masterChef;
    // The trading pair
    address public singSwapPair;
    // In swap and liquify
    bool private _inSwapAndLiquify;
    // The operator can only update the transfer tax rate
    address private _operator;
    mapping (address=>bool) public To_whitelist;
    mapping(address=>bool) public From_whitelist;

    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event BurnRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled);
    event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount);
    event SingSwapRouterUpdated(address indexed operator, address indexed router, address indexed pair);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity);

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    modifier lockTheSwap {
        _inSwapAndLiquify = true;
        _;
        _inSwapAndLiquify = false;
    }

    modifier transferTaxFree {
        uint16 _transferTaxRate = transferTaxRate;
        transferTaxRate = 0;
        _;
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @notice Constructs the SingToken contract.
     */
    constructor() public BEP20("Sing Token", "SING") {
        _operator = _msgSender();
        To_whitelist[_operator]=true;
        From_whitelist[_operator]=true;
        To_whitelist[BURN_ADDRESS]=true;
        _approve(address(this), address(singSwapRouter), uint(-1));
        emit OperatorTransferred(address(0), _operator);
    }

    /// @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);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /// @dev overrides transfer function to meet tokenomics of SING
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override {
        // swap and liquify
        if (
            swapAndLiquifyEnabled == true
            && _inSwapAndLiquify == false
            && address(singSwapRouter) != address(0)
            && singSwapPair != address(0)
            && sender!=singSwapPair
            && From_whitelist[sender]==false && To_whitelist[recipient]==false
        ) {
            swapAndLiquify();
        }

        if ( To_whitelist[recipient] || From_whitelist[sender] || transferTaxRate == 0) {
            super._transfer(sender, recipient, amount);
        } else {
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);
            uint256 burnAmount = taxAmount.mul(burnRate).div(100);
            uint256 liquidityAmount = taxAmount.sub(burnAmount);
            require(taxAmount == burnAmount + liquidityAmount, "SING::transfer: Burn value invalid");

            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "SING::transfer: Tax value invalid");

            super._transfer(sender, BURN_ADDRESS, burnAmount);
            super._transfer(sender, address(this), liquidityAmount);
            super._transfer(sender, recipient, sendAmount);
        }
    }

    /// @dev Swap and add to bank
    function swapAndLiquify() private lockTheSwap transferTaxFree {
        IBEP20 usdc=IBEP20(USDC);
        uint256 contractTokenBalance = balanceOf(address(this));
        if (contractTokenBalance >= minAmountToLiquify) {
            // capture the contract's current ETH balance.
            // this is so that we can capture exactly the amount of ETH that the
            // swap creates, and not make the liquidity event include any ETH that
            // has been manually sent to the contract
            uint256 initialBalance = usdc.balanceOf(address(bank));

            swapTokensForUSDC(contractTokenBalance);

            // how much ETH did we just swap into?
            uint256 newBalance = usdc.balanceOf(address(bank)).sub(initialBalance);
            //add to bank
            bank.addRepo(newBalance);
        }
    }

    function swapTokensForUSDC(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = USDC;


        // make the swap
        singSwapRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(bank),
            block.timestamp
        );
    }

    // receive() external payable {}

    /**
     * @dev Update the transfer tax rate.
     * Can only be called by the current operator.
     */
    
    function setToWhitelist(address _to,bool _allow) public onlyOperator{
        To_whitelist[_to]=_allow;
    }
    function setFromWhitelist(address _from,bool _allow) public onlyOperator{
        From_whitelist[_from]=_allow;
    }
    function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator {
        require(_transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE, "SING::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate.");
        emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }
    function setBank(address _bank) public onlyOperator{
        bank=IBank(_bank);
        To_whitelist[_bank]=true;
    }
    function setMasterchef(address _masterchef) public onlyOperator{
        masterChef=_masterchef;
        To_whitelist[_masterchef]=true;
        From_whitelist[_masterchef]=true;
    }
    /**
     * @dev Update the burn rate.
     * Can only be called by the current operator.
     */
    function updateBurnRate(uint16 _burnRate) public onlyOperator {
        require(_burnRate <= 100, "SING::updateBurnRate: Burn rate must not exceed the maximum rate.");
        emit BurnRateUpdated(msg.sender, burnRate, _burnRate);
        burnRate = _burnRate;
    }

    /**
     * @dev Update the min amount to liquify.
     * Can only be called by the current operator.
     */
    function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator {
        emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount);
        minAmountToLiquify = _minAmount;
    }

    /**
     * @dev Update the swapAndLiquifyEnabled.
     * Can only be called by the current operator.
     */
    function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator {
        emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled);
        swapAndLiquifyEnabled = _enabled;
    }

    /**
     * @dev Update the swap router.
     * Can only be called by the current operator.
     */
    function updateSingSwapRouter(address _router) public onlyOperator {
        singSwapRouter = IUniswapV2Router02(_router);
        singSwapPair = IUniswapV2Factory(singSwapRouter.factory()).getPair(address(this), USDC);
        require(singSwapPair != address(0), "SING::updateSingSwapRouter: Invalid pair address.");
        emit SingSwapRouterUpdated(msg.sender, address(singSwapRouter), singSwapPair);
    }

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

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "SING::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
    external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "SING::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "SING::delegateBySig: invalid nonce");
        require(now <= expiry, "SING::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
    external
    view
    returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
    external
    view
    returns (uint256)
    {
        require(blockNumber < block.number, "SING::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
    internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying SINGs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
    internal
    {
        uint32 blockNumber = safe32(block.number, "SING::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

// File: contracts\MasterSing.sol


pragma solidity 0.6.12;








contract MasterSing 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.
        uint256 earnedDebt;
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. SINGs to distribute per block.
        uint256 lastRewardTime;  // Last block number that SINGs distribution occurs.
        uint256 accSingPerShare;   // Accumulated SINGs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        uint256 totalcap;
        bool isStrat;
        uint masterId;
        uint stratId;
        uint earned;
        uint earnfee;
        uint accEarnPerShare;
    }
    
    // The SING TOKEN!
    SingToken public sing;
    // Dev address.
    address public devaddr;
    address feeAddress;
    uint256 public singPerSec;
    //Strat target is fixed and cannot change.
    //spooky,Jetswap,Olive,Hyper,Spirit
    address[] WL_masters=[0x2b2929E785374c651a81A63878Ab22742656DcDd,0x9180583C1ab03587b545629dd60D2be0bf1DF4f2,0xC90812E4502D7848E58e53753cA397A201f2e99B,0x90Df158ff7c31aD1d81ddDb1D8ab9d0eCBCeDa20,0x9083EA3756BDE6Ee6f27a6e996806FBD37F6F093];
    address[] WL_earn=[0x841FAD6EAe12c286d1Fd18d1d525DFfA75C7EFFE,0x3D8f1ACCEe8e263F837138829B6C4517473d0688,0xA9937092c4E2B0277C16802Cc8778D252854688A,0x0575f8738EFdA7F512e3654F277C77e80C7d2725,0x5Cc61A78F164885776AA610fb0FE1257df78E59B];
    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    uint256 public totalAllocPoint = 0;
    uint256 public startTime;
    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);

    constructor() public { 
    }
    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }
    function initiate(SingToken _sing,address _devaddr,address _feeAddress,uint256 _singPerSec,uint256 _startTime) public onlyOwner{
        require(_startTime>block.timestamp || poolInfo.length==0,"start block passed");
        startTime=_startTime; 
        sing = _sing;
        devaddr = _devaddr;
        feeAddress = _feeAddress;
        singPerSec = _singPerSec;
        for(uint i=0;i<poolInfo.length;i++){
            poolInfo[i].lastRewardTime=startTime;
        }
    }
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, bool _isStrat,uint _masterId,uint _stratId,uint _earnfee,bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= 400, "max 4%");
        require(_masterId<WL_masters.length,"wrong masterId");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardTime: lastRewardTime,
            accSingPerShare: 0,
            depositFeeBP: _depositFeeBP,
            totalcap:0,
            isStrat:_isStrat,
            masterId:_masterId,
            stratId : _stratId,
            earned:0,
            earnfee:_earnfee,
            accEarnPerShare:0
        }));
        _lpToken.approve(address(WL_masters[_masterId]), uint(-1));
    }

    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP,uint _earnfee, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= 400, "max 4%");
        if (_withUpdate) {
            massUpdatePools();
        }
        PoolInfo storage pool = poolInfo[_pid];
        totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint);
        pool.allocPoint = _allocPoint;
        pool.depositFeeBP = _depositFeeBP;
        pool.earnfee=_earnfee;
    }
    function pendingSing(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSingPerShare = pool.accSingPerShare;
        if (block.timestamp > pool.lastRewardTime && pool.totalcap != 0) {
            uint256 multiplier = block.timestamp.sub(pool.lastRewardTime);
            uint256 singReward = multiplier.mul(singPerSec).mul(pool.allocPoint).div(totalAllocPoint);
            accSingPerShare = accSingPerShare.add(singReward.mul(1e12).div(pool.totalcap));
        }
        return user.amount.mul(accSingPerShare).div(1e12).sub(user.rewardDebt);
    }
    function getpendingEarn(uint _pid) public view returns (uint256){
        //getter for hard-coded whitelist farms.
        PoolInfo storage pool = poolInfo[_pid];
        if(pool.masterId==0){
            return ISpookyChef(WL_masters[0]).pendingBOO(pool.stratId, address(this));
        }else if(pool.masterId==1){
            return IJetChef(WL_masters[1]).pendingCake(pool.stratId,address(this));
        }else if(pool.masterId==2){
            return IOliveChef(WL_masters[2]).pendingOlive(pool.stratId,address(this));
        }else if(pool.masterId==3){
            return IhyperChef(WL_masters[3]).pendingOrillium(pool.stratId,address(this));
        }else if(pool.masterId==4){
            return IspiritChef(WL_masters[4]).pendingSpirit(pool.stratId,address(this));
        }
    }
    function pendingEarned(uint _pid,address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        if(pool.isStrat==false){
            return 0;
        }
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accEarnPerShare=pool.accEarnPerShare;
        if(pool.totalcap!=0){
            uint256 pending=getpendingEarn(_pid);
            uint256 earn=pending.mul(100-pool.earnfee).div(100);
            accEarnPerShare=accEarnPerShare.add(earn.mul(1e12).div(pool.totalcap));
        }
        return user.amount.mul(accEarnPerShare).div(1e12).sub(user.earnedDebt);
    }

    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) internal {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        if (pool.totalcap == 0 || pool.allocPoint == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = block.timestamp.sub(pool.lastRewardTime);
        uint256 singReward = multiplier.mul(singPerSec).mul(pool.allocPoint).div(totalAllocPoint);
        sing.mint(devaddr, singReward.div(10));
        sing.mint(address(this), singReward);
        pool.accSingPerShare = pool.accSingPerShare.add(singReward.mul(1e12).div(pool.totalcap));
        pool.lastRewardTime = block.timestamp;
    }
    function updateReward(uint _pid,uint _added) internal {
        PoolInfo storage pool = poolInfo[_pid];
        if(_added>0 && pool.totalcap>0){
            safeEarnTransfer(_pid,devaddr, _added.mul(pool.earnfee).div(100));
            uint added=_added.sub(_added.mul(pool.earnfee).div(100));
            pool.accEarnPerShare=pool.accEarnPerShare.add(added.mul(1e12).div(pool.totalcap));
        }
    }

    function deposit(uint256 _pid, uint256 _amount) public 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.accSingPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeSingTransfer(msg.sender, pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            if(pool.depositFeeBP > 0){
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                uint256 finalamt=_amount.sub(depositFee);
                stratDeposit(_pid, finalamt);
                user.amount = user.amount.add(finalamt);
                pool.totalcap=pool.totalcap.add(finalamt);
            }else{
                stratDeposit(_pid, _amount);
                user.amount = user.amount.add(_amount);
                pool.totalcap=pool.totalcap.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accSingPerShare).div(1e12);
        user.earnedDebt=user.amount.mul(pool.accEarnPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant{
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        stratWithdraw(_pid, _amount);
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accSingPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeSingTransfer(msg.sender, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.totalcap=pool.totalcap.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accSingPerShare).div(1e12);
        user.earnedDebt=user.amount.mul(pool.accEarnPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }
    function stratDeposit(uint256 _pid, uint256 _amount) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        if (pool.isStrat) {
            uint preharvest=IBEP20(WL_earn[pool.masterId]).balanceOf(address(this));
            IChef(WL_masters[pool.masterId]).deposit(pool.stratId, _amount);
            updateReward(_pid, IBEP20(WL_earn[pool.masterId]).balanceOf(address(this)).sub(preharvest));
            if(user.amount>0){
                uint256 pending=user.amount.mul(pool.accEarnPerShare).div(1e12).sub(user.earnedDebt);
                if(pending>0){
                    safeEarnTransfer(_pid,msg.sender, pending);
                }
            }
        }
    }
    function stratWithdraw(uint _pid,uint _amount) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        if (pool.isStrat) {
            uint preharvest=IBEP20(WL_earn[pool.masterId]).balanceOf(address(this));
            IChef(WL_masters[pool.masterId]).withdraw(pool.stratId, _amount);
            updateReward(_pid, IBEP20(WL_earn[pool.masterId]).balanceOf(address(this)).sub(preharvest));
            if(user.amount>0){
                uint256 pending=user.amount.mul(pool.accEarnPerShare).div(1e12).sub(user.earnedDebt);
                if(pending>0){
                    safeEarnTransfer(_pid,msg.sender, pending);
                }
            }
        }
    }
     // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant{
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        if (pool.isStrat) {
            uint preharvest=IBEP20(WL_earn[pool.masterId]).balanceOf(address(this));
            IChef(WL_masters[pool.masterId]).withdraw(pool.stratId, amount);
            updateReward(_pid, IBEP20(WL_earn[pool.masterId]).balanceOf(address(this)).sub(preharvest));
        }
        pool.totalcap=pool.totalcap.sub(amount);
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    function safeSingTransfer(address _to, uint256 _amount) internal {
        uint256 singBal = sing.balanceOf(address(this));
        if (_amount > singBal) {
            sing.transfer(_to, singBal);
            sing.mint(_to,_amount.sub(singBal));
        } else {
            sing.transfer(_to, _amount);
        }
    } 
    function safeEarnTransfer(uint _pid,address _to,uint256 _amount) internal {
        IBEP20 earnToken=IBEP20(WL_earn[poolInfo[_pid].masterId]);
        uint256 earnBal=earnToken.balanceOf(address(this));
        if(earnBal<_amount){
            _amount=earnBal;
        }
        if(_amount>0){
            earnToken.transfer(_to, _amount);
        }
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
    }

    function setFeeAddress(address _feeAddress) public{
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        feeAddress = _feeAddress;
    }

    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _singPerSec) public onlyOwner {
        require(_singPerSec<1 ether,"too large");
        massUpdatePools();
        singPerSec = _singPerSec;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_isStrat","type":"bool"},{"internalType":"uint256","name":"_masterId","type":"uint256"},{"internalType":"uint256","name":"_stratId","type":"uint256"},{"internalType":"uint256","name":"_earnfee","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","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":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getpendingEarn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract SingToken","name":"_sing","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_singPerSec","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"initiate","outputs":[],"stateMutability":"nonpayable","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":"pendingEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingSing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"accSingPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"totalcap","type":"uint256"},{"internalType":"bool","name":"isStrat","type":"bool"},{"internalType":"uint256","name":"masterId","type":"uint256"},{"internalType":"uint256","name":"stratId","type":"uint256"},{"internalType":"uint256","name":"earned","type":"uint256"},{"internalType":"uint256","name":"earnfee","type":"uint256"},{"internalType":"uint256","name":"accEarnPerShare","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":"uint256","name":"_earnfee","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sing","outputs":[{"internalType":"contract SingToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"singPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_singPerSec","type":"uint256"}],"name":"updateEmissionRate","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"},{"internalType":"uint256","name":"earnedDebt","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"}]

610120604052732b2929e785374c651a81a63878ab22742656dcdd6080908152739180583c1ab03587b545629dd60d2be0bf1df4f260a05273c90812e4502d7848e58e53753ca397a201f2e99b60c0527390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2060e052739083ea3756bde6ee6f27a6e996806fbd37f6f0936101005262000090906006906005620001a4565b506040805160a08101825273841fad6eae12c286d1fd18d1d525dffa75c7effe8152733d8f1accee8e263f837138829b6c4517473d0688602082015273a9937092c4e2b0277c16802cc8778d252854688a91810191909152730575f8738efda7f512e3654f277c77e80c7d27256060820152735cc61a78f164885776aa610fb0fe1257df78e59b60808201526200012c906007906005620001a4565b506000600a553480156200013f57600080fd5b5060006200014c620001a0565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556200022f565b3390565b828054828255906000526020600020908101928215620001fc579160200282015b82811115620001fc57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001c5565b506200020a9291506200020e565b5090565b5b808211156200020a5780546001600160a01b03191681556001016200020f565b612966806200023f6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806376f272e8116100c3578063af40662f1161007c578063af40662f1461042b578063b4ba349f14610484578063c2200d4b1461048c578063d49e77cd14610494578063e2bbb1581461049c578063f2fde38b146104bf57610158565b806376f272e81461033d57806378e97925146103695780638705fcd4146103715780638d88a90e146103975780638da5cb5b146103bd57806393f1a40b146103e157610158565b80632bfbd1ae116101155780632bfbd1ae1461028e578063441a3e70146102d05780635312ea8e146102f3578063630b5ba11461031057806367bf629414610318578063715018a61461033557610158565b8063081e3eda1461015d5780630ba84cd214610177578063121e3177146101965780631526fe27146101c257806317caf6f11461024b5780632143e54514610253575b600080fd5b6101656104e5565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b50356104eb565b005b610165600480360360408110156101ac57600080fd5b50803590602001356001600160a01b03166105a2565b6101df600480360360208110156101d857600080fd5b50356106bd565b604080516001600160a01b03909d168d5260208d019b909b528b8b019990995260608b019790975261ffff90951660808a015260a089019390935290151560c088015260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b61016561073d565b610194600480360360a081101561026957600080fd5b5080359060208101359061ffff60408201351690606081013590608001351515610743565b610194600480360360a08110156102a457600080fd5b506001600160a01b03813581169160208101358216916040820135169060608101359060800135610866565b610194600480360360408110156102e657600080fd5b50803590602001356109a4565b6101946004803603602081101561030957600080fd5b5035610b99565b610194610e6d565b6101656004803603602081101561032e57600080fd5b5035610e90565b61019461113a565b6101656004803603604081101561035357600080fd5b50803590602001356001600160a01b03166111e6565b6101656112d0565b6101946004803603602081101561038757600080fd5b50356001600160a01b03166112d6565b610194600480360360208110156103ad57600080fd5b50356001600160a01b0316611357565b6103c56113c4565b604080516001600160a01b039092168252519081900360200190f35b61040d600480360360408110156103f757600080fd5b50803590602001356001600160a01b03166113d3565b60408051938452602084019290925282820152519081900360600190f35b610194600480360361010081101561044257600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606081013515159060808101359060a08101359060c08101359060e0013515156113ff565b6103c5611732565b610165611741565b6103c5611747565b610194600480360360408110156104b257600080fd5b5080359060200135611756565b610194600480360360208110156104d557600080fd5b50356001600160a01b0316611998565b60085490565b6104f3611a9a565b6001600160a01b03166105046113c4565b6001600160a01b03161461054d576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b670de0b6b3a76400008110610595576040805162461bcd60e51b8152602060048201526009602482015268746f6f206c6172676560b81b604482015290519081900360640190fd5b61059d610e6d565b600555565b600080600884815481106105b257fe5b600091825260208083208784526009825260408085206001600160a01b038916865290925292206003600c90920290920190810154600282015491935090421180156106015750600583015415155b1561068357600061061f846002015442611a9e90919063ffffffff16565b90506000610652600a5461064c876001015461064660055487611afb90919063ffffffff16565b90611afb565b90611b5b565b905061067e610677866005015461064c64e8d4a5100085611afb90919063ffffffff16565b8490611bc2565b925050505b6106b182600101546106ab64e8d4a5100061064c858760000154611afb90919063ffffffff16565b90611a9e565b93505050505b92915050565b600881815481106106ca57fe5b60009182526020909120600c9091020180546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a8b0154600b909b01546001600160a01b03909a169b5097999698959761ffff90951696939560ff90931694919390928c565b600a5481565b61074b611a9a565b6001600160a01b031661075c6113c4565b6001600160a01b0316146107a5576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b6101908361ffff1611156107e9576040805162461bcd60e51b81526020600482015260066024820152656d617820342560d01b604482015290519081900360640190fd5b80156107f7576107f7610e6d565b60006008868154811061080657fe5b90600052602060002090600c02019050610839856108338360010154600a54611a9e90919063ffffffff16565b90611bc2565b600a908155600182019590955560048101805461ffff191661ffff95909516949094179093555091015550565b61086e611a9a565b6001600160a01b031661087f6113c4565b6001600160a01b0316146108c8576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b428111806108d65750600854155b61091c576040805162461bcd60e51b81526020600482015260126024820152711cdd185c9d08189b1bd8dac81c185cdcd95960721b604482015290519081900360640190fd5b600b819055600280546001600160a01b038088166001600160a01b031992831617909255600380548784169083161790556004805492861692909116919091179055600582905560005b60085481101561099c57600b546008828154811061098057fe5b600091825260209091206002600c909202010155600101610966565b505050505050565b600260015414156109fc576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060088381548110610a1357fe5b6000918252602080832086845260098252604080852033865290925292208054600c9092029092019250831115610a86576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610a908484611c1c565b610a9984611de1565b6000610ac782600101546106ab64e8d4a5100061064c87600301548760000154611afb90919063ffffffff16565b90508015610ad957610ad93382611f9e565b8315610b17578154610aeb9085611a9e565b82556005830154610afc9085611a9e565b60058401558254610b17906001600160a01b031633866121a5565b60038301548254610b329164e8d4a510009161064c91611afb565b6001830155600b8301548254610b529164e8d4a510009161064c91611afb565b6002830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050565b60026001541415610bf1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060088281548110610c0857fe5b6000918252602080832085845260098252604080852033865290925292208054600c92909202909201600681015490935060ff1615610df85760006007846007015481548110610c5457fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b158015610ca357600080fd5b505afa158015610cb7573d6000803e3d6000fd5b505050506040513d6020811015610ccd57600080fd5b5051600785015460068054929350918110610ce457fe5b6000918252602082200154600886015460408051630441a3e760e41b8152600481019290925260248201869052516001600160a01b039092169263441a3e709260448084019382900301818387803b158015610d3f57600080fd5b505af1158015610d53573d6000803e3d6000fd5b50505050610df685610df1836007886007015481548110610d7057fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b158015610dbf57600080fd5b505afa158015610dd3573d6000803e3d6000fd5b505050506040513d6020811015610de957600080fd5b505190611a9e565b6121f7565b505b6005830154610e079082611a9e565b6005840155600080835560018301558254610e2c906001600160a01b031633836121a5565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b60085460005b81811015610e8c57610e8481611de1565b600101610e73565b5050565b60008060088381548110610ea057fe5b90600052602060002090600c02019050806007015460001415610f5b576006600081548110610ecb57fe5b6000918252602091829020015460088301546040805163a279b07f60e01b81526004810192909252306024830152516001600160a01b039092169263a279b07f92604480840193829003018186803b158015610f2657600080fd5b505afa158015610f3a573d6000803e3d6000fd5b505050506040513d6020811015610f5057600080fd5b505191506111359050565b806007015460011415610fd1576006600181548110610f7657fe5b60009182526020918290200154600883015460408051631175a1dd60e01b81526004810192909252306024830152516001600160a01b0390921692631175a1dd92604480840193829003018186803b158015610f2657600080fd5b806007015460021415611047576006600281548110610fec57fe5b600091825260209182902001546008830154604080516303291d7f60e21b81526004810192909252306024830152516001600160a01b0390921692630ca475fc92604480840193829003018186803b158015610f2657600080fd5b8060070154600314156110bd57600660038154811061106257fe5b60009182526020918290200154600883015460408051637a8f430f60e01b81526004810192909252306024830152516001600160a01b0390921692637a8f430f92604480840193829003018186803b158015610f2657600080fd5b8060070154600414156111335760066004815481106110d857fe5b60009182526020918290200154600883015460408051631778809f60e01b81526004810192909252306024830152516001600160a01b0390921692631778809f92604480840193829003018186803b158015610f2657600080fd5b505b919050565b611142611a9a565b6001600160a01b03166111536113c4565b6001600160a01b03161461119c576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080600884815481106111f657fe5b60009182526020909120600c90910201600681015490915060ff1661121f5760009150506106b7565b60008481526009602090815260408083206001600160a01b03871684529091529020600b8201546005830154156112a857600061125b87610e90565b9050600061127e606461064c87600a015460640385611afb90919063ffffffff16565b90506112a3610677866005015461064c64e8d4a5100085611afb90919063ffffffff16565b925050505b6106b182600201546106ab64e8d4a5100061064c858760000154611afb90919063ffffffff16565b600b5481565b6004546001600160a01b03163314611335576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031633146113a2576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600960209081526000928352604080842090915290825290208054600182015460029092015490919083565b611407611a9a565b6001600160a01b03166114186113c4565b6001600160a01b031614611461576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b6101908661ffff1611156114a5576040805162461bcd60e51b81526020600482015260066024820152656d617820342560d01b604482015290519081900360640190fd5b60065484106114ec576040805162461bcd60e51b815260206004820152600e60248201526d1ddc9bdb99c81b585cdd195c925960921b604482015290519081900360640190fd5b80156114fa576114fa610e6d565b6000600b54421161150d57600b5461150f565b425b600a5490915061151f908a611bc2565b600a8190555060086040518061018001604052808a6001600160a01b031681526020018b8152602001838152602001600081526020018961ffff16815260200160008152602001881515815260200187815260200186815260200160008152602001858152602001600081525090806001815401808255809150506001900390600052602060002090600c020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555060e082015181600701556101008201518160080155610120820151816009015561014082015181600a015561016082015181600b01555050876001600160a01b031663095ea7b3600687815481106116a157fe5b6000918252602080832090910154604080516001600160e01b031960e087901b1681526001600160a01b03909216600483015260001960248301525160448083019491928390030190829087803b1580156116fb57600080fd5b505af115801561170f573d6000803e3d6000fd5b505050506040513d602081101561172557600080fd5b5050505050505050505050565b6002546001600160a01b031681565b60055481565b6003546001600160a01b031681565b600260015414156117ae576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001819055506000600883815481106117c557fe5b600091825260208083208684526009825260408085203386529092529220600c90910290910191506117f684611de1565b80541561183f57600061182b82600101546106ab64e8d4a5100061064c87600301548760000154611afb90919063ffffffff16565b9050801561183d5761183d3382611f9e565b505b821561191757815461185c906001600160a01b03163330866122c3565b600482015461ffff16156118ea576004820154600090611889906127109061064c90879061ffff16611afb565b60045484549192506118a8916001600160a01b039081169116836121a5565b60006118b48583611a9e565b90506118c0868261231d565b82546118cc9082611bc2565b835560058401546118dd9082611bc2565b6005850155506119179050565b6118f4848461231d565b80546119009084611bc2565b815560058201546119119084611bc2565b60058301555b600382015481546119329164e8d4a510009161064c91611afb565b6001820155600b82015481546119529164e8d4a510009161064c91611afb565b6002820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b6119a0611a9a565b6001600160a01b03166119b16113c4565b6001600160a01b0316146119fa576040805162461bcd60e51b81526020600482018190526024820152600080516020612911833981519152604482015290519081900360640190fd5b6001600160a01b038116611a3f5760405162461bcd60e51b81526004018080602001828103825260268152602001806128a46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600082821115611af5576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611b0a575060006106b7565b82820282848281611b1757fe5b0414611b545760405162461bcd60e51b81526004018080602001828103825260218152602001806128f06021913960400191505060405180910390fd5b9392505050565b6000808211611bb1576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611bba57fe5b049392505050565b600082820183811015611b54576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600060088381548110611c2b57fe5b6000918252602080832086845260098252604080852033865290925292206006600c9092029092019081015490925060ff1615611ddb5760006007836007015481548110611c7557fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b158015611cc457600080fd5b505afa158015611cd8573d6000803e3d6000fd5b505050506040513d6020811015611cee57600080fd5b5051600784015460068054929350918110611d0557fe5b6000918252602082200154600885015460408051630441a3e760e41b8152600481019290925260248201889052516001600160a01b039092169263441a3e709260448084019382900301818387803b158015611d6057600080fd5b505af1158015611d74573d6000803e3d6000fd5b50505050611d9185610df1836007876007015481548110610d7057fe5b815415611dd9576000611dc683600201546106ab64e8d4a5100061064c88600b01548860000154611afb90919063ffffffff16565b9050801561099c5761099c863383612461565b505b50505050565b600060088281548110611df057fe5b90600052602060002090600c0201905080600201544211611e115750611f9b565b60058101541580611e2457506001810154155b15611e355742600290910155611f9b565b6000611e4e826002015442611a9e90919063ffffffff16565b90506000611e75600a5461064c856001015461064660055487611afb90919063ffffffff16565b6002546003549192506001600160a01b03908116916340c10f199116611e9c84600a611b5b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015611ee257600080fd5b505af1158015611ef6573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015611f4d57600080fd5b505af1158015611f61573d6000803e3d6000fd5b5050506005840154611f8c9150611f819061064c8464e8d4a51000611afb565b600385015490611bc2565b60038401555050426002909101555b50565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611fe957600080fd5b505afa158015611ffd573d6000803e3d6000fd5b505050506040513d602081101561201357600080fd5b5051905080821115612120576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561207557600080fd5b505af1158015612089573d6000803e3d6000fd5b505050506040513d602081101561209f57600080fd5b50506002546001600160a01b03166340c10f19846120bd8585611a9e565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561210357600080fd5b505af1158015612117573d6000803e3d6000fd5b505050506121a0565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561217657600080fd5b505af115801561218a573d6000803e3d6000fd5b505050506040513d6020811015611dd957600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526121a09084906125ab565b60006008838154811061220657fe5b90600052602060002090600c0201905060008211801561222a575060008160050154115b156121a057600354600a8201546122609185916001600160a01b039091169061225b9060649061064c908890611afb565b612461565b6000612288612281606461064c85600a015487611afb90919063ffffffff16565b8490611a9e565b90506122b86122ad836005015461064c64e8d4a5100085611afb90919063ffffffff16565b600b84015490611bc2565b600b83015550505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611ddb9085906125ab565b60006008838154811061232c57fe5b6000918252602080832086845260098252604080852033865290925292206006600c9092029092019081015490925060ff1615611ddb576000600783600701548154811061237657fe5b60009182526020918290200154604080516370a0823160e01b815230600482015290516001600160a01b03909216926370a0823192602480840193829003018186803b1580156123c557600080fd5b505afa1580156123d9573d6000803e3d6000fd5b505050506040513d60208110156123ef57600080fd5b505160078401546006805492935091811061240657fe5b6000918252602082200154600885015460408051631c57762b60e31b8152600481019290925260248201889052516001600160a01b039092169263e2bbb1589260448084019382900301818387803b158015611d6057600080fd5b600060076008858154811061247257fe5b90600052602060002090600c0201600701548154811061248e57fe5b6000918252602080832090910154604080516370a0823160e01b815230600482015290516001600160a01b03909216945084926370a0823192602480840193829003018186803b1580156124e157600080fd5b505afa1580156124f5573d6000803e3d6000fd5b505050506040513d602081101561250b57600080fd5b505190508281101561251b578092505b8215611dd957816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561257857600080fd5b505af115801561258c573d6000803e3d6000fd5b505050506040513d60208110156125a257600080fd5b50505050505050565b6060612600826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661265c9092919063ffffffff16565b8051909150156121a05780806020019051602081101561261f57600080fd5b50516121a05760405162461bcd60e51b815260040180806020018281038252602a81526020018061287a602a913960400191505060405180910390fd5b606061266b8484600085612673565b949350505050565b6060824710156126b45760405162461bcd60e51b81526004018080602001828103825260268152602001806128ca6026913960400191505060405180910390fd5b6126bd856127cf565b61270e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061274d5780518252601f19909201916020918201910161272e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127af576040519150601f19603f3d011682016040523d82523d6000602084013e6127b4565b606091505b50915091506127c48282866127d5565b979650505050505050565b3b151590565b606083156127e4575081611b54565b8251156127f45782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561283e578181015183820152602001612826565b50505050905090810190601f16801561286b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220b9a6033c1c8b68ebf88ae463be20e66452d9e86fb5182a07d4ee9b2361da9d1f64736f6c634300060c0033

Deployed ByteCode Sourcemap

65444:14063:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67742:95;;;:::i;:::-;;;;;;;;;;;;;;;;79316:188;;;;;;;;;;;;;;;;-1:-1:-1;79316:188:0;;:::i;:::-;;69870:693;;;;;;;;;;;;;;;;-1:-1:-1;69870:693:0;;;;;;-1:-1:-1;;;;;69870:693:0;;:::i;67229:26::-;;;;;;;;;;;;;;;;-1:-1:-1;67229:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;67229:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67384:34;;;:::i;69369:495::-;;;;;;;;;;;;;;;;-1:-1:-1;69369:495:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;67843:486::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;67843:486:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;74854:920::-;;;;;;;;;;;;;;;;-1:-1:-1;74854:920:0;;;;;;;:::i;77363:757::-;;;;;;;;;;;;;;;;-1:-1:-1;77363:757:0;;:::i;72027:180::-;;;:::i;70569:803::-;;;;;;;;;;;;;;;;-1:-1:-1;70569:803:0;;:::i;26827:148::-;;;:::i;71378:641::-;;;;;;;;;;;;;;;;-1:-1:-1;71378:641:0;;;;;;-1:-1:-1;;;;;71378:641:0;;:::i;67425:24::-;;;:::i;79020:165::-;;;;;;;;;;;;;;;;-1:-1:-1;79020:165:0;-1:-1:-1;;;;;79020:165:0;;:::i;78883:129::-;;;;;;;;;;;;;;;;-1:-1:-1;78883:129:0;-1:-1:-1;;;;;78883:129:0;;:::i;26176:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;26176:87:0;;;;;;;;;;;;;;67311:66;;;;;;;;;;;;;;;;-1:-1:-1;67311:66:0;;;;;;-1:-1:-1;;;;;67311:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;68335:1026;;;;;;;;;;;;;;;;-1:-1:-1;68335:1026:0;;;-1:-1:-1;;;;;68335:1026:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;66493:21::-;;;:::i;66596:25::-;;;:::i;66542:22::-;;;:::i;73453:1395::-;;;;;;;;;;;;;;;;-1:-1:-1;73453:1395:0;;;;;;;:::i;27130:244::-;;;;;;;;;;;;;;;;-1:-1:-1;27130:244:0;-1:-1:-1;;;;;27130:244:0;;:::i;67742:95::-;67814:8;:15;67742:95;:::o;79316:188::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;79413:7:::1;79401:11;:19;79393:40;;;::::0;;-1:-1:-1;;;79393:40:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;79393:40:0;;;;;;;;;;;;;::::1;;79444:17;:15;:17::i;:::-;79472:10;:24:::0;79316:188::o;69870:693::-;69943:7;69963:21;69987:8;69996:4;69987:14;;;;;;;;;;;;;;;;70036;;;:8;:14;;;;;;-1:-1:-1;;;;;70036:21:0;;;;;;;;;70094:20;69987:14;;;;;;;70094:20;;;;70147:19;;;;69987:14;;-1:-1:-1;70094:20:0;70129:15;:37;:59;;;;-1:-1:-1;70170:13:0;;;;:18;;70129:59;70125:350;;;70205:18;70226:40;70246:4;:19;;;70226:15;:19;;:40;;;;:::i;:::-;70205:61;;70281:18;70302:68;70354:15;;70302:47;70333:4;:15;;;70302:26;70317:10;;70302;:14;;:26;;;;:::i;:::-;:30;;:47::i;:::-;:51;;:68::i;:::-;70281:89;;70403:60;70423:39;70448:4;:13;;;70423:20;70438:4;70423:10;:14;;:20;;;;:::i;:39::-;70403:15;;:19;:60::i;:::-;70385:78;;70125:350;;;70492:63;70539:4;:15;;;70492:42;70529:4;70492:32;70508:15;70492:4;:11;;;:15;;:32;;;;:::i;:42::-;:46;;:63::i;:::-;70485:70;;;;;69870:693;;;;;:::o;67229:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67229:26:0;;;;-1:-1:-1;67229:26:0;;;;;;;;;;;;;;;;;;;;;;;:::o;67384:34::-;;;;:::o;69369:495::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;69524:3:::1;69507:13;:20;;;;69499:39;;;::::0;;-1:-1:-1;;;69499:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;69499:39:0;;;;;;;;;;;;;::::1;;69553:11;69549:61;;;69581:17;:15;:17::i;:::-;69620:21;69644:8;69653:4;69644:14;;;;;;;;;;;;;;;;;;69620:38;;69687:53;69728:11;69687:36;69707:4;:15;;;69687;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;69669:15;:71:::0;;;69751:15:::1;::::0;::::1;:29:::0;;;;69791:17:::1;::::0;::::1;:33:::0;;-1:-1:-1;;69791:33:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;69835:12:0;::::1;:21:::0;-1:-1:-1;69369:495:0:o;67843:486::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;68000:15:::1;67989:10;:26;:48;;;-1:-1:-1::0;68019:8:0::1;:15:::0;:18;67989:48:::1;67981:78;;;::::0;;-1:-1:-1;;;67981:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;67981:78:0;;;;;;;;;;;;;::::1;;68070:9;:20:::0;;;68102:4:::1;:12:::0;;-1:-1:-1;;;;;68102:12:0;;::::1;-1:-1:-1::0;;;;;;68102:12:0;;::::1;;::::0;;;68125:7:::1;:18:::0;;;;::::1;::::0;;::::1;;::::0;;68154:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;68189:10:::1;:24:::0;;;68102:4:::1;68224:98;68239:8;:15:::0;68237:17;::::1;68224:98;;;68301:9;;68274:8;68283:1;68274:11;;;;;;;;;::::0;;;::::1;::::0;;;:26:::1;:11;::::0;;::::1;;:26;:36:::0;68255:3:::1;;68224:98;;;;67843:486:::0;;;;;:::o;74854:920::-;29133:1;29739:7;;:19;;29731:63;;;;;-1:-1:-1;;;29731:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29133:1;29872:7;:18;;;;74933:21:::1;74957:8;74966:4;74957:14;;;;;;;;;::::0;;;::::1;::::0;;;75006;;;:8:::1;:14:::0;;;;;;75021:10:::1;75006:26:::0;;;;;;;75051:11;;74957:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;75051:22:0;-1:-1:-1;75051:22:0::1;75043:53;;;::::0;;-1:-1:-1;;;75043:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;75043:53:0;;;;;;;;;;;;;::::1;;75107:28;75121:4;75127:7;75107:13;:28::i;:::-;75146:16;75157:4;75146:10;:16::i;:::-;75173:15;75191:68;75243:4;:15;;;75191:47;75233:4;75191:37;75207:4;:20;;;75191:4;:11;;;:15;;:37;;;;:::i;:68::-;75173:86:::0;-1:-1:-1;75273:11:0;;75270:80:::1;;75301:37;75318:10;75330:7;75301:16;:37::i;:::-;75363:11:::0;;75360:206:::1;;75405:11:::0;;:24:::1;::::0;75421:7;75405:15:::1;:24::i;:::-;75391:38:::0;;75458:13:::1;::::0;::::1;::::0;:26:::1;::::0;75476:7;75458:17:::1;:26::i;:::-;75444:13;::::0;::::1;:40:::0;75499:12;;:55:::1;::::0;-1:-1:-1;;;;;75499:12:0::1;75533:10;75546:7:::0;75499:25:::1;:55::i;:::-;75610:20;::::0;::::1;::::0;75594:11;;:47:::1;::::0;75636:4:::1;::::0;75594:37:::1;::::0;:15:::1;:37::i;:47::-;75576:15;::::0;::::1;:65:::0;75684:20:::1;::::0;::::1;::::0;75668:11;;:47:::1;::::0;75710:4:::1;::::0;75668:37:::1;::::0;:15:::1;:37::i;:47::-;75652:15;::::0;::::1;:63:::0;75731:35:::1;::::0;;;;;;;75752:4;;75740:10:::1;::::0;75731:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;29089:1:0;30051:22;;-1:-1:-1;;;74854:920:0:o;77363:757::-;29133:1;29739:7;;:19;;29731:63;;;;;-1:-1:-1;;;29731:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29133:1;29872:7;:18;;;;77434:21:::1;77458:8;77467:4;77458:14;;;;;;;;;::::0;;;::::1;::::0;;;77507;;;:8:::1;:14:::0;;;;;;77522:10:::1;77507:26:::0;;;;;;;77561:11;;77458:14:::1;::::0;;;::::1;::::0;;::::1;77587:12;::::0;::::1;::::0;77458:14;;-1:-1:-1;77587:12:0::1;;77583:300;;;77616:15;77639:7;77647:4;:13;;;77639:22;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;77632:55:::1;::::0;;-1:-1:-1;;;77632:55:0;;77681:4:::1;77632:55;::::0;::::1;::::0;;;-1:-1:-1;;;;;77639:22:0;;::::1;::::0;77632:40:::1;::::0;:55;;;;;;;;;;77639:22;77632:55;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;77632:55:0;77719:13:::1;::::0;::::1;::::0;77708:10:::1;:25:::0;;77632:55;;-1:-1:-1;77708:10:0;:25;::::1;;;;;;::::0;;;::::1;::::0;;::::1;::::0;77744:12:::1;::::0;::::1;::::0;77702:63:::1;::::0;;-1:-1:-1;;;77702:63:0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;77708:25:0;;::::1;::::0;77702:41:::1;::::0;:63;;;;;;;;;;77708:25;;77702:63;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;77780:91;77793:4;77799:71;77859:10;77806:7;77814:4;:13;;;77806:22;;;;;;;;;::::0;;;::::1;::::0;;;;::::1;::::0;77799:55:::1;::::0;;-1:-1:-1;;;77799:55:0;;77848:4:::1;77799:55;::::0;::::1;::::0;;;-1:-1:-1;;;;;77806:22:0;;::::1;::::0;77799:40:::1;::::0;:55;;;;;;;;;;77806:22;77799:55;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;77799:55:0;;:59:::1;:71::i;:::-;77780:12;:91::i;:::-;77583:300;;77907:13;::::0;::::1;::::0;:25:::1;::::0;77925:6;77907:17:::1;:25::i;:::-;77893:13;::::0;::::1;:39:::0;77957:1:::1;77943:15:::0;;;77969::::1;::::0;::::1;:19:::0;77999:12;;:54:::1;::::0;-1:-1:-1;;;;;77999:12:0::1;78033:10;78046:6:::0;77999:25:::1;:54::i;:::-;78069:43;::::0;;;;;;;78099:4;;78087:10:::1;::::0;78069:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;29089:1:0;30051:22;;-1:-1:-1;;77363:757:0:o;72027:180::-;72089:8;:15;72072:14;72115:85;72143:6;72137:3;:12;72115:85;;;72173:15;72184:3;72173:10;:15::i;:::-;72151:5;;72115:85;;;;72027:180;:::o;70569:803::-;70625:7;70694:21;70718:8;70727:4;70718:14;;;;;;;;;;;;;;;;;;70694:38;;70746:4;:13;;;70761:1;70746:16;70743:622;;;70797:10;70808:1;70797:13;;;;;;;;;;;;;;;;;;;70823:12;;;;70785:66;;;-1:-1:-1;;;70785:66:0;;;;;;;;;70845:4;70785:66;;;;;-1:-1:-1;;;;;70797:13:0;;;;70785:37;;:66;;;;;;;;;;70797:13;70785:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70785:66:0;;-1:-1:-1;70778:73:0;;-1:-1:-1;70778:73:0;70743:622;70871:4;:13;;;70886:1;70871:16;70868:497;;;70919:10;70930:1;70919:13;;;;;;;;;;;;;;;;;;;70946:12;;;;70910:63;;;-1:-1:-1;;;70910:63:0;;;;;;;;;70967:4;70910:63;;;;;-1:-1:-1;;;;;70919:13:0;;;;70910:35;;:63;;;;;;;;;;70919:13;70910:63;;;;;;;;;;70868:497;70993:4;:13;;;71008:1;70993:16;70990:375;;;71043:10;71054:1;71043:13;;;;;;;;;;;;;;;;;;;71071:12;;;;71032:66;;;-1:-1:-1;;;71032:66:0;;;;;;;;;71092:4;71032:66;;;;;-1:-1:-1;;;;;71043:13:0;;;;71032:38;;:66;;;;;;;;;;71043:13;71032:66;;;;;;;;;;70990:375;71118:4;:13;;;71133:1;71118:16;71115:250;;;71168:10;71179:1;71168:13;;;;;;;;;;;;;;;;;;;71199:12;;;;71157:69;;;-1:-1:-1;;;71157:69:0;;;;;;;;;71220:4;71157:69;;;;;-1:-1:-1;;;;;71168:13:0;;;;71157:41;;:69;;;;;;;;;;71168:13;71157:69;;;;;;;;;;71115:250;71246:4;:13;;;71261:1;71246:16;71243:122;;;71297:10;71308:1;71297:13;;;;;;;;;;;;;;;;;;;71326:12;;;;71285:68;;;-1:-1:-1;;;71285:68:0;;;;;;;;;71347:4;71285:68;;;;;-1:-1:-1;;;;;71297:13:0;;;;71285:40;;:68;;;;;;;;;;71297:13;71285:68;;;;;;;;;;71243:122;70569:803;;;;;:::o;26827:148::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;26934:1:::1;26918:6:::0;;26897:40:::1;::::0;-1:-1:-1;;;;;26918:6:0;;::::1;::::0;26897:40:::1;::::0;26934:1;;26897:40:::1;26965:1;26948:19:::0;;-1:-1:-1;;;;;;26948:19:0::1;::::0;;26827:148::o;71378:641::-;71449:7;71469:21;71493:8;71502:4;71493:14;;;;;;;;;;;;;;;;;;;;;71521:12;;;;71493:14;;-1:-1:-1;71521:12:0;;71518:58;;71563:1;71556:8;;;;;71518:58;71586:21;71610:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;71610:21:0;;;;;;;;;71666:20;;;;71700:13;;;;:16;71697:234;;71732:15;71748:20;71763:4;71748:14;:20::i;:::-;71732:36;;71783:12;71796:38;71830:3;71796:29;71812:4;:12;;;71808:3;:16;71796:7;:11;;:29;;;;:::i;:38::-;71783:51;;71865:54;71885:33;71904:4;:13;;;71885:14;71894:4;71885;:8;;:14;;;;:::i;71865:54::-;71849:70;;71697:234;;;71948:63;71995:4;:15;;;71948:42;71985:4;71948:32;71964:15;71948:4;:11;;;:15;;:32;;;;:::i;67425:24::-;;;;:::o;79020:165::-;79103:10;;-1:-1:-1;;;;;79103:10:0;79089;:24;79081:61;;;;;-1:-1:-1;;;79081:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;79153:10;:24;;-1:-1:-1;;;;;;79153:24:0;-1:-1:-1;;;;;79153:24:0;;;;;;;;;;79020:165::o;78883:129::-;78954:7;;-1:-1:-1;;;;;78954:7:0;78940:10;:21;78932:43;;;;;-1:-1:-1;;;78932:43:0;;;;;;;;;;;;-1:-1:-1;;;78932:43:0;;;;;;;;;;;;;;;78986:7;:18;;-1:-1:-1;;;;;;78986:18:0;-1:-1:-1;;;;;78986:18:0;;;;;;;;;;78883:129::o;26176:87::-;26222:7;26249:6;-1:-1:-1;;;;;26249:6:0;26176:87;:::o;67311:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68335:1026::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;68536:3:::1;68519:13;:20;;;;68511:39;;;::::0;;-1:-1:-1;;;68511:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;68511:39:0;;;;;;;;;;;;;::::1;;68579:10;:17:::0;68569:27;::::1;68561:53;;;::::0;;-1:-1:-1;;;68561:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;68561:53:0;;;;;;;;;;;;;::::1;;68629:11;68625:61;;;68657:17;:15;:17::i;:::-;68696:22;68739:9;;68721:15;:27;:57;;68769:9;;68721:57;;;68751:15;68721:57;68807:15;::::0;68696:82;;-1:-1:-1;68807:32:0::1;::::0;68827:11;68807:19:::1;:32::i;:::-;68789:15;:50;;;;68850:8;68864:419;;;;;;;;68897:8;-1:-1:-1::0;;;;;68864:419:0::1;;;;;68932:11;68864:419;;;;68974:14;68864:419;;;;69020:1;68864:419;;;;69050:13;68864:419;;;;;;69087:1;68864:419;;;;69111:8;68864:419;;;;;;69143:9;68864:419;;;;69177:8;68864:419;;;;69207:1;68864:419;;;;69231:8;68864:419;;;;69270:1;68864:419;;::::0;68850:434:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;68850:434:0::1;;;;;-1:-1:-1::0;;;;;68850:434:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69295:8;-1:-1:-1::0;;;;;69295:16:0::1;;69320:10;69331:9;69320:21;;;;;;;;;::::0;;;::::1;::::0;;;;;::::1;::::0;69295:58:::1;::::0;;-1:-1:-1;;;;;;69295:58:0::1;::::0;;;;;;-1:-1:-1;;;;;69320:21:0;;::::1;69295:58;::::0;::::1;::::0;-1:-1:-1;;69295:58:0;;;;;;;;;;;;;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;;;;;;;68335:1026:0:o;66493:21::-;;;-1:-1:-1;;;;;66493:21:0;;:::o;66596:25::-;;;;:::o;66542:22::-;;;-1:-1:-1;;;;;66542:22:0;;:::o;73453:1395::-;29133:1;29739:7;;:19;;29731:63;;;;;-1:-1:-1;;;29731:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29133:1;29872:7;:18;;;;73531:21:::1;73555:8;73564:4;73555:14;;;;;;;;;::::0;;;::::1;::::0;;;73604;;;:8:::1;:14:::0;;;;;;73619:10:::1;73604:26:::0;;;;;;;73555:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;73641:16:0::1;73613:4:::0;73641:10:::1;:16::i;:::-;73672:11:::0;;:15;73668:236:::1;;73704:15;73722:68;73774:4;:15;;;73722:47;73764:4;73722:37;73738:4;:20;;;73722:4;:11;;;:15;;:37;;;;:::i;:68::-;73704:86:::0;-1:-1:-1;73808:11:0;;73805:88:::1;;73840:37;73857:10;73869:7;73840:16;:37::i;:::-;73668:236;;73917:11:::0;;73914:727:::1;;73945:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;73945:12:0::1;73983:10;74004:4;74011:7:::0;73945:29:::1;:74::i;:::-;74037:17;::::0;::::1;::::0;::::1;;:21:::0;74034:596:::1;;74111:17;::::0;::::1;::::0;74078:18:::1;::::0;74099:41:::1;::::0;74134:5:::1;::::0;74099:30:::1;::::0;:7;;74111:17:::1;;74099:11;:30::i;:41::-;74185:10;::::0;74159:12;;74078:62;;-1:-1:-1;74159:49:0::1;::::0;-1:-1:-1;;;;;74159:12:0;;::::1;::::0;74185:10:::1;74078:62:::0;74159:25:::1;:49::i;:::-;74227:16;74244:23;:7:::0;74256:10;74244:11:::1;:23::i;:::-;74227:40;;74286:28;74299:4;74305:8;74286:12;:28::i;:::-;74347:11:::0;;:25:::1;::::0;74363:8;74347:15:::1;:25::i;:::-;74333:39:::0;;74405:13:::1;::::0;::::1;::::0;:27:::1;::::0;74423:8;74405:17:::1;:27::i;:::-;74391:13;::::0;::::1;:41:::0;-1:-1:-1;74034:596:0::1;::::0;-1:-1:-1;74034:596:0::1;;74471:27;74484:4;74490:7;74471:12;:27::i;:::-;74531:11:::0;;:24:::1;::::0;74547:7;74531:15:::1;:24::i;:::-;74517:38:::0;;74588:13:::1;::::0;::::1;::::0;:26:::1;::::0;74606:7;74588:17:::1;:26::i;:::-;74574:13;::::0;::::1;:40:::0;74034:596:::1;74685:20;::::0;::::1;::::0;74669:11;;:47:::1;::::0;74711:4:::1;::::0;74669:37:::1;::::0;:15:::1;:37::i;:47::-;74651:15;::::0;::::1;:65:::0;74759:20:::1;::::0;::::1;::::0;74743:11;;:47:::1;::::0;74785:4:::1;::::0;74743:37:::1;::::0;:15:::1;:37::i;:47::-;74727:15;::::0;::::1;:63:::0;74806:34:::1;::::0;;;;;;;74826:4;;74814:10:::1;::::0;74806:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;29089:1:0;30051:22;;-1:-1:-1;;73453:1395:0:o;27130:244::-;26407:12;:10;:12::i;:::-;-1:-1:-1;;;;;26396:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26396:23:0;;26388:68;;;;;-1:-1:-1;;;26388:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26388:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27219:22:0;::::1;27211:73;;;;-1:-1:-1::0;;;27211:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27321:6;::::0;;27300:38:::1;::::0;-1:-1:-1;;;;;27300:38:0;;::::1;::::0;27321:6;::::1;::::0;27300:38:::1;::::0;::::1;27349:6;:17:::0;;-1:-1:-1;;;;;;27349:17:0::1;-1:-1:-1::0;;;;;27349:17:0;;;::::1;::::0;;;::::1;::::0;;27130:244::o;24711:106::-;24799:10;24711:106;:::o;3259:158::-;3317:7;3350:1;3345;:6;;3337:49;;;;;-1:-1:-1;;;3337:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3404:5:0;;;3259:158::o;3676:220::-;3734:7;3758:6;3754:20;;-1:-1:-1;3773:1:0;3766:8;;3754:20;3797:5;;;3801:1;3797;:5;:1;3821:5;;;;;:10;3813:56;;;;-1:-1:-1;;;3813:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3887:1;3676:220;-1:-1:-1;;;3676:220:0:o;4374:153::-;4432:7;4464:1;4460;:5;4452:44;;;;;-1:-1:-1;;;4452:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4518:1;4514;:5;;;;;;;4374:153;-1:-1:-1;;;4374:153:0:o;2797:179::-;2855:7;2887:5;;;2911:6;;;;2903:46;;;;;-1:-1:-1;;;2903:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;76542:751;76609:21;76633:8;76642:4;76633:14;;;;;;;;;;;;;;;;76682;;;:8;:14;;;;;;76697:10;76682:26;;;;;;;76723:12;76633:14;;;;;;;76723:12;;;;76633:14;;-1:-1:-1;76723:12:0;;76719:567;;;76752:15;76775:7;76783:4;:13;;;76775:22;;;;;;;;;;;;;;;;;;;76768:55;;;-1:-1:-1;;;76768:55:0;;76817:4;76768:55;;;;;;-1:-1:-1;;;;;76775:22:0;;;;76768:40;;:55;;;;;;;;;;76775:22;76768:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76768:55:0;76855:13;;;;76844:10;:25;;76768:55;;-1:-1:-1;76844:10:0;:25;;;;;;;;;;;;;;;76880:12;;;;76838:64;;;-1:-1:-1;;;76838:64:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76844:25:0;;;;76838:41;;:64;;;;;;;;;;76844:25;;76838:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76917:91;76930:4;76936:71;76996:10;76943:7;76951:4;:13;;;76943:22;;;;;;;76917:91;77026:11;;:13;77023:252;;77059:15;77075:68;77127:4;:15;;;77075:47;77117:4;77075:37;77091:4;:20;;;77075:4;:11;;;:15;;:37;;;;:::i;:68::-;77059:84;-1:-1:-1;77165:9:0;;77162:98;;77198:42;77215:4;77220:10;77232:7;77198:16;:42::i;77023:252::-;76719:567;;76542:751;;;;:::o;72283:745::-;72337:21;72361:8;72370:4;72361:14;;;;;;;;;;;;;;;;;;72337:38;;72409:4;:19;;;72390:15;:38;72386:77;;72445:7;;;72386:77;72477:13;;;;:18;;:42;;-1:-1:-1;72499:15:0;;;;:20;72477:42;72473:133;;;72558:15;72536:19;;;;:37;72588:7;;72473:133;72616:18;72637:40;72657:4;:19;;;72637:15;:19;;:40;;;;:::i;:::-;72616:61;;72688:18;72709:68;72761:15;;72709:47;72740:4;:15;;;72709:26;72724:10;;72709;:14;;:26;;;;:::i;:68::-;72788:4;;72798:7;;72688:89;;-1:-1:-1;;;;;;72788:4:0;;;;:9;;72798:7;72807:18;72688:89;72822:2;72807:14;:18::i;:::-;72788:38;;;;;;;;;;;;;-1:-1:-1;;;;;72788:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72837:4:0;;:36;;;-1:-1:-1;;;72837:36:0;;72855:4;72837:36;;;;;;;;;;;;-1:-1:-1;;;;;72837:4:0;;;;-1:-1:-1;72837:9:0;;-1:-1:-1;72837:36:0;;;;;:4;;:36;;;;;;;;:4;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72957:13:0;;;;72907:65;;-1:-1:-1;72932:39:0;;:20;:10;72947:4;72932:14;:20::i;:39::-;72907:20;;;;;:24;:65::i;:::-;72884:20;;;:88;-1:-1:-1;;73005:15:0;72983:19;;;;:37;72283:745;;:::o;78128:328::-;78222:4;;:29;;;-1:-1:-1;;;78222:29:0;;78245:4;78222:29;;;;;;78204:15;;-1:-1:-1;;;;;78222:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78222:29:0;;-1:-1:-1;78266:17:0;;;78262:187;;;78300:4;;:27;;;-1:-1:-1;;;78300:27:0;;-1:-1:-1;;;;;78300:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;78342:4:0;;-1:-1:-1;;;;;78342:4:0;:9;78352:3;78356:20;:7;78368;78356:11;:20::i;:::-;78342:35;;;;;;;;;;;;;-1:-1:-1;;;;;78342:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78262:187;;;78410:4;;:27;;;-1:-1:-1;;;78410:27:0;;-1:-1:-1;;;;;78410:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78262:187;78128:328;;;:::o;19325:177::-;19435:58;;;-1:-1:-1;;;;;19435:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19435:58:0;-1:-1:-1;;;19435:58:0;;;19408:86;;19428:5;;19408:19;:86::i;73034:411::-;73099:21;73123:8;73132:4;73123:14;;;;;;;;;;;;;;;;;;73099:38;;73158:1;73151:6;:8;:27;;;;;73177:1;73163:4;:13;;;:15;73151:27;73148:290;;;73216:7;;73236:12;;;;73194:65;;73211:4;;-1:-1:-1;;;;;73216:7:0;;;;73225:33;;73254:3;;73225:24;;:6;;:10;:24::i;:33::-;73194:16;:65::i;:::-;73274:10;73285:45;73296:33;73325:3;73296:24;73307:4;:12;;;73296:6;:10;;:24;;;;:::i;:33::-;73285:6;;:10;:45::i;:::-;73274:56;;73366:60;73391:34;73411:4;:13;;;73391:15;73401:4;73391:5;:9;;:15;;;;:::i;:34::-;73366:20;;;;;:24;:60::i;:::-;73345:20;;;:81;-1:-1:-1;73034:411:0;;;:::o;19510:205::-;19638:68;;;-1:-1:-1;;;;;19638:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19638:68:0;-1:-1:-1;;;19638:68:0;;;19611:96;;19631:5;;19611:19;:96::i;75780:756::-;75853:21;75877:8;75886:4;75877:14;;;;;;;;;;;;;;;;75926;;;:8;:14;;;;;;75941:10;75926:26;;;;;;;75967:12;75877:14;;;;;;;75967:12;;;;75877:14;;-1:-1:-1;75967:12:0;;75963:566;;;75996:15;76019:7;76027:4;:13;;;76019:22;;;;;;;;;;;;;;;;;;;76012:55;;;-1:-1:-1;;;76012:55:0;;76061:4;76012:55;;;;;;-1:-1:-1;;;;;76019:22:0;;;;76012:40;;:55;;;;;;;;;;76019:22;76012:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76012:55:0;76099:13;;;;76088:10;:25;;76012:55;;-1:-1:-1;76088:10:0;:25;;;;;;;;;;;;;;;76123:12;;;;76082:63;;;-1:-1:-1;;;76082:63:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;76088:25:0;;;;76082:40;;:63;;;;;;;;;;76088:25;;76082:63;;;;;;;;;;78463:364;78548:16;78572:7;78580:8;78589:4;78580:14;;;;;;;;;;;;;;;;;;:23;;;78572:32;;;;;;;;;;;;;;;;;;;;78632:34;;;-1:-1:-1;;;78632:34:0;;78660:4;78632:34;;;;;;-1:-1:-1;;;;;78572:32:0;;;;-1:-1:-1;78572:32:0;;78632:19;;:34;;;;;;;;;;78572:32;78632:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78632:34:0;;-1:-1:-1;78680:15:0;;;78677:61;;;78719:7;78711:15;;78677:61;78751:9;;78748:72;;78776:9;-1:-1:-1;;;;;78776:18:0;;78795:3;78800:7;78776:32;;;;;;;;;;;;;-1:-1:-1;;;;;78776:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;78463:364:0;;;;;:::o;21630:761::-;22054:23;22080:69;22108:4;22080:69;;;;;;;;;;;;;;;;;22088:5;-1:-1:-1;;;;;22080:27:0;;;:69;;;;;:::i;:::-;22164:17;;22054:95;;-1:-1:-1;22164:21:0;22160:224;;22306:10;22295:30;;;;;;;;;;;;;;;-1:-1:-1;22295:30:0;22287:85;;;;-1:-1:-1;;;22287:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14339:195;14442:12;14474:52;14496:6;14504:4;14510:1;14513:12;14474:21;:52::i;:::-;14467:59;14339:195;-1:-1:-1;;;;14339:195:0:o;15391:530::-;15518:12;15576:5;15551:21;:30;;15543:81;;;;-1:-1:-1;;;15543:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15643:18;15654:6;15643:10;:18::i;:::-;15635:60;;;;;-1:-1:-1;;;15635:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15769:12;15783:23;15810:6;-1:-1:-1;;;;;15810:11:0;15830:5;15838:4;15810:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15810:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15768:75;;;;15861:52;15879:7;15888:10;15900:12;15861:17;:52::i;:::-;15854:59;15391:530;-1:-1:-1;;;;;;;15391:530:0:o;11421:422::-;11788:20;11827:8;;;11421:422::o;17931:742::-;18046:12;18075:7;18071:595;;;-1:-1:-1;18106:10:0;18099:17;;18071:595;18220:17;;:21;18216:439;;18483:10;18477:17;18544:15;18531:10;18527:2;18523:19;18516:44;18431:148;18626:12;18619:20;;-1:-1:-1;;;18619:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://b9a6033c1c8b68ebf88ae463be20e66452d9e86fb5182a07d4ee9b2361da9d1f
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.