Contract 0x4B0073A79f2b46Ff5a62fA1458AAc86Ed918C80C

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x82f9bd70a8c1551dfea8627ff9878a38475dc336f2e6201bb1f5c97125d43a7383772262021-06-17 14:06:092 days 5 hrs ago0xa486fdda390d1f1566f285bd1cf0e056ef8afd66 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480945
0x342f521d30ced1db6d9d30f5ce0ee0ccbe3a6e5bc5f52a0b102722bbd916e51c83772072021-06-17 14:05:122 days 5 hrs ago0xa486fdda390d1f1566f285bd1cf0e056ef8afd66 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000837125
0xb5e25291e18ff10125600a77d774ea086cd8bf13db1db1866b1169b3ca9b636783128982021-06-15 7:56:024 days 11 hrs ago0x70094a27bdf709e389c18aa679d6a66c5d9cef7b IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480135
0x1487280ff0f8b0d2e34aa6d1ca4d34cf31af89f55e7fce603a76a16e8c39e68c83128872021-06-15 7:55:294 days 11 hrs ago0x70094a27bdf709e389c18aa679d6a66c5d9cef7b IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00059062
0x796f2381eef4e418fbf0eb19b94c56a4ff40a441d80f4c001e99e55a1d50c9d283128682021-06-15 7:54:324 days 11 hrs ago0x70094a27bdf709e389c18aa679d6a66c5d9cef7b IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00068112
0x03ad4e88fddc18a319b54453d462fd7032c58b73ff42d604aa99f02b3643831083121362021-06-15 7:16:324 days 12 hrs ago0x2a1d82f5242064330bac450c2305cb1d6cb6e2b2 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000185465
0x4a3bc5cf54ed3b54e5bce7627b819440c5149ebaa978b98c427ac35ec9abbefe83120962021-06-15 7:14:324 days 12 hrs ago0x2a1d82f5242064330bac450c2305cb1d6cb6e2b2 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00018892
0xfcb15640d8b6a3a0ca53fcca088cfe086ec7843bbce36ff39259cff2bc2444af82666492021-06-13 16:53:076 days 2 hrs ago0xc1077f000aa8200ab341b2736bbedb95b7db2391 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480195
0x486eb631cf9e3e550d0c0342e21be994377b717ad0743488d8f1151da48ec90482666362021-06-13 16:52:286 days 2 hrs ago0xc1077f000aa8200ab341b2736bbedb95b7db2391 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000580895
0xe174316ea057d5b6687faf533b04014cb6c35e9b1e9c5471dd81a8ecca43554382073332021-06-11 15:07:338 days 4 hrs ago0x43a1a7ca0e1a4976d2eca583ec9d7cda3c48e7fe IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000479975
0x1d5836f6914c6d3e6d1d533f9a2cbdaa9338856534151a7f3fe3e87241e61ee282072902021-06-11 15:05:248 days 4 hrs ago0x43a1a7ca0e1a4976d2eca583ec9d7cda3c48e7fe IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00079958
0xe0d192e32d7039d535c75d0c8a1192ff5e0f8467010869a68a4648e762bf05b681385032021-06-09 5:34:2410 days 14 hrs ago0x3eaa54ea594684dd8018d792de66cf6d6ea555d6 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000618675
0x50dbff410f52c07403963260b1f8b9588b74e053d0347f95c65936cd948eb55181384582021-06-09 5:32:0910 days 14 hrs ago0x3b015df0f87a47b5b49b734a68e6b9d632ef5704 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00059089
0x3b20e0e94c5dcdcd249ced8c7f046119ca47f88abb4ccb7b310d4ac34e97a7c481384572021-06-09 5:32:0610 days 14 hrs ago0x3b015df0f87a47b5b49b734a68e6b9d632ef5704 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00059016
0x25be2ecbf92684f7325df6270af704ff378dfddde8e8dbba20b00a31e476c71e81084352021-06-08 4:27:2311 days 15 hrs ago0xe99182a3cc189d025ce23f8c7d0807dc97c07561 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480255
0x88e3846b5f9b4e066c20cccae0ae1a6583e95d2a343974870cf9af2f6d586f9b81084332021-06-08 4:27:1711 days 15 hrs ago0xe99182a3cc189d025ce23f8c7d0807dc97c07561 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00068238
0xe805eba160f18dc8a4b8ef98731697923cf029881dc5e405dbf05b21a44b638881046942021-06-08 1:20:0211 days 18 hrs ago0xb4787eaa6479ba6bcb76ec4fe0af79357dcbb688 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000757805
0xbcb2769f4f8177be682dbc07b2685cbdc0a4f2821ca5e947dd599e07ae9dad0f80056482021-06-04 14:38:2915 days 4 hrs ago0x1df3758bb579f9bb34f224405f7203a586d3d649 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00075635
0xa8b738b6c14d3d74789a14b481b60afc9c47af7683189bc2fb9b71de4724b18a79766732021-06-03 14:24:5916 days 5 hrs ago0x03324ebc8612010786e23e54aba0015775b35b0e IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00054931
0x51c9cd84036a388fd8b5d59685d5e83f384e54b142e307f8e6aa3a70f81650bf77278892021-05-25 22:06:5824 days 21 hrs ago0x245313d2e742e5bc50319be184f5bbe9f38091fb IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00054931
0xe7ef63c662901f23ab923a591a21793836716e8e3de79a25e8eaaeb04299fd4f76871262021-05-24 12:02:2426 days 7 hrs ago0xb9fc0b2451bb7b8fb77b8766bc351115ce126358 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000693675
0xe3f3edcfca9bd50e7e0f66842bf9b6cbf2ff25f3524f5d447b6cd9e24af489b476292332021-05-22 11:36:2628 days 7 hrs ago0xa5b360e44c911ee3d3b5c2eb4bbf3ae6db8642c9 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000836945
0x72cd1059e4e7cb6d9287e5d6ff87038a99742393377529f34055601cc51e3ae576218472021-05-22 5:25:5328 days 14 hrs ago0xae11c325de012f886d40637991f41fb581456987 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480765
0x19a1cab56af4ecadb6b16efb0c3c6272ecab5195b7a3f36a6eff7b366751f91d76193892021-05-22 3:22:5928 days 16 hrs ago0xae11c325de012f886d40637991f41fb581456987 IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.00108025
0xd33dec8b7177f93cf57f2a7d944f591ecb5771a748cb1b3e8cde8a09d183c0f775775892021-05-20 16:22:3930 days 3 hrs ago0x4f776ae3ee64ef79dd28f44a041f75b4e85c59ad IN  0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c0 BNB0.000480945
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c 0x7dae0c9386f784d900f68b54572b31c6b13c35720 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c 0x7dae0c9386f784d900f68b54572b31c6b13c35720 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x7cb3dbaefd3381e5dafa72253ea5f1498fb2f6b8ab7a80976c68e51706db75e854713342021-03-07 11:59:39104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c DAI Stablecoin0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c 0x7dae0c9386f784d900f68b54572b31c6b13c35720 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x0c487d045205aff3b0164e3ba50e12491c1dbe1a9cf317cae814cd682a05b9c754713312021-03-07 11:59:30104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x980ae18db5176dd322cee8d1c5e9ca7f5aeebe0c20fe790e3bcb6f9e2a9b5e4654713302021-03-07 11:59:27104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
0x980ae18db5176dd322cee8d1c5e9ca7f5aeebe0c20fe790e3bcb6f9e2a9b5e4654713302021-03-07 11:59:27104 days 7 hrs ago 0x4b0073a79f2b46ff5a62fa1458aac86ed918c80c Slime: Old SLME Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SlimeFactory

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: SlimeFactory.sol
 /** 
 * @title MC
 * @dev Implements voting process along with vote delegation
 */
 
import './SafeMath.sol'; 
import './IBEP20.sol';
import './BEP20.sol';
import './SlimeToken.sol';

pragma solidity 0.6.12;


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

//  referral
interface SlimeFriends {
    function setSlimeFriend(address farmer, address referrer) external;
    function getSlimeFriend(address farmer) external view returns (address);
}

 contract IRewardDistributionRecipient is Ownable {
    address public rewardReferral;
    address public rewardVote;
 

    function setRewardReferral(address _rewardReferral) external onlyOwner {
        rewardReferral = _rewardReferral;
    }
 
}
/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */

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

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

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. CAKEs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that CAKEs distribution occurs.
        uint256 accCakePerShare; // Accumulated CAKEs per share, times 1e12. See below.
        uint256 fee;
    }
 
    // The  TOKEN!
    SlimeToken public st;
     
    // Dev address.aqui va el dinero para la falopa del dev
    address public devaddr;
    
    address public divPoolAddress;
    // CAKE tokens created per block.
    uint256 public slimesPerBlock;
    // no se para que pero bueno. ahi está.
    uint256 public BONUS_MULTIPLIER = 1;
    // The migrator contract. It has a lot of power. Can only be set through governance (owner).
    

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when This   mining starts.
    uint256 public startBlock;
    
    uint256 public bonusEndBlock;
     
 
     
    // fee  sum 10% 
    uint256 public divreferralfee = 15; 
    uint256 public divPoolFee = 30;  
    uint256 public divdevfee = 10;  
  
    uint256 public MAX_FEE_ALLOWED = 50;  
    

    uint256 public stakepoolId = 0;  
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    
     
    event RewardPaid(address indexed user, uint256 reward);
    event ReferralPaid(address indexed user,address indexed userTo, uint256 reward);
    
    event Burned(uint256 reward);
       
    mapping (uint256 => bool) public enablemethod;   
       
    constructor(
        SlimeToken _st,
        
        address _devaddr,
        address _divPoolAddress, 
        uint256 _slimesPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock
    ) public {
        st = _st;
      
        devaddr = _devaddr;
        divPoolAddress = _divPoolAddress;
        slimesPerBlock = _slimesPerBlock;
        startBlock = _startBlock;
        bonusEndBlock = _bonusEndBlock;
        
        totalAllocPoint = 0;
        
        enablemethod[0]= false;
        enablemethod[1]= false;
        enablemethod[2]= true;
    }

    function updateMultiplier(uint256 multiplierNumber) public onlyOwner {
        BONUS_MULTIPLIER = multiplierNumber;
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IBEP20 _lpToken, bool _withUpdate, uint256 __lastRewardBlock,uint256 __fee) public onlyOwner {
        
          // if _fee == 10 then 100% of dev and treasury fee is applied, if _fee = 5 then 50% discount, if 0 , no fee
        require(__fee<=10);
        
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = __lastRewardBlock == 0 ? block.number > startBlock ? block.number : startBlock : __lastRewardBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accCakePerShare: 0,
            fee:__fee
        }));
        
    }

    // Update the given pool's CAKE allocation point. Can only be called by the owner. if update lastrewardblock, need update pools
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate, uint256 __lastRewardBloc,uint256 __fee) public onlyOwner { 
        // if _fee == 10 then 100% of dev and treasury fee is applied, if _fee = 5 then 50% discount, if 0 , no fee
         require(__fee<=10);
         
         if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        if(__lastRewardBloc>0)
            poolInfo[_pid].lastRewardBlock = __lastRewardBloc;
         
            poolInfo[_pid].fee = __fee;
    }
 

   // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_to <= bonusEndBlock) {
            return _to.sub(_from).mul(BONUS_MULTIPLIER);
        } else if (_from >= bonusEndBlock) {
            return _to.sub(_from);
        } else {
            return bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).add(
                _to.sub(bonusEndBlock)
            );
        }
    }

    // View function to see pending tokens on frontend.
    function pendingReward(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accCakePerShare = pool.accCakePerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 cakeReward = multiplier.mul(slimesPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accCakePerShare = accCakePerShare.add(cakeReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accCakePerShare).div(1e12).sub(user.rewardDebt);
    }

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


    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 cakeReward = multiplier.mul(slimesPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
         //st.mint(devaddr, cakeReward.div(5));
         st.mint(address(this), cakeReward); 
         //treasury and dev
         st.mint(divPoolAddress, cakeReward.mul(divPoolFee).div(1000));
         st.mint(devaddr, cakeReward.mul(divdevfee).div(1000));

        pool.accCakePerShare = pool.accCakePerShare.add(cakeReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }
    
    /** Harvest all pools where user has pending balance at same time!  Be careful of gas spending! **/
    function massHarvest(uint256[] memory idsx) public { 
            require(enablemethod[0]);
            
        uint256 idxlength = idsx.length; 
        address nulladdress = address(0); 
          for (uint256 i = 0; i < idxlength;  i++) {
                 deposit(idsx[i],0,nulladdress);
            }
        
    }
    
      /** Harvest & stake to stakepool all pools where user has pending balance at same time!  Be careful of gas spending! **/
    function massStake(uint256[] memory idsx) public { 
         require(enablemethod[1]);
        uint256 idxlength = idsx.length; 
          for (uint256 i = 0; i < idxlength;  i++) {
                 stakeReward(idsx[i]);
            } 
    }
    
    // Deposit LP tokens to MasterChef for CAKE allocation.
    function deposit(uint256 _pid, uint256 _amount,address referrer) public   {

        
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        
        // anti -backdoor 
         require((block.number >= pool.lastRewardBlock || _amount==0) ,"pool didnt start yet");
        
        updatePool(_pid); 
         if (_amount>0 && rewardReferral != address(0) && referrer != address(0)) {
            SlimeFriends(rewardReferral).setSlimeFriend (msg.sender, referrer);
        }
        
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accCakePerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
               payRefFees(pending);
              safeStransfer(msg.sender, pending);
              emit RewardPaid(msg.sender, pending); 
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
           if(pool.fee > 0){
                // if pool.fee = 10 ==>  35 * 10/10000 = 3,5% fee
                // if pool.fee = 5 ==>  35 * 5/10000 = 1,75 fee
                // if pool.fee = 0 ==>  35 * 0/10000 = 0 fee
                uint256 treasuryfee = _amount.mul(pool.fee).mul(divPoolFee).div(10000);
                uint256 devfee = _amount.mul(pool.fee).mul(divdevfee).div(10000);
 
                 pool.lpToken.safeTransfer(divPoolAddress, treasuryfee);
                 pool.lpToken.safeTransfer(devaddr, devfee);
 
                user.amount = user.amount.add(_amount).sub(treasuryfee).sub(devfee);
            }else{
                user.amount = user.amount.add(_amount);
            }
        }
         
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // user can choose autoStake reward to stake pool instead just harvest
    function stakeReward(uint256 _pid) public {
        require(enablemethod[2] && _pid!=stakepoolId);
        
        UserInfo storage user = userInfo[_pid][msg.sender];
        
           if (user.amount > 0) {
            PoolInfo storage pool = poolInfo[_pid];   
            
            updatePool(_pid);
            
            uint256 pending = user.amount.mul(pool.accCakePerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                payRefFees(pending);
                 
                safeStransfer(msg.sender, pending);
                emit RewardPaid(msg.sender, pending); 
                
                deposit(stakepoolId,pending,address(0));
                
            }
          user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);
        }
         
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {

      
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accCakePerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
         safeStransfer(msg.sender, pending);
         emit RewardPaid(msg.sender, pending); 
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accCakePerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }
    
    function payRefFees( uint256 pending ) internal
    { 
        uint256 toReferral   =pending.mul(divreferralfee).div(1000);// 2% 
   
         address referrer = address(0);
          if (rewardReferral != address(0)) {
                referrer = SlimeFriends(rewardReferral).getSlimeFriend (msg.sender);
               
            }
            
            if (referrer != address(0)) { // send commission to referrer 
               st.mint(referrer, toReferral);
                emit ReferralPaid(msg.sender, referrer,toReferral); 
            } 
  
    
    }
    

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }
  
    function changeSlimiesPerBlock(uint256 _slimesPerBlock) public onlyOwner {
        slimesPerBlock = _slimesPerBlock;
    }
 
    function safeStransfer(address _to, uint256 _amount) internal {
        uint256 sbal = st.balanceOf(address(this));
        if (_amount > sbal) {
            st.transfer(_to, sbal);
        } else {
            st.transfer(_to, _amount);
        }
    }
    
    
      function updateFees(uint256 _devFee,uint256 _refFee,uint256 _divPoolFee ) public onlyOwner{

       require(_devFee <= MAX_FEE_ALLOWED && _refFee <= MAX_FEE_ALLOWED &&  _divPoolFee <= MAX_FEE_ALLOWED);
        divdevfee = _devFee; 
        divreferralfee = _refFee;
        divPoolFee = _divPoolFee; 
    }
  
    function setdivPoolAddress(address _divPoolAddress)  public onlyOwner  {
        
        divPoolAddress =_divPoolAddress;
    }
    // Update dev address by the previous dev.
    function devAddress(address _devaddr) public onlyOwner{
        devaddr = _devaddr;
    }
    
    //set what will be the stake pool 
    function setStakePoolId(uint256 _id)  public onlyOwner  {
        stakepoolId =_id;
    }
    
    function enableMethod(uint256 _id,bool enabled) public onlyOwner
    { 
        enablemethod[_id]= enabled;
    }
}

File 2 of 6: Address.sol
// 
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */


// 
/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        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 3 of 6: BEP20.sol
import './SafeMath.sol';
import './Address.sol';
import './IBEP20.sol';

pragma solidity 0.6.12;


// 
/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// 
/**
 * @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.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
// 
/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

 
    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        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 4 of 6: IBEP20.sol
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 5 of 6: SafeMath.sol
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

File 6 of 6: SlimeToken.sol
/** 
 * @title STtoken
 * @dev Implements voting process along with vote delegation
 */



import './SafeMath.sol';
import './IBEP20.sol';
import './BEP20.sol';
//import '.SafeBEP20.sol';


pragma solidity 0.6.12;

 
// CakeToken with Governance.
contract SlimeToken is BEP20('Slime', 'SLME') {
    /// @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);
    }

    // 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

    /// @notice 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), "CAKE::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "CAKE::delegateBySig: invalid nonce");
        require(now <= expiry, "CAKE::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, "CAKE::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 CAKEs (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, "CAKE::_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;
    }
}
 

Contract ABI

[{"inputs":[{"internalType":"contract SlimeToken","name":"_st","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_divPoolAddress","type":"address"},{"internalType":"uint256","name":"_slimesPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Burned","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":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"userTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"ReferralPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","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":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE_ALLOWED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"__lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"__fee","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slimesPerBlock","type":"uint256"}],"name":"changeSlimiesPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"devAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"divPoolAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"divPoolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"divdevfee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"divreferralfee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"enableMethod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"enablemethod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"idsx","type":"uint256[]"}],"name":"massHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"idsx","type":"uint256[]"}],"name":"massStake","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":"pendingReward","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":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accCakePerShare","type":"uint256"},{"internalType":"uint256","name":"fee","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":[],"name":"rewardReferral","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardVote","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"__lastRewardBloc","type":"uint256"},{"internalType":"uint256","name":"__fee","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardReferral","type":"address"}],"name":"setRewardReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"setStakePoolId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_divPoolAddress","type":"address"}],"name":"setdivPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slimesPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"st","outputs":[{"internalType":"contract SlimeToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"stakeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakepoolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","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":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_refFee","type":"uint256"},{"internalType":"uint256","name":"_divPoolFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016007556000600a55600f600d55601e600e55600a600f556032601055600060115534801561003357600080fd5b5060405162002b6b38038062002b6b833981810160405260c081101561005857600080fd5b508051602082015160408301516060840151608085015160a090950151939492939192909160006100876101b2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b03199081166001600160a01b039889161790915560048054821696881696909617909555600580549095169390951692909217909255600691909155600b55600c556000600a81905560126020527f7e7fa33969761a458e04f477e039a608702b4f924981d6653935a8319a08ad7b805460ff199081169091557f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a380548216905560029091527f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b2805490911660011790556101b6565b3390565b6129a580620001c66000396000f3fe608060405234801561001057600080fd5b50600436106102dd5760003560e01c80636b4f34aa1161018657806398969e82116100e3578063c52988cc11610097578063dc72bb9711610071578063dc72bb971461081c578063f2fde38b14610839578063f446d53f1461085f576102dd565b8063c52988cc14610769578063c6778aa61461080c578063d49e77cd14610814576102dd565b8063b3ab56fe116100c8578063b3ab56fe14610704578063b4c643b51461072a578063c3dee20b14610761576102dd565b806398969e8214610635578063ae8af9bc14610661576102dd565b80638da5cb5b1161013a5780638dbdbe6d1161011f5780638dbdbe6d146105a15780638ea33f81146105d357806393f1a40b146105f0576102dd565b80638da5cb5b146105765780638dbb1e3a1461057e576102dd565b806373f0cc2d1161016b57806373f0cc2d1461054957806388f3ce3e146105515780638aa285501461056e576102dd565b80636b4f34aa14610539578063715018a614610541576102dd565b80632f6687051161023f5780635312ea8e116101f3578063630b5ba1116101cd578063630b5ba11461050357806367bed16a1461050b5780636a5016be14610513576102dd565b80635312ea8e146104895780635ffe6146146104a657806362e006c7146104c3576102dd565b806348cd4cb11161022457806348cd4cb11461043f5780634995fc851461044757806351eb05a61461046c576102dd565b80632f66870514610414578063441a3e701461041c576102dd565b80631526fe27116102965780631aed65531161027b5780631aed6553146103b257806322429085146103ba578063227f60a0146103e3576102dd565b80631526fe271461035857806317caf6f1146103aa576102dd565b80630cdb43c4116102c75780630cdb43c4146103245780630d2234a814610348578063115ee21314610350576102dd565b80622dcfb9146102e2578063081e3eda1461030a575b600080fd5b610308600480360360208110156102f857600080fd5b50356001600160a01b0316610867565b005b61031261090b565b60408051918252519081900360200190f35b61032c610911565b604080516001600160a01b039092168252519081900360200190f35b610312610920565b610312610926565b6103756004803603602081101561036e57600080fd5b503561092c565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b610312610974565b61031261097a565b610308600480360360608110156103d057600080fd5b5080359060208101359060400135610980565b610400600480360360208110156103f957600080fd5b5035610a23565b604080519115158252519081900360200190f35b610312610a38565b6103086004803603604081101561043257600080fd5b5080359060200135610a3e565b610312610bdf565b6103086004803603604081101561045d57600080fd5b50803590602001351515610be5565b6103086004803603602081101561048257600080fd5b5035610c8d565b6103086004803603602081101561049f57600080fd5b5035610f82565b610308600480360360208110156104bc57600080fd5b503561101d565b610308600480360360a08110156104d957600080fd5b508035906001600160a01b036020820135169060408101351515906060810135906080013561108c565b610308611279565b61032c61129c565b6103086004803603602081101561052957600080fd5b50356001600160a01b03166112ab565b61031261134f565b610308611355565b61032c611421565b6103086004803603602081101561056757600080fd5b5035611430565b61031261149f565b61032c6114a5565b6103126004803603604081101561059457600080fd5b50803590602001356114b4565b610308600480360360608110156105b757600080fd5b50803590602081013590604001356001600160a01b0316611529565b610308600480360360208110156105e957600080fd5b5035611853565b61061c6004803603604081101561060657600080fd5b50803590602001356001600160a01b03166118c2565b6040805192835260208301919091528051918290030190f35b6103126004803603604081101561064b57600080fd5b50803590602001356001600160a01b03166118e6565b6103086004803603602081101561067757600080fd5b81019060208101813564010000000081111561069257600080fd5b8201836020820111156106a457600080fd5b803590602001918460208302840111640100000000831117156106c657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611a5d945050505050565b6103086004803603602081101561071a57600080fd5b50356001600160a01b0316611acb565b610308600480360360a081101561074057600080fd5b50803590602081013590604081013515159060608101359060800135611b6f565b61032c611ca8565b6103086004803603602081101561077f57600080fd5b81019060208101813564010000000081111561079a57600080fd5b8201836020820111156107ac57600080fd5b803590602001918460208302840111640100000000831117156107ce57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611cb7945050505050565b610312611d29565b61032c611d2f565b6103086004803603602081101561083257600080fd5b5035611d3e565b6103086004803603602081101561084f57600080fd5b50356001600160a01b0316611e7f565b610312611ef2565b61086f611ef8565b6000546001600160a01b039081169116146108d1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60085490565b6001546001600160a01b031681565b600f5481565b600e5481565b6008818154811061093957fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b600a5481565b600c5481565b610988611ef8565b6000546001600160a01b039081169116146109ea576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60105483111580156109fe57506010548211155b8015610a0c57506010548111155b610a1557600080fd5b600f92909255600d55600e55565b60126020526000908152604090205460ff1681565b60105481565b600060088381548110610a4d57fe5b600091825260208083208684526009825260408085203386529092529220805460059092029092019250831115610acb576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b610ad484610c8d565b6000610b0e8260010154610b0864e8d4a51000610b0287600301548760000154611efc90919063ffffffff16565b90611f5c565b90611f9e565b90508015610b5757610b203382611fe0565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b8315610b81578154610b699085611f9e565b82558254610b81906001600160a01b031633866121bb565b60038301548254610b9c9164e8d4a5100091610b0291611efc565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600b5481565b610bed611ef8565b6000546001600160a01b03908116911614610c4f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60009182526012602052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b600060088281548110610c9c57fe5b9060005260206000209060050201905080600201544311610cbd5750610f7f565b8054604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d2057600080fd5b505afa158015610d34573d6000803e3d6000fd5b505050506040513d6020811015610d4a57600080fd5b5051905080610d60575043600290910155610f7f565b6000610d708360020154436114b4565b90506000610d9d600a54610b028660010154610d9760065487611efc90919063ffffffff16565b90611efc565b600354604080517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610e0c57600080fd5b505af1158015610e20573d6000803e3d6000fd5b5050600354600554600e546001600160a01b0392831694506340c10f199350911690610e55906103e890610b02908790611efc565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610e9b57600080fd5b505af1158015610eaf573d6000803e3d6000fd5b5050600354600454600f546001600160a01b0392831694506340c10f199350911690610ee4906103e890610b02908790611efc565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f2a57600080fd5b505af1158015610f3e573d6000803e3d6000fd5b50505050610f6c610f6184610b0264e8d4a5100085611efc90919063ffffffff16565b60038601549061223b565b6003850155505043600290920191909155505b50565b600060088281548110610f9157fe5b60009182526020808320858452600982526040808520338087529352909320805460059093029093018054909450610fd6926001600160a01b039190911691906121bb565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b611025611ef8565b6000546001600160a01b03908116911614611087576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600755565b611094611ef8565b6000546001600160a01b039081169116146110f6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a81111561110457600080fd5b821561111257611112611279565b600082156111205782611133565b600b54431161113157600b54611133565b435b600a54909150611143908761223b565b600a556040805160a0810182526001600160a01b039687168152602081019788529081019182526000606082018181526080830194855260088054600181018255925291517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600590920291820180547fffffffffffffffffffffffff000000000000000000000000000000000000000016919098161790965595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee4860155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee585015593517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee6840155505090517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee790910155565b60085460005b818110156112985761129081610c8d565b60010161127f565b5050565b6005546001600160a01b031681565b6112b3611ef8565b6000546001600160a01b03908116911614611315576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600d5481565b61135d611ef8565b6000546001600160a01b039081169116146113bf576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6003546001600160a01b031681565b611438611ef8565b6000546001600160a01b0390811691161461149a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b60075481565b6000546001600160a01b031690565b6000600c5482116114d7576007546114d090610d978486611f9e565b9050611523565b600c5483106114ea576114d08284611f9e565b6114d0611502600c5484611f9e90919063ffffffff16565b61151d600754610d9787600c54611f9e90919063ffffffff16565b9061223b565b92915050565b60006008848154811061153857fe5b600091825260208083208784526009825260408085203386529092529220600260059092029092019081015490925043101580611573575083155b6115c4576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c206469646e7420737461727420796574000000000000000000000000604482015290519081900360640190fd5b6115cd85610c8d565b6000841180156115e757506001546001600160a01b031615155b80156115fb57506001600160a01b03831615155b1561168657600154604080517f8814c1490000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03868116602483015291519190921691638814c14991604480830192600092919082900301818387803b15801561166d57600080fd5b505af1158015611681573d6000803e3d6000fd5b505050505b80541561170f5760006116bb8260010154610b0864e8d4a51000610b0287600301548760000154611efc90919063ffffffff16565b9050801561170d576116cc81612295565b6116d63382611fe0565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b83156117f557815461172c906001600160a01b0316333087612436565b6004820154156117e657600061175b612710610b02600e54610d9787600401548a611efc90919063ffffffff16565b90506000611782612710610b02600f54610d9788600401548b611efc90919063ffffffff16565b60055485549192506117a1916001600160a01b039081169116846121bb565b60045484546117bd916001600160a01b039182169116836121bb565b6117dc81610b0884610b088a886000015461223b90919063ffffffff16565b8355506117f59050565b80546117f2908561223b565b81555b600382015481546118109164e8d4a5100091610b0291611efc565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b61185b611ef8565b6000546001600160a01b039081169116146118bd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b601155565b60096020908152600092835260408084209091529082529020805460019091015482565b600080600884815481106118f657fe5b600091825260208083208784526009825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561198957600080fd5b505afa15801561199d573d6000803e3d6000fd5b505050506040513d60208110156119b357600080fd5b50516002850154909150431180156119ca57508015155b15611a2a5760006119df8560020154436114b4565b90506000611a06600a54610b028860010154610d9760065487611efc90919063ffffffff16565b9050611a25611a1e84610b028464e8d4a51000611efc565b859061223b565b935050505b611a528360010154610b0864e8d4a51000610b02868860000154611efc90919063ffffffff16565b979650505050505050565b600160005260126020527f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a35460ff16611a9557600080fd5b805160005b81811015611ac657611abe838281518110611ab157fe5b6020026020010151611d3e565b600101611a9a565b505050565b611ad3611ef8565b6000546001600160a01b03908116911614611b35576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b611b77611ef8565b6000546001600160a01b03908116911614611bd9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600a811115611be757600080fd5b8215611bf557611bf5611279565b611c2c8461151d60088881548110611c0957fe5b906000526020600020906005020160010154600a54611f9e90919063ffffffff16565b600a819055508360088681548110611c4057fe5b60009182526020909120600160059092020101558115611c7e578160088681548110611c6857fe5b9060005260206000209060050201600201819055505b8060088681548110611c8c57fe5b9060005260206000209060050201600401819055505050505050565b6002546001600160a01b031681565b6000805260126020527f7e7fa33969761a458e04f477e039a608702b4f924981d6653935a8319a08ad7b5460ff16611cee57600080fd5b80516000805b82811015611d2357611d1b848281518110611d0b57fe5b6020026020010151600084611529565b600101611cf4565b50505050565b60115481565b6004546001600160a01b031681565b600260005260126020527f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b25460ff168015611d7b57506011548114155b611d8457600080fd5b6000818152600960209081526040808320338452909152902080541561129857600060088381548110611db357fe5b90600052602060002090600502019050611dcc83610c8d565b6000611dfa8360010154610b0864e8d4a51000610b0286600301548860000154611efc90919063ffffffff16565b90508015611e5957611e0b81612295565b611e153382611fe0565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2611e59601154826000611529565b60038201548354611e749164e8d4a5100091610b0291611efc565b600184015550505050565b611e87611ef8565b6000546001600160a01b03908116911614611ee9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610f7f816124be565b60065481565b3390565b600082611f0b57506000611523565b82820282848281611f1857fe5b0414611f555760405162461bcd60e51b815260040180806020018281038252602181526020018061294f6021913960400191505060405180910390fd5b9392505050565b6000611f5583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612576565b6000611f5583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612618565b600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561204457600080fd5b505afa158015612058573d6000803e3d6000fd5b505050506040513d602081101561206e57600080fd5b505190508082111561211b57600354604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156120e957600080fd5b505af11580156120fd573d6000803e3d6000fd5b505050506040513d602081101561211357600080fd5b50611ac69050565b600354604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561218a57600080fd5b505af115801561219e573d6000803e3d6000fd5b505050506040513d60208110156121b457600080fd5b5050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611ac6908490612672565b600082820183811015611f55576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006122b26103e8610b02600d5485611efc90919063ffffffff16565b6001549091506000906001600160a01b03161561235c57600154604080517fc2f5d44600000000000000000000000000000000000000000000000000000000815233600482015290516001600160a01b039092169163c2f5d44691602480820192602092909190829003018186803b15801561232d57600080fd5b505afa158015612341573d6000803e3d6000fd5b505050506040513d602081101561235757600080fd5b505190505b6001600160a01b03811615611ac657600354604080517f40c10f190000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260248201869052915191909216916340c10f1991604480830192600092919082900301818387803b1580156123d957600080fd5b505af11580156123ed573d6000803e3d6000fd5b50506040805185815290516001600160a01b03851693503392507f0a721ab4682ceb61c7e4d264ef879fc419a6d764b136e7d96ef54b2053c756739181900360200190a3505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611d23908590612672565b6001600160a01b0381166125035760405162461bcd60e51b81526004018080602001828103825260268152602001806129296026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600081836126025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125c75781810151838201526020016125af565b50505050905090810190601f1680156125f45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161260e57fe5b0495945050505050565b6000818484111561266a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125c75781810151838201526020016125af565b505050900390565b60606126c7826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127239092919063ffffffff16565b805190915015611ac6578080602001905160208110156126e657600080fd5b5051611ac65760405162461bcd60e51b815260040180806020018281038252602a8152602001806128ff602a913960400191505060405180910390fd5b6060612732848460008561273a565b949350505050565b6060612745856128c5565b612796576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106127f357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016127b6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612855576040519150601f19603f3d011682016040523d82523d6000602084013e61285a565b606091505b5091509150811561286e5791506127329050565b80511561287e5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156125c75781810151838201526020016125af565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061273257505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220e188f17da47a4699d483d34cefe8926d1c41f933046f2d993a3906db5d0965ed64736f6c634300060c00330000000000000000000000004fcfa6cc8914ab455b5b33df916d90bfe70b6ab1000000000000000000000000bf7a1a19f861cfa3dcc7f9625c7ca73a40c637520000000000000000000000003b015df0f87a47b5b49b734a68e6b9d632ef5704000000000000000000000000000000000000000000000000045c1e2ff69ea0fb00000000000000000000000000000000000000000000000000000000004edf6800000000000000000000000000000000000000000000000000000000004edf68

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

0000000000000000000000004fcfa6cc8914ab455b5b33df916d90bfe70b6ab1000000000000000000000000bf7a1a19f861cfa3dcc7f9625c7ca73a40c637520000000000000000000000003b015df0f87a47b5b49b734a68e6b9d632ef5704000000000000000000000000000000000000000000000000045c1e2ff69ea0fb00000000000000000000000000000000000000000000000000000000004edf6800000000000000000000000000000000000000000000000000000000004edf68

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000004fcfa6cc8914ab455b5b33df916d90bfe70b6ab1
Arg [1] : 000000000000000000000000bf7a1a19f861cfa3dcc7f9625c7ca73a40c63752
Arg [2] : 0000000000000000000000003b015df0f87a47b5b49b734a68e6b9d632ef5704
Arg [3] : 000000000000000000000000000000000000000000000000045c1e2ff69ea0fb
Arg [4] : 00000000000000000000000000000000000000000000000000000000004edf68
Arg [5] : 00000000000000000000000000000000000000000000000000000000004edf68


Deployed ByteCode Sourcemap

6115:15163:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4428:122;;;;;;;;;;;;;;;;-1:-1:-1;4428:122:4;-1:-1:-1;;;;;4428:122:4;;:::i;:::-;;9921:95;;;:::i;:::-;;;;;;;;;;;;;;;;4355:29;;;:::i;:::-;;;;-1:-1:-1;;;;;4355:29:4;;;;;;;;;;;;;;8533;;;:::i;8494:30::-;;;:::i;8004:26::-;;;;;;;;;;;;;;;;-1:-1:-1;8004:26:4;;:::i;:::-;;;;-1:-1:-1;;;;;8004:26:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8247:34;;;:::i;8378:28::-;;;:::i;20406:312::-;;;;;;;;;;;;;;;;-1:-1:-1;20406:312:4;;;;;;;;;;;;:::i;9124:45::-;;;;;;;;;;;;;;;;-1:-1:-1;9124:45:4;;:::i;:::-;;;;;;;;;;;;;;;;;;8575:35;;;:::i;18164:793::-;;;;;;;;;;;;;;;;-1:-1:-1;18164:793:4;;;;;;;:::i;8340:25::-;;;:::i;21159:116::-;;;;;;;;;;;;;;;;-1:-1:-1;21159:116:4;;;;;;;;;:::i;13449:952::-;;;;;;;;;;;;;;;;-1:-1:-1;13449:952:4;;:::i;19627:356::-;;;;;;;;;;;;;;;;-1:-1:-1;19627:356:4;;:::i;9790:123::-;;;;;;;;;;;;;;;;-1:-1:-1;9790:123:4;;:::i;10185:801::-;;;;;;;;;;;;;;;;-1:-1:-1;10185:801:4;;;-1:-1:-1;;;;;10185:801:4;;;;;;;;;;;;;;;;;;;;;;:::i;13191:180::-;;;:::i;7672:29::-;;;:::i;20913:91::-;;;;;;;;;;;;;;;;-1:-1:-1;20913:91:4;-1:-1:-1;;;;;20913:91:4;;:::i;8452:34::-;;;:::i;2830:140:1:-;;;:::i;7542:20:4:-;;;:::i;19993:124::-;;;;;;;;;;;;;;;;-1:-1:-1;19993:124:4;;:::i;7829:35::-;;;:::i;2188:79:1:-;;;:::i;11857:423:4:-;;;;;;;;;;;;;;;;-1:-1:-1;11857:423:4;;;;;;;:::i;15307:1877::-;;;;;;;;;;;;;;;;-1:-1:-1;15307:1877:4;;;;;;;;;;;-1:-1:-1;;;;;15307:1877:4;;:::i;21056:91::-;;;;;;;;;;;;;;;;-1:-1:-1;21056:91:4;;:::i;8086:66::-;;;;;;;;;;;;;;;;-1:-1:-1;8086:66:4;;;;;;-1:-1:-1;;;;;8086:66:4;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12345:763;;;;;;;;;;;;;;;;-1:-1:-1;12345:763:4;;;;;;-1:-1:-1;;;;;12345:763:4;;:::i;14987:247::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14987:247:4;;-1:-1:-1;14987:247:4;;-1:-1:-1;;;;;14987:247:4:i;20728:131::-;;;;;;;;;;;;;;;;-1:-1:-1;20728:131:4;-1:-1:-1;;;;;20728:131:4;;:::i;11127:652::-;;;;;;;;;;;;;;;;-1:-1:-1;11127:652:4;;;;;;;;;;;;;;;;;;;;;;;;:::i;4391:25::-;;;:::i;14518:329::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14518:329:4;;-1:-1:-1;14518:329:4;;-1:-1:-1;;;;;14518:329:4:i;8627:30::-;;;:::i;7637:22::-;;;:::i;17268:844::-;;;;;;;;;;;;;;;;-1:-1:-1;17268:844:4;;:::i;3125:109:1:-;;;;;;;;;;;;;;;;-1:-1:-1;3125:109:1;-1:-1:-1;;;;;3125:109:1;;:::i;7747:29:4:-;;;:::i;4428:122::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4510:14:4::1;:32:::0;;;::::1;-1:-1:-1::0;;;;;4510:32:4;;;::::1;::::0;;;::::1;::::0;;4428:122::o;9921:95::-;9993:8;:15;9921:95;:::o;4355:29::-;;;-1:-1:-1;;;;;4355:29:4;;:::o;8533:::-;;;;:::o;8494:30::-;;;;:::o;8004:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8004:26:4;;;;-1:-1:-1;8004:26:4;;;;;:::o;8247:34::-;;;;:::o;8378:28::-;;;;:::o;20406:312::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20527:15:4::1;;20516:7;:26;;:56;;;;;20557:15;;20546:7;:26;;20516:56;:91;;;;;20592:15;;20577:11;:30;;20516:91;20508:100;;;::::0;::::1;;20619:9;:19:::0;;;;20650:14:::1;:24:::0;20685:10:::1;:24:::0;20406:312::o;9124:45::-;;;;;;;;;;;;;;;:::o;8575:35::-;;;;:::o;18164:793::-;18241:21;18265:8;18274:4;18265:14;;;;;;;;;;;;;;;;18314;;;:8;:14;;;;;;18329:10;18314:26;;;;;;;18359:11;;18265:14;;;;;;;;-1:-1:-1;18359:22:4;-1:-1:-1;18359:22:4;18351:53;;;;;-1:-1:-1;;;18351:53:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;18415:16;18426:4;18415:10;:16::i;:::-;18442:15;18460:68;18512:4;:15;;;18460:47;18502:4;18460:37;18476:4;:20;;;18460:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47::i;:::-;:51;;:68::i;:::-;18442:86;-1:-1:-1;18542:11:4;;18539:123;;18567:34;18581:10;18593:7;18567:13;:34::i;:::-;18618:31;;;;;;;;18629:10;;18618:31;;;;;;;;;;18539:123;18675:11;;18672:151;;18717:11;;:24;;18733:7;18717:15;:24::i;:::-;18703:38;;18756:12;;:55;;-1:-1:-1;;;;;18756:12:4;18790:10;18803:7;18756:25;:55::i;:::-;18867:20;;;;18851:11;;:47;;18893:4;;18851:37;;:15;:37::i;:47::-;18833:15;;;:65;18914:35;;;;;;;;18935:4;;18923:10;;18914:35;;;;;;;;;18164:793;;;;;:::o;8340:25::-;;;;:::o;21159:116::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21241:17:4::1;::::0;;;:12:::1;:17;::::0;;;;;:26;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;21159:116::o;13449:952::-;13501:21;13525:8;13534:4;13525:14;;;;;;;;;;;;;;;;;;13501:38;;13570:4;:20;;;13554:12;:36;13550:75;;13607:7;;;13550:75;13654:12;;:37;;;;;;13685:4;13654:37;;;;;;13635:16;;-1:-1:-1;;;;;13654:12:4;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13654:37:4;;-1:-1:-1;13706:13:4;13702:102;;-1:-1:-1;13759:12:4;13736:20;;;;:35;13786:7;;13702:102;13814:18;13835:49;13849:4;:20;;;13871:12;13835:13;:49::i;:::-;13814:70;;13895:18;13916:72;13972:15;;13916:51;13951:4;:15;;;13916:30;13931:14;;13916:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;14049:2;;:34;;;;;;14065:4;14049:34;;;;;;;;;;;;13895:93;;-1:-1:-1;;;;;;14049:2:4;;;;:7;;:34;;;;;:2;;:34;;;;;;;;:2;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14125:2:4;;14133:14;;14164:10;;-1:-1:-1;;;;;14125:2:4;;;;-1:-1:-1;14125:7:4;;-1:-1:-1;14133:14:4;;;14149:36;;14180:4;;14149:26;;:10;;:14;:26::i;:36::-;14125:61;;;;;;;;;;;;;-1:-1:-1;;;;;14125:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14198:2:4;;14206:7;;14230:9;;-1:-1:-1;;;;;14198:2:4;;;;-1:-1:-1;14198:7:4;;-1:-1:-1;14206:7:4;;;14215:35;;14245:4;;14215:25;;:10;;:14;:25::i;:35::-;14198:53;;;;;;;;;;;;;-1:-1:-1;;;;;14198:53:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14287:60;14312:34;14337:8;14312:20;14327:4;14312:10;:14;;:20;;;;:::i;:34::-;14287:20;;;;;:24;:60::i;:::-;14264:20;;;:83;-1:-1:-1;;14381:12:4;14358:20;;;;:35;;;;-1:-1:-1;13449:952:4;;:::o;19627:356::-;19686:21;19710:8;19719:4;19710:14;;;;;;;;;;;;;;;;19759;;;:8;:14;;;;;;19774:10;19759:26;;;;;;;;19843:11;;19710:14;;;;;;;19796:12;;19710:14;;-1:-1:-1;19796:59:4;;-1:-1:-1;;;;;19796:12:4;;;;;19774:10;19796:25;:59::i;:::-;19907:11;;19871:48;;;;;;;19901:4;;19889:10;;19871:48;;;;;;;;;19944:1;19930:15;;;19956;;;;:19;-1:-1:-1;;19627:356:4:o;9790:123::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9870:16:4::1;:35:::0;9790:123::o;10185:801::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10467:2:4::1;10460:5;:9;;10452:18;;;::::0;::::1;;10495:11;10491:61;;;10523:17;:15;:17::i;:::-;10562:23;10588:22:::0;;:98:::1;;10669:17;10588:98;;;10628:10;;10613:12;:25;:53;;10656:10;;10613:53;;;10641:12;10613:53;10715:15;::::0;10562:124;;-1:-1:-1;10715:32:4::1;::::0;10735:11;10715:19:::1;:32::i;:::-;10697:15;:50:::0;10772:195:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;10772:195:4;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;10772:195:4;;;;;;;;;;;;10758:8:::1;:210:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10758:210:4;;;;;;;10185:801::o;13191:180::-;13253:8;:15;13236:14;13279:85;13307:6;13301:3;:12;13279:85;;;13337:15;13348:3;13337:10;:15::i;:::-;13315:5;;13279:85;;;;13191:180;:::o;7672:29::-;;;-1:-1:-1;;;;;7672:29:4;;:::o;20913:91::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20978:7:4::1;:18:::0;;;::::1;-1:-1:-1::0;;;;;20978:18:4;;;::::1;::::0;;;::::1;::::0;;20913:91::o;8452:34::-;;;;:::o;2830:140:1:-;2410:12;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2929:1:::1;2913:6:::0;;2892:40:::1;::::0;-1:-1:-1;;;;;2913:6:1;;::::1;::::0;2892:40:::1;::::0;2929:1;;2892:40:::1;2960:1;2943:19:::0;;;::::1;::::0;;2830:140::o;7542:20:4:-;;;-1:-1:-1;;;;;7542:20:4;;:::o;19993:124::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20077:14:4::1;:32:::0;19993:124::o;7829:35::-;;;;:::o;2188:79:1:-;2226:7;2253:6;-1:-1:-1;;;;;2253:6:1;2188:79;:::o;11857:423:4:-;11929:7;11960:13;;11953:3;:20;11949:324;;12016:16;;11997:36;;:14;:3;12005:5;11997:7;:14::i;:36::-;11990:43;;;;11949:324;12064:13;;12055:5;:22;12051:222;;12101:14;:3;12109:5;12101:7;:14::i;12051:222::-;12155:106;12224:22;12232:13;;12224:3;:7;;:22;;;;:::i;:::-;12155:46;12184:16;;12155:24;12173:5;12155:13;;:17;;:24;;;;:::i;:46::-;:50;;:106::i;12051:222::-;11857:423;;;;:::o;15307:1877::-;15404:21;15428:8;15437:4;15428:14;;;;;;;;;;;;;;;;15477;;;:8;:14;;;;;;15492:10;15477:26;;;;;;;15578:20;15428:14;;;;;;;15578:20;;;;15428:14;;-1:-1:-1;15562:12:4;:36;;;:50;;-1:-1:-1;15602:10:4;;15562:50;15553:85;;;;;-1:-1:-1;;;15553:85:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;15659:16;15670:4;15659:10;:16::i;:::-;15700:1;15692:7;:9;:41;;;;-1:-1:-1;15705:14:4;;-1:-1:-1;;;;;15705:14:4;:28;;15692:41;:67;;;;-1:-1:-1;;;;;;15737:22:4;;;;15692:67;15688:166;;;15789:14;;15776:66;;;;;;15821:10;15776:66;;;;-1:-1:-1;;;;;15776:66:4;;;;;;;;;15789:14;;;;;15776:43;;:66;;;;;15789:14;;15776:66;;;;;;;15789:14;;15776:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15688:166;15878:11;;:15;15874:322;;15910:15;15928:68;15980:4;:15;;;15928:47;15970:4;15928:37;15944:4;:20;;;15928:4;:11;;;:15;;:37;;;;:::i;:68::-;15910:86;-1:-1:-1;16014:11:4;;16011:174;;16045:19;16056:7;16045:10;:19::i;:::-;16081:34;16095:10;16107:7;16081:13;:34::i;:::-;16137:31;;;;;;;;16148:10;;16137:31;;;;;;;;;;16011:174;15874:322;;16210:11;;16206:834;;16238:12;;:74;;-1:-1:-1;;;;;16238:12:4;16276:10;16297:4;16304:7;16238:29;:74::i;:::-;16329:8;;;;:12;16326:703;;16555:19;16577:48;16619:5;16577:37;16603:10;;16577:21;16589:4;:8;;;16577:7;:11;;:21;;;;:::i;:48::-;16555:70;;16644:14;16661:47;16702:5;16661:36;16687:9;;16661:21;16673:4;:8;;;16661:7;:11;;:21;;;;:::i;:47::-;16757:14;;16731:12;;16644:64;;-1:-1:-1;16731:54:4;;-1:-1:-1;;;;;16731:12:4;;;;16757:14;16773:11;16731:25;:54::i;:::-;16831:7;;16805:12;;:42;;-1:-1:-1;;;;;16805:12:4;;;;16831:7;16840:6;16805:25;:42::i;:::-;16883:53;16929:6;16883:41;16912:11;16883:24;16899:7;16883:4;:11;;;:15;;:24;;;;:::i;:53::-;16869:67;;-1:-1:-1;16326:703:4;;-1:-1:-1;16326:703:4;;16989:11;;:24;;17005:7;16989:15;:24::i;:::-;16975:38;;16326:703;17095:20;;;;17079:11;;:47;;17121:4;;17079:37;;:15;:37::i;:47::-;17061:15;;;:65;17142:34;;;;;;;;17162:4;;17150:10;;17142:34;;;;;;;;;15307:1877;;;;;:::o;21056:91::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21123:11:4::1;:16:::0;21056:91::o;8086:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12345:763::-;12420:7;12440:21;12464:8;12473:4;12464:14;;;;;;;;;;;;;;;;12513;;;:8;:14;;;;;;-1:-1:-1;;;;;12513:21:4;;;;;;;;;;;12464:14;;;;;;;;12571:20;;;;12621:12;;:37;;;;;12652:4;12621:37;;;;;;12464:14;;-1:-1:-1;12513:21:4;;12571:20;;12464:14;;12621:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12621:37:4;12688:20;;;;12621:37;;-1:-1:-1;12673:12:4;:35;:52;;;;-1:-1:-1;12712:13:4;;;12673:52;12669:351;;;12742:18;12763:49;12777:4;:20;;;12799:12;12763:13;:49::i;:::-;12742:70;;12827:18;12848:72;12904:15;;12848:51;12883:4;:15;;;12848:30;12863:14;;12848:10;:14;;:30;;;;:::i;:72::-;12827:93;-1:-1:-1;12953:55:4;12973:34;12998:8;12973:20;12827:93;12988:4;12973:14;:20::i;:34::-;12953:15;;:19;:55::i;:::-;12935:73;;12669:351;;;13037:63;13084:4;:15;;;13037:42;13074:4;13037:32;13053:15;13037:4;:11;;;:15;;:32;;;;:::i;:63::-;13030:70;12345:763;-1:-1:-1;;;;;;;12345:763:4:o;14987:247::-;15070:1;15057:15;;:12;:15;;;;;;15049:24;;;;;;15104:11;;15084:17;15129:97;15153:9;15149:1;:13;15129:97;;;15190:20;15202:4;15207:1;15202:7;;;;;;;;;;;;;;15190:11;:20::i;:::-;15165:3;;15129:97;;;;14987:247;;:::o;20728:131::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20820:14:4::1;:31:::0;;;::::1;-1:-1:-1::0;;;;;20820:31:4;;;::::1;::::0;;;::::1;::::0;;20728:131::o;11127:652::-;2410:12:1;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11395:2:4::1;11388:5;:9;;11380:18;;;::::0;::::1;;11425:11;11421:61;;;11453:17;:15;:17::i;:::-;11510:63;11561:11;11510:46;11530:8;11539:4;11530:14;;;;;;;;;;;;;;;;;;:25;;;11510:15;;:19;;:46;;;;:::i;:63::-;11492:15;:81;;;;11612:11;11584:8;11593:4;11584:14;;;;;;;;;::::0;;;::::1;::::0;;;:25:::1;:14;::::0;;::::1;;:25;:39:::0;11637:18;;11634:85:::1;;11703:16;11670:8;11679:4;11670:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;11634:85;11766:5;11745:8;11754:4;11745:14;;;;;;;;;;;;;;;;;;:18;;:26;;;;11127:652:::0;;;;;:::o;4391:25::-;;;-1:-1:-1;;;;;4391:25:4;;:::o;14518:329::-;14593:15;;;:12;:15;;;;;;14585:24;;;;;;14654:11;;14634:17;;14723:107;14747:9;14743:1;:13;14723:107;;;14784:30;14792:4;14797:1;14792:7;;;;;;;;;;;;;;14800:1;14802:11;14784:7;:30::i;:::-;14759:3;;14723:107;;;;14518:329;;;:::o;8627:30::-;;;;:::o;7637:22::-;;;-1:-1:-1;;;;;7637:22:4;;:::o;17268:844::-;17342:1;17329:15;;:12;:15;;;;;;:36;;;;;17354:11;;17348:4;:17;;17329:36;17321:45;;;;;;17387:21;17411:14;;;:8;:14;;;;;;;;17426:10;17411:26;;;;;;;17465:11;;:15;17461:633;;17497:21;17521:8;17530:4;17521:14;;;;;;;;;;;;;;;;;;17497:38;;17567:16;17578:4;17567:10;:16::i;:::-;17612:15;17630:68;17682:4;:15;;;17630:47;17672:4;17630:37;17646:4;:20;;;17630:4;:11;;;:15;;:37;;;;:::i;:68::-;17612:86;-1:-1:-1;17716:11:4;;17713:292;;17748:19;17759:7;17748:10;:19::i;:::-;17805:34;17819:10;17831:7;17805:13;:34::i;:::-;17863:31;;;;;;;;17874:10;;17863:31;;;;;;;;;;17932:39;17940:11;;17952:7;17968:1;17932:7;:39::i;:::-;18051:20;;;;18035:11;;:47;;18077:4;;18035:37;;:15;:37::i;:47::-;18017:15;;;:65;-1:-1:-1;;17268:844:4;;:::o;3125:109:1:-;2410:12;:10;:12::i;:::-;2400:6;;-1:-1:-1;;;;;2400:6:1;;;:22;;;2392:67;;;;;-1:-1:-1;;;2392:67:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3198:28:::1;3217:8;3198:18;:28::i;7747:29:4:-:0;;;;:::o;838:98:1:-;918:10;838:98;:::o;1655:471:3:-;1713:7;1958:6;1954:47;;-1:-1:-1;1988:1:3;1981:8;;1954:47;2025:5;;;2029:1;2025;:5;:1;2049:5;;;;;:10;2041:56;;;;-1:-1:-1;;;2041:56:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2117:1;1655:471;-1:-1:-1;;;1655:471:3:o;2602:132::-;2660:7;2687:39;2691:1;2694;2687:39;;;;;;;;;;;;;;;;;:3;:39::i;731:136::-;789:7;816:43;820:1;823;816:43;;;;;;;;;;;;;;;;;:3;:43::i;20126:260:4:-;20214:2;;:27;;;;;;20235:4;20214:27;;;;;;20199:12;;-1:-1:-1;;;;;20214:2:4;;:12;;:27;;;;;;;;;;;;;;:2;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20214:27:4;;-1:-1:-1;20256:14:4;;;20252:127;;;20287:2;;:22;;;;;;-1:-1:-1;;;;;20287:22:4;;;;;;;;;;;;;;;:2;;;;;:11;;:22;;;;;;;;;;;;;;:2;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20252:127:4;;-1:-1:-1;20252:127:4;;20342:2;;:25;;;;;;-1:-1:-1;;;;;20342:25:4;;;;;;;;;;;;;;;:2;;;;;:11;;:25;;;;;;;;;;;;;;:2;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;20126:260:4;;;:::o;783:211::-;927:58;;;-1:-1:-1;;;;;927:58:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;950:23;927:58;;;900:86;;920:5;;900:19;:86::i;267:181:3:-;325:7;357:5;;;381:6;;;;373:46;;;;;-1:-1:-1;;;373:46:3;;;;;;;;;;;;;;;;;;;;;;;;;;;18969:581:4;19034:18;19056:37;19088:4;19056:27;19068:14;;19056:7;:11;;:27;;;;:::i;:37::-;19162:14;;19034:59;;-1:-1:-1;19116:16:4;;-1:-1:-1;;;;;19162:14:4;:28;19158:153;;19235:14;;19222:56;;;;;;19267:10;19222:56;;;;;;-1:-1:-1;;;;;19235:14:4;;;;19222:43;;:56;;;;;;;;;;;;;;;19235:14;19222:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19222:56:4;;-1:-1:-1;19158:153:4;-1:-1:-1;;;;;19343:22:4;;;19339:193;;19417:2;;:29;;;;;;-1:-1:-1;;;;;19417:29:4;;;;;;;;;;;;;;;:2;;;;;:7;;:29;;;;;:2;;:29;;;;;;;:2;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19470:45:4;;;;;;;;-1:-1:-1;;;;;19470:45:4;;;-1:-1:-1;19483:10:4;;-1:-1:-1;19470:45:4;;;;;;;;;18969:581;;;:::o;1002:248::-;1173:68;;;-1:-1:-1;;;;;1173:68:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1196:27;1173:68;;;1146:96;;1166:5;;1146:19;:96::i;3340:229:1:-;-1:-1:-1;;;;;3414:22:1;;3406:73;;;;-1:-1:-1;;;3406:73:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3516:6;;;3495:38;;-1:-1:-1;;;;;3495:38:1;;;;3516:6;;;3495:38;;;3544:6;:17;;;;-1:-1:-1;;;;;3544:17:1;;;;;;;;;;3340:229::o;3230:312:3:-;3350:7;3385:12;3378:5;3370:28;;;;-1:-1:-1;;;3370:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3409:9;3425:1;3421;:5;;;;;;;3230:312;-1:-1:-1;;;;;3230:312:3:o;1170:226::-;1290:7;1326:12;1318:6;;;;1310:29;;;;-1:-1:-1;;;1310:29:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1362:5:3;;;1170:226::o;3318:774:4:-;3742:23;3768:69;3796:4;3768:69;;;;;;;;;;;;;;;;;3776:5;-1:-1:-1;;;;;3768:27:4;;;:69;;;;;:::i;:::-;3852:17;;3742:95;;-1:-1:-1;3852:21:4;3848:237;;4007:10;3996:30;;;;;;;;;;;;;;;-1:-1:-1;3996:30:4;3988:85;;;;-1:-1:-1;;;3988:85:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4411:230:0;4548:12;4580:53;4603:6;4611:4;4617:1;4620:12;4580:22;:53::i;:::-;4573:60;4411:230;-1:-1:-1;;;;4411:230:0:o;5899:1020::-;6072:12;6105:18;6116:6;6105:10;:18::i;:::-;6097:60;;;;;-1:-1:-1;;;6097:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6231:12;6245:23;6272:6;-1:-1:-1;;;;;6272:11:0;6291:8;6301:4;6272:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6230:76;;;;6321:7;6317:595;;;6352:10;-1:-1:-1;6345:17:0;;-1:-1:-1;6345:17:0;6317:595;6466:17;;:21;6462:439;;6729:10;6723:17;6790:15;6777:10;6773:2;6769:19;6762:44;6677:148;6865:20;;-1:-1:-1;;;6865:20:0;;;;;;;;;;;;;;;;;6872:12;;6865:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1274:641;1334:4;1815:20;;1645:66;1864:23;;;;;;:42;;-1:-1:-1;;1891:15:0;;;1856:51;-1:-1:-1;;1274:641:0:o

Swarm Source

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