Contract 0x601257B5A4C4E88FA17C05D3C523BEE4F1AB38D7

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x0be12c5660fe0875b2d2fe20934d5793d0a071b5d259871b7b5ee132be4ca48368173672021-04-23 14:17:0054 days 6 hrs agoACryptoS: Deployer IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00191625184
0x09c6db613f8f314f167fffa6cba607f809479d6e832d00ed3134a4cbd9deca6568173632021-04-23 14:16:4854 days 6 hrs agoACryptoS: Deployer IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.0003101104
0xe067d2c2c7adb1e7f8ff12cf729e6602b3d96509acbba6bdd3b021f63ca3b2fe68173602021-04-23 14:16:3954 days 6 hrs agoACryptoS: Deployer IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00407839104
0x2511bf9c78a1d19a7afa0320b0282fa68b3f1c5b254d0b88cdf8e2b12574872f68173572021-04-23 14:16:3054 days 6 hrs agoACryptoS: Deployer IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00017301856
0xc855d30cfc2f3195e05670bdd9f1df86ebe01f2f65d8089c4580b2b8589e4b8668164412021-04-23 13:30:4254 days 6 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0xaa97bf11172cbc9f0d0d1ec560b3ea97010b0c139505d1f4b92eb9b3c800272868153632021-04-23 12:36:4854 days 7 hrs ago0x1ae6912e08bb3e105a4f0a60f666376d3c7af380 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.003590925
0x2eb4ba570692a0ac18ec2bbbc35f47dd13be51b7ff7891d8336b0f37d4ca090968143832021-04-23 11:47:4854 days 8 hrs ago0x561bbe6ece540e78de1a96d1a9863d0c6a5b6c2a IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.003535685
0xdc16a93004ea73fb671d40366cb3d80bcce3326ed23226835648f0723df220eb68143762021-04-23 11:47:2754 days 8 hrs ago0xc2bd25138e153db429f16af0cd12f9f44c23ceaf IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.0015987
0x9a76972787a1742fd13bdde447bbf21024a6b0c76412b3ab19802cdf2395b7fa68143762021-04-23 11:47:2754 days 8 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0xb7b6d12c10bcc8218f6a498ca4751091866e9911ef821f49bd36d4b5d549633b68133622021-04-23 10:56:4554 days 9 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x480684efeefca4ef1bf874b021acf93522607f77610910cf44fd4f6c03b07f8968123192021-04-23 10:04:2954 days 10 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x2ef3469298b2dccd5e161829275d9b653bb46de117deb53420eea02ffc23af2f68112162021-04-23 9:09:2054 days 11 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x4eb793e5b4f0dd9360c38b8ed14feded92c7a4f89f91699538bd459319015f4368101392021-04-23 8:15:2254 days 12 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00334485
0xbd0735d07949584e88887ef29d2066aeb435e79adda323aaf2120d90047ab08768090012021-04-23 7:18:2854 days 13 hrs ago0x88888284e4526e058f7edd068f7ff8bd760d88ec IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x85a09ce71f722868c4e81ecc2503284e86dbdecf95c2ca3a817ec1517704640268077262021-04-23 6:14:1054 days 14 hrs ago0x88888284e4526e058f7edd068f7ff8bd760d88ec IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00331408
0x5fcf75ec9ad265693a36883c20e1c52961c25b88cfc99944885f24af1a239fa568064452021-04-23 5:10:0754 days 15 hrs ago0x88888284e4526e058f7edd068f7ff8bd760d88ec IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00343961
0xe1aea66440d00882bda657e322206d16fca8a3e0fffee5bf4c5c61a100a2798768051402021-04-23 4:04:5254 days 16 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x4af5cae15d83f518e24bc7a5eb9241b72bc4e52506eb0b81e9330740906493da68041122021-04-23 3:13:2854 days 17 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00331408
0x8083ae013cc4a50048b7f3b1d533f8a04be1cdded57e30e0981e609fa1c72c5868029912021-04-23 2:15:2654 days 18 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00330375
0x4425701fd3f775962922bfe23faec3ec48081ceceeb6235c9c053f6e2b2dab7868019082021-04-23 1:19:4654 days 19 hrs ago0x0a247a02c538875143072309626cdfdd46c1271b IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00331408
0x7c54a62c1e7f41fd9e1bfbbae96625fa207b4144470de7cc2083c8959ae5eea468010592021-04-23 0:37:1854 days 19 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00330375
0xc8c58e71e929c787db1ec801b19ef4b37893e284b8e15f64e28a05ac92eba94268001082021-04-22 23:49:0454 days 20 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x8820ba3e363aed534126d58a7410bc01758ce45469285834d63d27daad90342467991752021-04-22 22:59:4854 days 21 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00337494
0x9476e680511d5dfcd3627c7e668a235fc7502f6b71f958f28a84b6ef87f5d18d67982142021-04-22 22:11:4554 days 22 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00336461
0xbd3093c5cbdaeab44510775f6223630be8c4efcd340cba460d82778f2ee3f1d567972562021-04-22 21:22:4954 days 23 hrs ago0x7ff02831570d50b9aefa18e4b07f55580bd67209 IN  0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB0.00330375
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: Distribution0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0xeb8f15086274586f95c551890a29077a5b6e5e55 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0xeb8f15086274586f95c551890a29077a5b6e5e55 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xa3907e730af525fd6b58cad2186d65753d4aa6d9d548c1683199c0f20f0d93e854709032021-03-07 11:38:06101 days 8 hrs ago 0xeb8f15086274586f95c551890a29077a5b6e5e55 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d70 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 0xeb8f15086274586f95c551890a29077a5b6e5e550 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Swipe: SXP Token0 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 0xeb8f15086274586f95c551890a29077a5b6e5e550 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: vSXP Token0 BNB
0xba5aab600b58b91e8624f4513e3be9f27e879a208d79346271cc3e9aa7cfe2df54706042021-03-07 11:23:09101 days 9 hrs ago 0x601257b5a4c4e88fa17c05d3c523bee4f1ab38d7 Venus: Distribution0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x3F5C00E0d7CA6b91AB385a573fbfA46bB267be40

Contract Name:
StrategyACryptoSVenusLeverageV2

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-01-18
*/

// File: openzeppelin-contracts-2.5.1/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: openzeppelin-contracts-2.5.1/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, 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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: openzeppelin-contracts-2.5.1/contracts/math/Math.sol

pragma solidity ^0.5.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: openzeppelin-contracts-2.5.1/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @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 Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: openzeppelin-contracts-2.5.1/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.0;




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

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

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

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: interfaces/yearn/IController.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

interface IController {
    function withdraw(address, uint256) external;

    function balanceOf(address) external view returns (uint256);

    function earn(address, uint256) external;

    function want(address) external view returns (address);

    function rewards() external view returns (address);

    function vaults(address) external view returns (address);

    function strategies(address) external view returns (address);
}

// File: interfaces/yearn/Token.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

// NOTE: Basically an alias for Vaults
interface yERC20 {
    function deposit(uint256 _amount) external;

    function withdraw(uint256 _amount) external;

    function getPricePerFullShare() external view returns (uint256);
}

// File: contracts/strategies/StrategyACryptoSVenusLeverageV2.sol

pragma solidity ^0.5.17;






// import "../../interfaces/curve/Curve.sol";
// import "../../interfaces/curve/Mintr.sol";




interface IUniswapRouter {
  function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
}

interface IVenusComptroller {
  function _addVenusMarkets ( address[] calldata vTokens ) external;
  function _become ( address unitroller ) external;
  function _borrowGuardianPaused (  ) external view returns ( bool );
  function _dropVenusMarket ( address vToken ) external;
  function _mintGuardianPaused (  ) external view returns ( bool );
  function _setCloseFactor ( uint256 newCloseFactorMantissa ) external returns ( uint256 );
  function _setCollateralFactor ( address vToken, uint256 newCollateralFactorMantissa ) external returns ( uint256 );
  function _setLiquidationIncentive ( uint256 newLiquidationIncentiveMantissa ) external returns ( uint256 );
  function _setMaxAssets ( uint256 newMaxAssets ) external returns ( uint256 );
  function _setPauseGuardian ( address newPauseGuardian ) external returns ( uint256 );
  function _setPriceOracle ( address newOracle ) external returns ( uint256 );
  function _setProtocolPaused ( bool state ) external returns ( bool );
  function _setVAIController ( address vaiController_ ) external returns ( uint256 );
  function _setVAIMintRate ( uint256 newVAIMintRate ) external returns ( uint256 );
  function _setVenusRate ( uint256 venusRate_ ) external;
  function _supportMarket ( address vToken ) external returns ( uint256 );
  function accountAssets ( address, uint256 ) external view returns ( address );
  function admin (  ) external view returns ( address );
  function allMarkets ( uint256 ) external view returns ( address );
  function borrowAllowed ( address vToken, address borrower, uint256 borrowAmount ) external returns ( uint256 );
  function borrowGuardianPaused ( address ) external view returns ( bool );
  function borrowVerify ( address vToken, address borrower, uint256 borrowAmount ) external;
  function checkMembership ( address account, address vToken ) external view returns ( bool );
  function claimVenus ( address holder, address[] calldata vTokens ) external;
  function claimVenus ( address holder ) external;
  function claimVenus ( address[] calldata holders, address[] calldata vTokens, bool borrowers, bool suppliers ) external;
  function closeFactorMantissa (  ) external view returns ( uint256 );
  function comptrollerImplementation (  ) external view returns ( address );
  function enterMarkets ( address[] calldata vTokens ) external returns ( uint256[] memory );
  function exitMarket ( address vTokenAddress ) external returns ( uint256 );
  function getAccountLiquidity ( address account ) external view returns ( uint256, uint256, uint256 );
  function getAllMarkets (  ) external view returns ( address[] memory );
  function getAssetsIn ( address account ) external view returns ( address[] memory );
  function getBlockNumber (  ) external view returns ( uint256 );
  function getHypotheticalAccountLiquidity ( address account, address vTokenModify, uint256 redeemTokens, uint256 borrowAmount ) external view returns ( uint256, uint256, uint256 );
  function getMintableVAI ( address minter ) external view returns ( uint256, uint256 );
  function getVAIMintRate (  ) external view returns ( uint256 );
  function getXVSAddress (  ) external view returns ( address );
  function isComptroller (  ) external view returns ( bool );
  function liquidateBorrowAllowed ( address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 repayAmount ) external returns ( uint256 );
  function liquidateBorrowVerify ( address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens ) external;
  function liquidateCalculateSeizeTokens ( address vTokenBorrowed, address vTokenCollateral, uint256 actualRepayAmount ) external view returns ( uint256, uint256 );
  function liquidationIncentiveMantissa (  ) external view returns ( uint256 );
  function markets ( address ) external view returns ( bool isListed, uint256 collateralFactorMantissa, bool isVenus );
  function maxAssets (  ) external view returns ( uint256 );
  function mintAllowed ( address vToken, address minter, uint256 mintAmount ) external returns ( uint256 );
  function mintGuardianPaused ( address ) external view returns ( bool );
  function mintVAI ( uint256 mintVAIAmount ) external returns ( uint256 );
  function mintVAIGuardianPaused (  ) external view returns ( bool );
  function mintVerify ( address vToken, address minter, uint256 actualMintAmount, uint256 mintTokens ) external;
  function mintedVAIOf ( address owner ) external view returns ( uint256 );
  function mintedVAIs ( address ) external view returns ( uint256 );
  function oracle (  ) external view returns ( address );
  function pauseGuardian (  ) external view returns ( address );
  function pendingAdmin (  ) external view returns ( address );
  function pendingComptrollerImplementation (  ) external view returns ( address );
  function protocolPaused (  ) external view returns ( bool );
  function redeemAllowed ( address vToken, address redeemer, uint256 redeemTokens ) external returns ( uint256 );
  function redeemVerify ( address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens ) external;
  function refreshVenusSpeeds (  ) external;
  function repayBorrowAllowed ( address vToken, address payer, address borrower, uint256 repayAmount ) external returns ( uint256 );
  function repayBorrowVerify ( address vToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex ) external;
  function repayVAI ( uint256 repayVAIAmount ) external returns ( uint256 );
  function repayVAIGuardianPaused (  ) external view returns ( bool );
  function seizeAllowed ( address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens ) external returns ( uint256 );
  function seizeGuardianPaused (  ) external view returns ( bool );
  function seizeVerify ( address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens ) external;
  function setMintedVAIOf ( address owner, uint256 amount ) external returns ( uint256 );
  function transferAllowed ( address vToken, address src, address dst, uint256 transferTokens ) external returns ( uint256 );
  function transferGuardianPaused (  ) external view returns ( bool );
  function transferVerify ( address vToken, address src, address dst, uint256 transferTokens ) external;
  function vaiController (  ) external view returns ( address );
  function vaiMintRate (  ) external view returns ( uint256 );
  function venusAccrued ( address ) external view returns ( uint256 );
  function venusBorrowState ( address ) external view returns ( uint224 index, uint32 block );
  function venusBorrowerIndex ( address, address ) external view returns ( uint256 );
  function venusClaimThreshold (  ) external view returns ( uint256 );
  function venusInitialIndex (  ) external view returns ( uint224 );
  function venusRate (  ) external view returns ( uint256 );
  function venusSpeeds ( address ) external view returns ( uint256 );
  function venusSupplierIndex ( address, address ) external view returns ( uint256 );
  function venusSupplyState ( address ) external view returns ( uint224 index, uint32 block );
}

interface IVToken {
  function _acceptAdmin (  ) external returns ( uint256 );
  function _addReserves ( uint256 addAmount ) external returns ( uint256 );
  function _reduceReserves ( uint256 reduceAmount ) external returns ( uint256 );
  function _setComptroller ( address newComptroller ) external returns ( uint256 );
  function _setImplementation ( address implementation_, bool allowResign, bytes calldata becomeImplementationData ) external;
  function _setInterestRateModel ( address newInterestRateModel ) external returns ( uint256 );
  function _setPendingAdmin ( address newPendingAdmin ) external returns ( uint256 );
  function _setReserveFactor ( uint256 newReserveFactorMantissa ) external returns ( uint256 );
  function accrualBlockNumber (  ) external view returns ( uint256 );
  function accrueInterest (  ) external returns ( uint256 );
  function admin (  ) external view returns ( address );
  function allowance ( address owner, address spender ) external view returns ( uint256 );
  function approve ( address spender, uint256 amount ) external returns ( bool );
  function balanceOf ( address owner ) external view returns ( uint256 );
  function balanceOfUnderlying ( address owner ) external returns ( uint256 );
  function borrow ( uint256 borrowAmount ) external returns ( uint256 );
  function borrowBalanceCurrent ( address account ) external returns ( uint256 );
  function borrowBalanceStored ( address account ) external view returns ( uint256 );
  function borrowIndex (  ) external view returns ( uint256 );
  function borrowRatePerBlock (  ) external view returns ( uint256 );
  function comptroller (  ) external view returns ( address );
  function decimals (  ) external view returns ( uint8 );
  function delegateToImplementation ( bytes calldata data ) external returns ( bytes memory );
  function delegateToViewImplementation ( bytes calldata data ) external view returns ( bytes memory );
  function exchangeRateCurrent (  ) external returns ( uint256 );
  function exchangeRateStored (  ) external view returns ( uint256 );
  function getAccountSnapshot ( address account ) external view returns ( uint256, uint256, uint256, uint256 );
  function getCash (  ) external view returns ( uint256 );
  function implementation (  ) external view returns ( address );
  function interestRateModel (  ) external view returns ( address );
  function isVToken (  ) external view returns ( bool );
  function liquidateBorrow ( address borrower, uint256 repayAmount, address vTokenCollateral ) external returns ( uint256 );
  function mint ( uint256 mintAmount ) external returns ( uint256 );
  function name (  ) external view returns ( string memory );
  function pendingAdmin (  ) external view returns ( address );
  function redeem ( uint256 redeemTokens ) external returns ( uint256 );
  function redeemUnderlying ( uint256 redeemAmount ) external returns ( uint256 );
  function repayBorrow ( uint256 repayAmount ) external returns ( uint256 );
  function repayBorrowBehalf ( address borrower, uint256 repayAmount ) external returns ( uint256 );
  function reserveFactorMantissa (  ) external view returns ( uint256 );
  function seize ( address liquidator, address borrower, uint256 seizeTokens ) external returns ( uint256 );
  function supplyRatePerBlock (  ) external view returns ( uint256 );
  function symbol (  ) external view returns ( string memory );
  function totalBorrows (  ) external view returns ( uint256 );
  function totalBorrowsCurrent (  ) external returns ( uint256 );
  function totalReserves (  ) external view returns ( uint256 );
  function totalSupply (  ) external view returns ( uint256 );
  function transfer ( address dst, uint256 amount ) external returns ( bool );
  function transferFrom ( address src, address dst, uint256 amount ) external returns ( bool );
  function underlying (  ) external view returns ( address );
}


contract StrategyACryptoSVenusLeverageV2 {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;
    using Math for uint256;

    address public constant xvs = address(0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63);
    address public constant wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
    address public constant venusComptroller = address(0xfD36E2c2a6789Db23113685031d7F16329158384);
    address public constant uniswapRouter = address(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);

    address public want;
    address public vToken;
    uint256 public targetBorrowLimit;
    uint256 public targetBorrowLimitHysteresis;

    address public governance;
    address public controller;
    address public strategist;

    uint256 public performanceFee = 450;
    uint256 public strategistReward = 50;
    uint256 public withdrawalFee = 50;
    uint256 public harvesterReward = 30;
    uint256 public constant FEE_DENOMINATOR = 10000;

    constructor(address _controller, address _want, address _vToken, uint _targetBorrowLimit, uint _targetBorrowLimitHysteresis) public {
        governance = msg.sender;
        strategist = msg.sender;
        controller = _controller;

        want = _want;
        vToken = _vToken;
        targetBorrowLimit = _targetBorrowLimit;
        targetBorrowLimitHysteresis = _targetBorrowLimitHysteresis;

        address[] memory _markets = new address[](1);
        _markets[0] = vToken;
        IVenusComptroller(venusComptroller).enterMarkets(_markets);
    }

    function getName() external pure returns (string memory) {
        return "StrategyACryptoSVenusLeverage";
    }

    function deposit() public {
      uint256 _want = IERC20(want).balanceOf(address(this));
      if (_want > 0) {
        _supplyWant();
        _rebalance(0);
      }
    }

    function _supplyWant() internal {
      uint256 _want = IERC20(want).balanceOf(address(this));
      IERC20(want).safeApprove(vToken, 0);
      IERC20(want).safeApprove(vToken, _want);
      IVToken(vToken).mint(_want);
    }

    function _claimXvs() internal {
      address[] memory _markets = new address[](1);
      _markets[0] = vToken;
      IVenusComptroller(venusComptroller).claimVenus(address(this), _markets);
    }


    function _rebalance(uint withdrawAmount) internal {
      uint256 _ox = IVToken(vToken).balanceOfUnderlying(address(this));
      if(withdrawAmount >= _ox) withdrawAmount = _ox.sub(1);
      uint256 _x = _ox.sub(withdrawAmount);
      uint256 _y = IVToken(vToken).borrowBalanceCurrent(address(this));
      uint256 _c = collateralFactor();
      uint256 _L = _c.mul(targetBorrowLimit).div(1e18);
      uint256 _currentL = _y.mul(1e18).div(_x);
      uint256 _liquidityAvailable = IVToken(vToken).getCash();

      if(_currentL < _L && _L.sub(_currentL) > targetBorrowLimitHysteresis) {
        uint256 _dy = _L.mul(_x).div(1e18).sub(_y).mul(1e18).div(uint256(1e18).sub(_L));
        uint256 _max_dy = _ox.mul(_c).div(1e18).sub(_y);
        if(_dy > _max_dy) _dy = _max_dy;
        if(_dy > _liquidityAvailable) _dy = _liquidityAvailable;
        IVToken(vToken).borrow(_dy);
        _supplyWant();
      } else {
        while(_currentL > _L && _currentL.sub(_L) > targetBorrowLimitHysteresis) {
          uint256 _dy = _y.sub(_L.mul(_x).div(1e18)).mul(1e18).div(uint256(1e18).sub(_L));
          uint256 _max_dy = _ox.sub(_y.mul(1e18).div(_c));
          if(_dy > _max_dy) _dy = _max_dy;
          if(_dy > _liquidityAvailable) _dy = _liquidityAvailable;
          require(IVToken(vToken).redeemUnderlying(_dy) == 0, "_rebalance: redeem failed");

          _ox = _ox.sub(_dy);
          if(withdrawAmount >= _ox) withdrawAmount = _ox.sub(1);
          _x = _ox.sub(withdrawAmount);

          if(_dy > _y) _dy = _y;
          IERC20(want).safeApprove(vToken, 0);
          IERC20(want).safeApprove(vToken, _dy);
          IVToken(vToken).repayBorrow(_dy);
          _y = _y.sub(_dy);

          _currentL = _y.mul(1e18).div(_x);
          _liquidityAvailable = IVToken(vToken).getCash();
        }
      }



    }

    // Controller only function for creating additional rewards from dust
    function withdraw(IERC20 _asset) external returns (uint256 balance) {
        require(msg.sender == controller, "!controller");
        require(want != address(_asset), "want");
        balance = _asset.balanceOf(address(this));
        _asset.safeTransfer(controller, balance);
    }

    // Withdraw partial funds, normally used with a vault withdrawal
    function withdraw(uint256 _amount) external {
      require(msg.sender == controller, "!controller");

      uint256 _balance = IERC20(want).balanceOf(address(this));
      if (_balance < _amount) {
          _amount = _withdrawSome(_amount.sub(_balance));
          _amount = _amount.add(_balance);
      }

      uint256 _fee = _amount.mul(withdrawalFee).div(FEE_DENOMINATOR);
      IERC20(want).safeTransfer(IController(controller).rewards(), _fee);
      address _vault = IController(controller).vaults(address(want));
      require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds
      IERC20(want).safeTransfer(_vault, _amount.sub(_fee));
    }

    function _withdrawSome(uint256 _amount) internal returns (uint256) {
      _rebalance(_amount);
      uint _balance = IVToken(vToken).balanceOfUnderlying(address(this));
      if(_amount > _balance) _amount = _balance;
      require(IVToken(vToken).redeemUnderlying(_amount) == 0, "_withdrawSome: redeem failed");
      return _amount;
    }

    // Withdraw all funds, normally used when migrating strategies
    function withdrawAll() external returns (uint256 balance) {
      require(msg.sender == controller || msg.sender == strategist || msg.sender == governance, "!authorized");
      _withdrawAll();

      balance = IERC20(want).balanceOf(address(this));

      address _vault = IController(controller).vaults(address(want));
      require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds
      IERC20(want).safeTransfer(_vault, balance);
    }

    function _withdrawAll() internal {
      targetBorrowLimit = 0;
      targetBorrowLimitHysteresis = 0;
      _rebalance(0);
      require(IVToken(vToken).redeem(IVToken(vToken).balanceOf(address(this))) == 0, "_withdrawAll: redeem failed");      
    }

    function _convertRewardsToWant() internal {
      uint256 _xvs = IERC20(xvs).balanceOf(address(this));
      if(_xvs > 0 ) {
        IERC20(xvs).safeApprove(uniswapRouter, 0);
        IERC20(xvs).safeApprove(uniswapRouter, _xvs);

        address[] memory path = new address[](3);
        path[0] = xvs;
        path[1] = wbnb;
        path[2] = want;

        IUniswapRouter(uniswapRouter).swapExactTokensForTokens(_xvs, uint256(0), path, address(this), now.add(1800));
      }
    }

    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    function balanceOfStakedWant() public view returns (uint256) {
      return IVToken(vToken).balanceOf(address(this)).mul(IVToken(vToken).exchangeRateStored()).div(1e18)
        .sub(IVToken(vToken).borrowBalanceStored(address(this)));
    }

    function balanceOfStakedWantCurrent() public returns (uint256) {
      return IVToken(vToken).balanceOfUnderlying(address(this))
        .sub(IVToken(vToken).borrowBalanceCurrent(address(this)));
    }

    function borrowLimit() public returns (uint256) {
      return IVToken(vToken).borrowBalanceCurrent(address(this))
        .mul(1e18).div(IVToken(vToken).balanceOfUnderlying(address(this)).mul(collateralFactor()).div(1e18));
    }

    function collateralFactor() public view returns (uint256) {
      (,uint256 _collateralFactor,) = IVenusComptroller(venusComptroller).markets(vToken);
      return _collateralFactor;
    }


    function harvest() public returns (uint harvesterRewarded) {
      // require(msg.sender == strategist || msg.sender == governance, "!authorized");
      require(msg.sender == tx.origin, "not eoa");

      _claimXvs();

      uint _xvs = IERC20(xvs).balanceOf(address(this)); 
      uint256 _harvesterReward;
      if (_xvs > 0) {
        uint256 _fee = _xvs.mul(performanceFee).div(FEE_DENOMINATOR);
        uint256 _reward = _xvs.mul(strategistReward).div(FEE_DENOMINATOR);
        _harvesterReward = _xvs.mul(harvesterReward).div(FEE_DENOMINATOR);
        IERC20(xvs).safeTransfer(IController(controller).rewards(), _fee);
        IERC20(xvs).safeTransfer(strategist, _reward);
        IERC20(xvs).safeTransfer(msg.sender, _harvesterReward);
      }

      _convertRewardsToWant();
      _supplyWant();
      _rebalance(0);

      return _harvesterReward;
    }

    function balanceOf() public view returns (uint256) {
      return balanceOfWant()
        .add(balanceOfStakedWant());
    }

    function setGovernance(address _governance) external {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function setController(address _controller) external {
        require(msg.sender == governance, "!governance");
        controller = _controller;
    }

    function setStrategist(address _strategist) external {
        require(msg.sender == governance, "!governance");
        strategist = _strategist;
    }

    function setTargetBorrowLimit(uint256 _targetBorrowLimit, uint256 _targetBorrowLimitHysteresis) external {
        require(msg.sender == strategist || msg.sender == governance, "!authorized");
        targetBorrowLimit = _targetBorrowLimit;
        targetBorrowLimitHysteresis = _targetBorrowLimitHysteresis;
    }

    //In case anything goes wrong - Venus contracts are upgradeable and we have no guarantees how they might change.
    //This does not increase user risk. Governance already controls funds via strategy upgrade, and is behind timelock and/or multisig.
    function executeTransaction(address target, uint value, string memory signature, bytes memory data) public payable returns (bytes memory) {
        require(msg.sender == governance, "!governance");

        bytes memory callData;

        if (bytes(signature).length == 0) {
            callData = data;
        } else {
            callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data);
        }

        // solium-disable-next-line security/no-call-value
        (bool success, bytes memory returnData) = target.call.value(value)(callData);
        require(success, "Timelock::executeTransaction: Transaction execution reverted.");

        return returnData;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_vToken","type":"address"},{"internalType":"uint256","name":"_targetBorrowLimit","type":"uint256"},{"internalType":"uint256","name":"_targetBorrowLimitHysteresis","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":true,"inputs":[],"name":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfStakedWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"balanceOfStakedWantCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"borrowLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"collateralFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"harvest","outputs":[{"internalType":"uint256","name":"harvesterRewarded","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"harvesterReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_targetBorrowLimit","type":"uint256"},{"internalType":"uint256","name":"_targetBorrowLimitHysteresis","type":"uint256"}],"name":"setTargetBorrowLimit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"strategistReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"targetBorrowLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"targetBorrowLimitHysteresis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"venusComptroller","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wbnb","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"xvs","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526101c260075560326008556032600955601e600a553480156200002657600080fd5b506040516200311c3803806200311c833981810160405260a08110156200004c57600080fd5b50805160208083015160408085015160608087015160809097015160048054336001600160a01b031991821681179092556006805482169092179091556005805482166001600160a01b03808b16919091179091556000805483168289161790556001805490921690851617815560028990556003829055845181815280860190955296979496929590939192908281019080388339505060015482519293506001600160a01b0316918391506000906200010357fe5b6001600160a01b03909216602092830291909101820152604051631853304760e31b81526004810182815283516024830152835173fd36e2c2a6789db23113685031d7f163291583849363c2998238938693928392604490920191858101910280838360005b838110156200018357818101518382015260200162000169565b5050505090500192505050600060405180830381600087803b158015620001a957600080fd5b505af1158015620001be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620001e857600080fd5b81019080805160405193929190846401000000008211156200020957600080fd5b9083019060208201858111156200021f57600080fd5b82518660208202830111640100000000821117156200023d57600080fd5b82525081516020918201928201910280838360005b838110156200026c57818101518382015260200162000252565b5050505090500160405250505050505050505050612e8c80620002906000396000f3fe6080604052600436106101ee5760003560e01c8063877887821161010d578063c7b9d530116100a0578063d5632b5e1161006f578063d5632b5e146106b9578063d73792a9146106ce578063df011c41146106e3578063e551d11d146106f8578063f77c47911461070d576101ee565b8063c7b9d5301461062c578063c97d15fb1461065f578063cccd89601461068f578063d0e30db0146106a4576101ee565b80639bb1a99c116100dc5780639bb1a99c146105ba578063a045f7d5146105cf578063ab033ea9146105e4578063c1a3d44c14610617576101ee565b806387788782146105485780638bc7e8c41461055d5780638d72647e1461057257806392eefe9b14610587576101ee565b80634641257d11610185578063722713f711610154578063722713f7146104f4578063735de9f7146105095780638158676e1461051e578063853828b614610533576101ee565b80634641257d146104825780634e79ed3c1461049757806351cff8d9146104ac5780635aa6e675146104df576101ee565b80631fe4a686116101c15780631fe4a686146102ea5780632224fa25146102ff5780632e1a7d4d14610441578063333f98fd1461046d576101ee565b80630bb953e5146101f357806317d7de7c1461021a5780631a5d85ba146102a45780631f1fcd51146102b9575b600080fd5b3480156101ff57600080fd5b50610208610722565b60408051918252519081900360200190f35b34801561022657600080fd5b5061022f610728565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610269578181015183820152602001610251565b50505050905090810190601f1680156102965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102b057600080fd5b5061020861075f565b3480156102c557600080fd5b506102ce610900565b604080516001600160a01b039092168252519081900360200190f35b3480156102f657600080fd5b506102ce61090f565b61022f6004803603608081101561031557600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561034557600080fd5b82018360208201111561035757600080fd5b8035906020019184600183028401116401000000008311171561037957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103cc57600080fd5b8201836020820111156103de57600080fd5b8035906020019184600183028401116401000000008311171561040057600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061091e945050505050565b34801561044d57600080fd5b5061046b6004803603602081101561046457600080fd5b5035610b00565b005b34801561047957600080fd5b50610208610daa565b34801561048e57600080fd5b50610208610db0565b3480156104a357600080fd5b506102ce610ff7565b3480156104b857600080fd5b50610208600480360360208110156104cf57600080fd5b50356001600160a01b031661100f565b3480156104eb57600080fd5b506102ce611145565b34801561050057600080fd5b50610208611154565b34801561051557600080fd5b506102ce611175565b34801561052a57600080fd5b5061020861118d565b34801561053f57600080fd5b50610208611193565b34801561055457600080fd5b50610208611374565b34801561056957600080fd5b5061020861137a565b34801561057e57600080fd5b506102ce611380565b34801561059357600080fd5b5061046b600480360360208110156105aa57600080fd5b50356001600160a01b0316611398565b3480156105c657600080fd5b506102ce611407565b3480156105db57600080fd5b50610208611416565b3480156105f057600080fd5b5061046b6004803603602081101561060757600080fd5b50356001600160a01b031661151a565b34801561062357600080fd5b50610208611589565b34801561063857600080fd5b5061046b6004803603602081101561064f57600080fd5b50356001600160a01b0316611606565b34801561066b57600080fd5b5061046b6004803603604081101561068257600080fd5b5080359060200135611675565b34801561069b57600080fd5b506102086116e2565b3480156106b057600080fd5b5061046b6116e8565b3480156106c557600080fd5b506102ce61177d565b3480156106da57600080fd5b50610208611795565b3480156106ef57600080fd5b5061020861179b565b34801561070457600080fd5b50610208611832565b34801561071957600080fd5b506102ce61190a565b60035481565b60408051808201909152601d81527f53747261746567794143727970746f5356656e75734c65766572616765000000602082015290565b600154604080516395dd919360e01b815230600482015290516000926108fb926001600160a01b03909116916395dd919391602480820192602092909190829003018186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d60208110156107db57600080fd5b50516001546040805163182df0f560e01b815290516108ef92670de0b6b3a7640000926108e3926001600160a01b039092169163182df0f591600480820192602092909190829003018186803b15801561083457600080fd5b505afa158015610848573d6000803e3d6000fd5b505050506040513d602081101561085e57600080fd5b5051600154604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156108ab57600080fd5b505afa1580156108bf573d6000803e3d6000fd5b505050506040513d60208110156108d557600080fd5b50519063ffffffff61191916565b9063ffffffff61197b16565b9063ffffffff6119bd16565b905090565b6000546001600160a01b031681565b6006546001600160a01b031681565b6004546060906001600160a01b0316331461096e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6060835160001415610981575081610a0e565b83805190602001208360405160200180836001600160e01b0319166001600160e01b031916815260040182805190602001908083835b602083106109d65780518252601f1990920191602091820191016109b7565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b60006060876001600160a01b031687846040518082805190602001908083835b60208310610a4d5780518252601f199092019160209182019101610a2e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610aaf576040519150601f19603f3d011682016040523d82523d6000602084013e610ab4565b606091505b509150915081610af55760405162461bcd60e51b815260040180806020018281038252603d815260200180612dbb603d913960400191505060405180910390fd5b979650505050505050565b6005546001600160a01b03163314610b4d576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610b9957600080fd5b505afa158015610bad573d6000803e3d6000fd5b505050506040513d6020811015610bc357600080fd5b5051905081811015610bfc57610be7610be2838363ffffffff6119bd16565b6119ff565b9150610bf9828263ffffffff611b6316565b91505b6000610c196127106108e36009548661191990919063ffffffff16565b9050610cb1600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6c57600080fd5b505afa158015610c80573d6000803e3d6000fd5b505050506040513d6020811015610c9657600080fd5b50516000546001600160a01b0316908363ffffffff611bbd16565b6005546000805460408051632988bb9f60e21b81526001600160a01b03928316600482015290519293919091169163a622ee7c91602480820192602092909190829003018186803b158015610d0557600080fd5b505afa158015610d19573d6000803e3d6000fd5b505050506040513d6020811015610d2f57600080fd5b505190506001600160a01b038116610d77576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b610da481610d8b868563ffffffff6119bd16565b6000546001600160a01b0316919063ffffffff611bbd16565b50505050565b60025481565b6000333214610df0576040805162461bcd60e51b81526020600482015260076024820152666e6f7420656f6160c81b604482015290519081900360640190fd5b610df8611c14565b604080516370a0823160e01b8152306004820152905160009173cf6bb5389c92bdda8a3747ddb454cb7a64626c63916370a0823191602480820192602092909190829003018186803b158015610e4d57600080fd5b505afa158015610e61573d6000803e3d6000fd5b505050506040513d6020811015610e7757600080fd5b5051905060008115610fd7576000610ea06127106108e36007548661191990919063ffffffff16565b90506000610ebf6127106108e36008548761191990919063ffffffff16565b9050610edc6127106108e3600a548761191990919063ffffffff16565b9250610f7d600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2f57600080fd5b505afa158015610f43573d6000803e3d6000fd5b505050506040513d6020811015610f5957600080fd5b505173cf6bb5389c92bdda8a3747ddb454cb7a64626c63908463ffffffff611bbd16565b600654610faf9073cf6bb5389c92bdda8a3747ddb454cb7a64626c63906001600160a01b03168363ffffffff611bbd16565b610fd473cf6bb5389c92bdda8a3747ddb454cb7a64626c63338563ffffffff611bbd16565b50505b610fdf611d18565b610fe761207e565b610ff160006121b8565b91505090565b73cf6bb5389c92bdda8a3747ddb454cb7a64626c6381565b6005546000906001600160a01b0316331461105f576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6000546001600160a01b03838116911614156110ab576040805162461bcd60e51b815260206004808301919091526024820152631dd85b9d60e21b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156110f157600080fd5b505afa158015611105573d6000803e3d6000fd5b505050506040513d602081101561111b57600080fd5b5051600554909150611140906001600160a01b0384811691168363ffffffff611bbd16565b919050565b6004546001600160a01b031681565b60006108fb61116161075f565b611169611589565b9063ffffffff611b6316565b7305ff2b0db69458a0750badebc4f9e13add608c7f81565b60085481565b6005546000906001600160a01b03163314806111b957506006546001600160a01b031633145b806111ce57506004546001600160a01b031633145b61120d576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b611215612843565b600054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561126057600080fd5b505afa158015611274573d6000803e3d6000fd5b505050506040513d602081101561128a57600080fd5b50516005546000805460408051632988bb9f60e21b81526001600160a01b0392831660048201529051949550919392169163a622ee7c91602480820192602092909190829003018186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d602081101561130b57600080fd5b505190506001600160a01b038116611353576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600054611370906001600160a01b0316828463ffffffff611bbd16565b5090565b60075481565b60095481565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b6004546001600160a01b031633146113e5576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b600154604080516305eff7ef60e21b815230600482015290516000926108fb926001600160a01b03909116916317bfdfbc9160248082019260209290919082900301818887803b15801561146957600080fd5b505af115801561147d573d6000803e3d6000fd5b505050506040513d602081101561149357600080fd5b505160015460408051633af9e66960e01b815230600482015290516001600160a01b0390921691633af9e669916024808201926020929091908290030181600087803b1580156114e257600080fd5b505af11580156114f6573d6000803e3d6000fd5b505050506040513d602081101561150c57600080fd5b50519063ffffffff6119bd16565b6004546001600160a01b03163314611567576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156115d557600080fd5b505afa1580156115e9573d6000803e3d6000fd5b505050506040513d60208110156115ff57600080fd5b5051905090565b6004546001600160a01b03163314611653576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633148061169857506004546001600160a01b031633145b6116d7576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600291909155600355565b600a5481565b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561173457600080fd5b505afa158015611748573d6000803e3d6000fd5b505050506040513d602081101561175e57600080fd5b50519050801561177a5761177061207e565b61177a60006121b8565b50565b73fd36e2c2a6789db23113685031d7f1632915838481565b61271081565b60015460408051638e8f294b60e01b81526001600160a01b03909216600483015251600091829173fd36e2c2a6789db23113685031d7f1632915838491638e8f294b916024808301926060929190829003018186803b1580156117fd57600080fd5b505afa158015611811573d6000803e3d6000fd5b505050506040513d606081101561182757600080fd5b506020015191505090565b60006108fb6118af670de0b6b3a76400006108e361184e61179b565b60015460408051633af9e66960e01b815230600482015290516001600160a01b0390921691633af9e669916024808201926020929091908290030181600087803b15801561189b57600080fd5b505af11580156108bf573d6000803e3d6000fd5b600154604080516305eff7ef60e21b815230600482015290516108e392670de0b6b3a7640000926001600160a01b03909116916317bfdfbc916024808201926020929091908290030181600087803b15801561189b57600080fd5b6005546001600160a01b031681565b60008261192857506000611975565b8282028284828161193557fe5b04146119725760405162461bcd60e51b8152600401808060200182810382526021815260200180612d9a6021913960400191505060405180910390fd5b90505b92915050565b600061197283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612996565b600061197283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a38565b6000611a0a826121b8565b60015460408051633af9e66960e01b815230600482015290516000926001600160a01b031691633af9e66991602480830192602092919082900301818787803b158015611a5657600080fd5b505af1158015611a6a573d6000803e3d6000fd5b505050506040513d6020811015611a8057600080fd5b5051905080831115611a90578092505b6001546040805163852a12e360e01b81526004810186905290516001600160a01b039092169163852a12e3916024808201926020929091908290030181600087803b158015611ade57600080fd5b505af1158015611af2573d6000803e3d6000fd5b505050506040513d6020811015611b0857600080fd5b505115611b5c576040805162461bcd60e51b815260206004820152601c60248201527f5f7769746864726177536f6d653a2072656465656d206661696c656400000000604482015290519081900360640190fd5b5090919050565b600082820183811015611972576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c0f908490612a92565b505050565b60408051600180825281830190925260609160208083019080388339505060015482519293506001600160a01b031691839150600090611c5057fe5b6001600160a01b039092166020928302919091018201526040805163436f98f760e11b815230600482018181526024830193845285516044840152855173fd36e2c2a6789db23113685031d7f16329158384956386df31ee959394889492606490910191858101910280838360005b83811015611cd7578181015183820152602001611cbf565b505050509050019350505050600060405180830381600087803b158015611cfd57600080fd5b505af1158015611d11573d6000803e3d6000fd5b5050505050565b604080516370a0823160e01b8152306004820152905160009173cf6bb5389c92bdda8a3747ddb454cb7a64626c63916370a0823191602480820192602092909190829003018186803b158015611d6d57600080fd5b505afa158015611d81573d6000803e3d6000fd5b505050506040513d6020811015611d9757600080fd5b50519050801561177a57611ddb73cf6bb5389c92bdda8a3747ddb454cb7a64626c637305ff2b0db69458a0750badebc4f9e13add608c7f600063ffffffff612c4a16565b611e1473cf6bb5389c92bdda8a3747ddb454cb7a64626c637305ff2b0db69458a0750badebc4f9e13add608c7f8363ffffffff612c4a16565b6040805160038082526080820190925260609160208201838038833901905050905073cf6bb5389c92bdda8a3747ddb454cb7a64626c6381600081518110611e5857fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81600181518110611e9a57fe5b6001600160a01b039283166020918202929092010152600054825191169082906002908110611ec557fe5b6001600160a01b03909216602092830291909101909101527305ff2b0db69458a0750badebc4f9e13add608c7f6338ed17398360008430611f0e4261070863ffffffff611b6316565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611f87578181015183820152602001611f6f565b505050509050019650505050505050600060405180830381600087803b158015611fb057600080fd5b505af1158015611fc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611fed57600080fd5b810190808051604051939291908464010000000082111561200d57600080fd5b90830190602082018581111561202257600080fd5b825186602082028301116401000000008211171561203f57600080fd5b82525081516020918201928201910280838360005b8381101561206c578181015183820152602001612054565b50505050905001604052505050505050565b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156120ca57600080fd5b505afa1580156120de573d6000803e3d6000fd5b505050506040513d60208110156120f457600080fd5b50516001546000805492935061211d926001600160a01b0390811692169063ffffffff612c4a16565b600154600054612140916001600160a01b0391821691168363ffffffff612c4a16565b6001546040805163140e25ad60e31b81526004810184905290516001600160a01b039092169163a0712d68916024808201926020929091908290030181600087803b15801561218e57600080fd5b505af11580156121a2573d6000803e3d6000fd5b505050506040513d6020811015611c0f57600080fd5b60015460408051633af9e66960e01b815230600482015290516000926001600160a01b031691633af9e66991602480830192602092919082900301818787803b15801561220457600080fd5b505af1158015612218573d6000803e3d6000fd5b505050506040513d602081101561222e57600080fd5b5051905080821061224d5761224a81600163ffffffff6119bd16565b91505b600061225f828463ffffffff6119bd16565b600154604080516305eff7ef60e21b815230600482015290519293506000926001600160a01b03909216916317bfdfbc9160248082019260209290919082900301818787803b1580156122b157600080fd5b505af11580156122c5573d6000803e3d6000fd5b505050506040513d60208110156122db57600080fd5b5051905060006122e961179b565b9050600061230e670de0b6b3a76400006108e36002548561191990919063ffffffff16565b9050600061232e856108e386670de0b6b3a764000063ffffffff61191916565b90506000600160009054906101000a90046001600160a01b03166001600160a01b0316633b1d21a26040518163ffffffff1660e01b815260040160206040518083038186803b15801561238057600080fd5b505afa158015612394573d6000803e3d6000fd5b505050506040513d60208110156123aa57600080fd5b5051905082821080156123cd57506003546123cb848463ffffffff6119bd16565b115b156124f257600061242a6123ef670de0b6b3a76400008663ffffffff6119bd16565b6108e3670de0b6b3a764000061241e8a6108ef670de0b6b3a76400006108e38f8d61191990919063ffffffff16565b9063ffffffff61191916565b9050600061244e876108ef670de0b6b3a76400006108e38d8b63ffffffff61191916565b90508082111561245c578091505b82821115612468578291505b6001546040805163317afabb60e21b81526004810185905290516001600160a01b039092169163c5ebeaec916024808201926020929091908290030181600087803b1580156124b657600080fd5b505af11580156124ca573d6000803e3d6000fd5b505050506040513d60208110156124e057600080fd5b506124eb905061207e565b5050612839565b8282118015612511575060035461250f838563ffffffff6119bd16565b115b15612839576000612561612533670de0b6b3a76400008663ffffffff6119bd16565b6108e3670de0b6b3a764000061241e61255482848b8f63ffffffff61191916565b8b9063ffffffff6119bd16565b90506000612591612584876108e38a670de0b6b3a764000063ffffffff61191916565b8a9063ffffffff6119bd16565b90508082111561259f578091505b828211156125ab578291505b6001546040805163852a12e360e01b81526004810185905290516001600160a01b039092169163852a12e3916024808201926020929091908290030181600087803b1580156125f957600080fd5b505af115801561260d573d6000803e3d6000fd5b505050506040513d602081101561262357600080fd5b505115612677576040805162461bcd60e51b815260206004820152601960248201527f5f726562616c616e63653a2072656465656d206661696c656400000000000000604482015290519081900360640190fd5b612687898363ffffffff6119bd16565b9850888a106126a4576126a189600163ffffffff6119bd16565b99505b6126b4898b63ffffffff6119bd16565b9750868211156126c2578691505b600154600080546126e7926001600160a01b039182169291169063ffffffff612c4a16565b60015460005461270a916001600160a01b0391821691168463ffffffff612c4a16565b6001546040805163073a938160e11b81526004810185905290516001600160a01b0390921691630e752702916024808201926020929091908290030181600087803b15801561275857600080fd5b505af115801561276c573d6000803e3d6000fd5b505050506040513d602081101561278257600080fd5b506127959050878363ffffffff6119bd16565b96506127b3886108e389670de0b6b3a764000063ffffffff61191916565b9350600160009054906101000a90046001600160a01b03166001600160a01b0316633b1d21a26040518163ffffffff1660e01b815260040160206040518083038186803b15801561280357600080fd5b505afa158015612817573d6000803e3d6000fd5b505050506040513d602081101561282d57600080fd5b505192506124f2915050565b5050505050505050565b600060028190556003819055612858906121b8565b600154604080516370a0823160e01b815230600482015290516001600160a01b039092169163db006a759183916370a0823191602480820192602092909190829003018186803b1580156128ab57600080fd5b505afa1580156128bf573d6000803e3d6000fd5b505050506040513d60208110156128d557600080fd5b5051604080516001600160e01b031960e085901b16815260048101929092525160248083019260209291908290030181600087803b15801561291657600080fd5b505af115801561292a573d6000803e3d6000fd5b505050506040513d602081101561294057600080fd5b505115612994576040805162461bcd60e51b815260206004820152601b60248201527f5f7769746864726177416c6c3a2072656465656d206661696c65640000000000604482015290519081900360640190fd5b565b60008183612a225760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156129e75781810151838201526020016129cf565b50505050905090810190601f168015612a145780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612a2e57fe5b0495945050505050565b60008184841115612a8a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156129e75781810151838201526020016129cf565b505050900390565b612aa4826001600160a01b0316612d5d565b612af5576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310612b335780518252601f199092019160209182019101612b14565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612b95576040519150601f19603f3d011682016040523d82523d6000602084013e612b9a565b606091505b509150915081612bf1576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610da457808060200190516020811015612c0d57600080fd5b5051610da45760405162461bcd60e51b815260040180806020018281038252602a815260200180612df8602a913960400191505060405180910390fd5b801580612cd0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015612ca257600080fd5b505afa158015612cb6573d6000803e3d6000fd5b505050506040513d6020811015612ccc57600080fd5b5051155b612d0b5760405162461bcd60e51b8152600401808060200182810382526036815260200180612e226036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611c0f908490612a92565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612d9157508115155b94935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820150610878b000a8a9be14345b04152d38d25649d0c52e93c96c9139ccf5946e964736f6c63430005110032000000000000000000000000148679fd0befc4ae266bbbd02799cdcd869aaf6300000000000000000000000055d398326f99059ff775485246999027b3197955000000000000000000000000fd5840cd36d94d7229439859c0112a4185bc02550000000000000000000000000000000000000000000000000c7d713b49da0000000000000000000000000000000000000000000000000000002386f26fc10000

Deployed ByteCode Sourcemap

28856:10889:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29504:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29504:42:0;;;:::i;:::-;;;;;;;;;;;;;;;;30454:114;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30454:114:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;30454:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36037:243;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36037:243:0;;;:::i;29411:19::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29411:19:0;;;:::i;:::-;;;;-1:-1:-1;;;;;29411:19:0;;;;;;;;;;;;;;29619:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29619:25:0;;;:::i;39041:701::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;39041:701:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39041:701:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39041:701:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;39041:701:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39041:701:0;;;;;;;;-1:-1:-1;39041:701:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;39041:701:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39041:701:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;39041:701:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39041:701:0;;-1:-1:-1;39041:701:0;;-1:-1:-1;;;;;39041:701:0:i;33517:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33517:701:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33517:701:0;;:::i;:::-;;29465:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29465:32:0;;;:::i;36942:886::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36942:886:0;;;:::i;29033:81::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29033:81:0;;;:::i;33150:289::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33150:289:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33150:289:0;-1:-1:-1;;;;;33150:289:0;;:::i;29555:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29555:25:0;;;:::i;37836:127::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37836:127:0;;;:::i;29311:91::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29311:91:0;;;:::i;29695:36::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29695:36:0;;;:::i;34649:484::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34649:484:0;;;:::i;29653:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29653:35:0;;;:::i;29738:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29738:33:0;;;:::i;29121:82::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29121:82:0;;;:::i;38134:155::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38134:155:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38134:155:0;-1:-1:-1;;;;;38134:155:0;;:::i;29437:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29437:21:0;;;:::i;36288:204::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36288:204:0;;;:::i;37971:155::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37971:155:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37971:155:0;-1:-1:-1;;;;;37971:155:0;;:::i;35911:118::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35911:118:0;;;:::i;38297:155::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38297:155:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38297:155:0;-1:-1:-1;;;;;38297:155:0;;:::i;38460:318::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38460:318:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38460:318:0;;;;;;;:::i;29778:35::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29778:35:0;;;:::i;30576:177::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30576:177:0;;;:::i;29210:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29210:94:0;;;:::i;29820:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29820:47:0;;;:::i;36741:191::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36741:191:0;;;:::i;36500:233::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36500:233:0;;;:::i;29587:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29587:25:0;;;:::i;29504:42::-;;;;:::o;30454:114::-;30522:38;;;;;;;;;;;;;;;;;30454:114;:::o;36037:243::-;36229:6;;36221:50;;;-1:-1:-1;;;36221:50:0;;36265:4;36221:50;;;;;;36089:7;;36114:158;;-1:-1:-1;;;;;36229:6:0;;;;36221:35;;:50;;;;;;;;;;;;;;;36229:6;36221:50;;;5:2:-1;;;;30:1;27;20:12;5:2;36221:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36221:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36221:50:0;36167:6;;36159:36;;;-1:-1:-1;;;36159:36:0;;;;36114:92;;36201:4;;36114:82;;-1:-1:-1;;;;;36167:6:0;;;;36159:34;;:36;;;;;36221:50;;36159:36;;;;;;;;36167:6;36159:36;;;5:2:-1;;;;30:1;27;20:12;5:2;36159:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36159:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36159:36:0;36122:6;;36114:40;;;-1:-1:-1;;;36114:40:0;;36148:4;36114:40;;;;;;-1:-1:-1;;;;;36122:6:0;;;;36114:25;;:40;;;;;36159:36;;36114:40;;;;;;;;36122:6;36114:40;;;5:2:-1;;;;30:1;27;20:12;5:2;36114:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36114:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36114:40:0;;:82;:44;:82;:::i;:::-;:86;:92;:86;:92;:::i;:::-;:106;:158;:106;:158;:::i;:::-;36107:165;;36037:243;:::o;29411:19::-;;;-1:-1:-1;;;;;29411:19:0;;:::o;29619:25::-;;;-1:-1:-1;;;;;29619:25:0;;:::o;39041:701::-;39212:10;;39165:12;;-1:-1:-1;;;;;39212:10:0;39198;:24;39190:48;;;;;-1:-1:-1;;;39190:48:0;;;;;;;;;;;;-1:-1:-1;;;39190:48:0;;;;;;;;;;;;;;;39251:21;39295:9;39289:23;39316:1;39289:28;39285:179;;;-1:-1:-1;39345:4:0;39285:179;;;39433:9;39417:27;;;;;;39447:4;39393:59;;;;;;-1:-1:-1;;;;;39393:59:0;;-1:-1:-1;;;;;39393:59:0;;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;39393:59:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;39393:59:0;;;39382:70;;39285:179;39537:12;39551:23;39578:6;-1:-1:-1;;;;;39578:11:0;39596:5;39603:8;39578:34;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;39578:34:0;;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;39536:76:0;;;;39631:7;39623:81;;;;-1:-1:-1;;;39623:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39724:10;39041:701;-1:-1:-1;;;;;;;39041:701:0:o;33517:::-;33592:10;;-1:-1:-1;;;;;33592:10:0;33578;:24;33570:48;;;;;-1:-1:-1;;;33570:48:0;;;;;;;;;;;;-1:-1:-1;;;33570:48:0;;;;;;;;;;;;;;;33629:16;33655:4;;33648:37;;;-1:-1:-1;;;33648:37:0;;33679:4;33648:37;;;;;;-1:-1:-1;;;;;33655:4:0;;;;33648:22;;:37;;;;;;;;;;;;;;;33655:4;33648:37;;;5:2:-1;;;;30:1;27;20:12;5:2;33648:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33648:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33648:37:0;;-1:-1:-1;33698:18:0;;;33694:137;;;33741:36;33755:21;:7;33767:8;33755:21;:11;:21;:::i;:::-;33741:13;:36::i;:::-;33731:46;-1:-1:-1;33800:21:0;33731:46;33812:8;33800:21;:11;:21;:::i;:::-;33790:31;;33694:137;33841:12;33856:47;29862:5;33856:26;33868:13;;33856:7;:11;;:26;;;;:::i;:47::-;33841:62;;33912:66;33950:10;;;;;;;;;-1:-1:-1;;;;;33950:10:0;-1:-1:-1;;;;;33938:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33938:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33938:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33938:33:0;33919:4;;-1:-1:-1;;;;;33919:4:0;;33973;33912:66;:25;:66;:::i;:::-;34016:10;;33987:14;34043:4;;34004:45;;;-1:-1:-1;;;34004:45:0;;-1:-1:-1;;;;;34043:4:0;;;34004:45;;;;;;33987:14;;34016:10;;;;;34004:30;;:45;;;;;;;;;;;;;;;34016:10;34004:45;;;5:2:-1;;;;30:1;27;20:12;5:2;34004:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34004:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34004:45:0;;-1:-1:-1;;;;;;34066:20:0;;34058:39;;;;;-1:-1:-1;;;34058:39:0;;;;;;;;;;;;-1:-1:-1;;;34058:39:0;;;;;;;;;;;;;;;34158:52;34184:6;34192:17;:7;34204:4;34192:17;:11;:17;:::i;:::-;34165:4;;-1:-1:-1;;;;;34165:4:0;;34158:52;;:25;:52;:::i;:::-;33517:701;;;;:::o;29465:32::-;;;;:::o;36942:886::-;36977:22;37106:10;37120:9;37106:23;37098:43;;;;;-1:-1:-1;;;37098:43:0;;;;;;;;;;;;-1:-1:-1;;;37098:43:0;;;;;;;;;;;;;;;37152:11;:9;:11::i;:::-;37186:36;;;-1:-1:-1;;;37186:36:0;;37216:4;37186:36;;;;;;37174:9;;29071:42;;37186:21;;:36;;;;;;;;;;;;;;;29071:42;37186:36;;;5:2:-1;;;;30:1;27;20:12;5:2;37186:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37186:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37186:36:0;;-1:-1:-1;37232:24:0;37269:8;;37265:444;;37290:12;37305:45;29862:5;37305:24;37314:14;;37305:4;:8;;:24;;;;:::i;:45::-;37290:60;;37361:15;37379:47;29862:5;37379:26;37388:16;;37379:4;:8;;:26;;;;:::i;:47::-;37361:65;;37456:46;29862:5;37456:25;37465:15;;37456:4;:8;;:25;;;;:::i;:46::-;37437:65;;37513;37550:10;;;;;;;;;-1:-1:-1;;;;;37550:10:0;-1:-1:-1;;;;;37538:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37538:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37538:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37538:33:0;29071:42;;37573:4;37513:65;:24;:65;:::i;:::-;37614:10;;37589:45;;29071:42;;-1:-1:-1;;;;;37614:10:0;37626:7;37589:45;:24;:45;:::i;:::-;37645:54;29071:42;37670:10;37682:16;37645:54;:24;:54;:::i;:::-;37265:444;;;37719:23;:21;:23::i;:::-;37751:13;:11;:13::i;:::-;37773;37784:1;37773:10;:13::i;:::-;37804:16;-1:-1:-1;;36942:886:0;:::o;29033:81::-;29071:42;29033:81;:::o;33150:289::-;33251:10;;33201:15;;-1:-1:-1;;;;;33251:10:0;33237;:24;33229:48;;;;;-1:-1:-1;;;33229:48:0;;;;;;;;;;;;-1:-1:-1;;;33229:48:0;;;;;;;;;;;;;;;33296:4;;-1:-1:-1;;;;;33296:23:0;;;:4;;:23;;33288:40;;;;;-1:-1:-1;;;33288:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;33288:40:0;;;;;;;;;;;;;;;33349:31;;;-1:-1:-1;;;33349:31:0;;33374:4;33349:31;;;;;;-1:-1:-1;;;;;33349:16:0;;;;;:31;;;;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;33349:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33349:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33349:31:0;33411:10;;33349:31;;-1:-1:-1;33391:40:0;;-1:-1:-1;;;;;33391:19:0;;;;33411:10;33349:31;33391:40;:19;:40;:::i;:::-;33150:289;;;:::o;29555:25::-;;;-1:-1:-1;;;;;29555:25:0;;:::o;37836:127::-;37878:7;37903:52;37933:21;:19;:21::i;:::-;37903:15;:13;:15::i;:::-;:29;:52;:29;:52;:::i;29311:91::-;29359:42;29311:91;:::o;29695:36::-;;;;:::o;34649:484::-;34738:10;;34690:15;;-1:-1:-1;;;;;34738:10:0;34724;:24;;:52;;-1:-1:-1;34766:10:0;;-1:-1:-1;;;;;34766:10:0;34752;:24;34724:52;:80;;;-1:-1:-1;34794:10:0;;-1:-1:-1;;;;;34794:10:0;34780;:24;34724:80;34716:104;;;;;-1:-1:-1;;;34716:104:0;;;;;;;;;;;;-1:-1:-1;;;34716:104:0;;;;;;;;;;;;;;;34829:14;:12;:14::i;:::-;34871:4;;34864:37;;;-1:-1:-1;;;34864:37:0;;34895:4;34864:37;;;;;;-1:-1:-1;;;;;34871:4:0;;;;34864:22;;:37;;;;;;;;;;;;;;;34871:4;34864:37;;;5:2:-1;;;;30:1;27;20:12;5:2;34864:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34864:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34864:37:0;34941:10;;34912:14;34968:4;;34929:45;;;-1:-1:-1;;;34929:45:0;;-1:-1:-1;;;;;34968:4:0;;;34929:45;;;;;;34864:37;;-1:-1:-1;34912:14:0;;34941:10;;;34929:30;;:45;;;;;34864:37;;34929:45;;;;;;;;34941:10;34929:45;;;5:2:-1;;;;30:1;27;20:12;5:2;34929:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34929:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34929:45:0;;-1:-1:-1;;;;;;34991:20:0;;34983:39;;;;;-1:-1:-1;;;34983:39:0;;;;;;;;;;;;-1:-1:-1;;;34983:39:0;;;;;;;;;;;;;;;35090:4;;35083:42;;-1:-1:-1;;;;;35090:4:0;35109:6;35117:7;35083:42;:25;:42;:::i;:::-;34649:484;;:::o;29653:35::-;;;;:::o;29738:33::-;;;;:::o;29121:82::-;29160:42;29121:82;:::o;38134:155::-;38220:10;;-1:-1:-1;;;;;38220:10:0;38206;:24;38198:48;;;;;-1:-1:-1;;;38198:48:0;;;;;;;;;;;;-1:-1:-1;;;38198:48:0;;;;;;;;;;;;;;;38257:10;:24;;-1:-1:-1;;;;;;38257:24:0;-1:-1:-1;;;;;38257:24:0;;;;;;;;;;38134:155::o;29437:21::-;;;-1:-1:-1;;;;;29437:21:0;;:::o;36288:204::-;36440:6;;36432:51;;;-1:-1:-1;;;36432:51:0;;36477:4;36432:51;;;;;;36342:7;;36367:117;;-1:-1:-1;;;;;36440:6:0;;;;36432:36;;:51;;;;;;;;;;;;;;;36342:7;36440:6;36432:51;;;5:2:-1;;;;30:1;27;20:12;5:2;36432:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36432:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36432:51:0;36375:6;;36367:50;;;-1:-1:-1;;;36367:50:0;;36411:4;36367:50;;;;;;-1:-1:-1;;;;;36375:6:0;;;;36367:35;;:50;;;;;36432:51;;36367:50;;;;;;;;36375:6;;36367:50;;;5:2:-1;;;;30:1;27;20:12;5:2;36367:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36367:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36367:50:0;;:117;:64;:117;:::i;37971:155::-;38057:10;;-1:-1:-1;;;;;38057:10:0;38043;:24;38035:48;;;;;-1:-1:-1;;;38035:48:0;;;;;;;;;;;;-1:-1:-1;;;38035:48:0;;;;;;;;;;;;;;;38094:10;:24;;-1:-1:-1;;;;;;38094:24:0;-1:-1:-1;;;;;38094:24:0;;;;;;;;;;37971:155::o;35911:118::-;35957:7;35991:4;;35984:37;;;-1:-1:-1;;;35984:37:0;;36015:4;35984:37;;;;;;-1:-1:-1;;;;;35991:4:0;;;;35984:22;;:37;;;;;;;;;;;;;;;35991:4;35984:37;;;5:2:-1;;;;30:1;27;20:12;5:2;35984:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35984:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35984:37:0;;-1:-1:-1;35911:118:0;:::o;38297:155::-;38383:10;;-1:-1:-1;;;;;38383:10:0;38369;:24;38361:48;;;;;-1:-1:-1;;;38361:48:0;;;;;;;;;;;;-1:-1:-1;;;38361:48:0;;;;;;;;;;;;;;;38420:10;:24;;-1:-1:-1;;;;;;38420:24:0;-1:-1:-1;;;;;38420:24:0;;;;;;;;;;38297:155::o;38460:318::-;38598:10;;-1:-1:-1;;;;;38598:10:0;38584;:24;;:52;;-1:-1:-1;38626:10:0;;-1:-1:-1;;;;;38626:10:0;38612;:24;38584:52;38576:76;;;;;-1:-1:-1;;;38576:76:0;;;;;;;;;;;;-1:-1:-1;;;38576:76:0;;;;;;;;;;;;;;;38663:17;:38;;;;38712:27;:58;38460:318::o;29778:35::-;;;;:::o;30576:177::-;30611:13;30634:4;;30627:37;;;-1:-1:-1;;;30627:37:0;;30658:4;30627:37;;;;;;-1:-1:-1;;;;;30634:4:0;;;;30627:22;;:37;;;;;;;;;;;;;;;30634:4;30627:37;;;5:2:-1;;;;30:1;27;20:12;5:2;30627:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30627:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30627:37:0;;-1:-1:-1;30677:9:0;;30673:73;;30699:13;:11;:13::i;:::-;30723;30734:1;30723:10;:13::i;:::-;30576:177;:::o;29210:94::-;29261:42;29210:94;:::o;29820:47::-;29862:5;29820:47;:::o;36741:191::-;36884:6;;36840:51;;;-1:-1:-1;;;36840:51:0;;-1:-1:-1;;;;;36884:6:0;;;36840:51;;;;;-1:-1:-1;;;;29261:42:0;;36840:43;;:51;;;;;;;;;;;;;;29261:42;36840:51;;;5:2:-1;;;;30:1;27;20:12;5:2;36840:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36840:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36840:51:0;;;;-1:-1:-1;;36741:191:0;:::o;36500:233::-;36539:7;36564:161;36640:84;36719:4;36640:74;36695:18;:16;:18::i;:::-;36648:6;;36640:50;;;-1:-1:-1;;;36640:50:0;;36684:4;36640:50;;;;;;-1:-1:-1;;;;;36648:6:0;;;;36640:35;;:50;;;;;;;;;;;;;;;36648:6;;36640:50;;;5:2:-1;;;;30:1;27;20:12;5:2;36640:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;36640:84:0;36572:6;;36564:51;;;-1:-1:-1;;;36564:51:0;;36609:4;36564:51;;;;;;:71;;36630:4;;-1:-1:-1;;;;;36572:6:0;;;;36564:36;;:51;;;;;;;;;;;;;;;36572:6;;36564:51;;;5:2:-1;;;;30:1;27;20:12;29587:25:0;;;-1:-1:-1;;;;;29587:25:0;;:::o;5195:471::-;5253:7;5498:6;5494:47;;-1:-1:-1;5528:1:0;5521:8;;5494:47;5565:5;;;5569:1;5565;:5;:1;5589:5;;;;;:10;5581:56;;;;-1:-1:-1;;;5581:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5657:1;-1:-1:-1;5195:471:0;;;;;:::o;6134:132::-;6192:7;6219:39;6223:1;6226;6219:39;;;;;;;;;;;;;;;;;:3;:39::i;4279:136::-;4337:7;4364:43;4368:1;4371;4364:43;;;;;;;;;;;;;;;;;:3;:43::i;34226:347::-;34284:7;34302:19;34313:7;34302:10;:19::i;:::-;34354:6;;34346:50;;;-1:-1:-1;;;34346:50:0;;34390:4;34346:50;;;;;;34330:13;;-1:-1:-1;;;;;34354:6:0;;34346:35;;:50;;;;;;;;;;;;;;34330:13;34354:6;34346:50;;;5:2:-1;;;;30:1;27;20:12;5:2;34346:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34346:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34346:50:0;;-1:-1:-1;34408:18:0;;;34405:41;;;34438:8;34428:18;;34405:41;34471:6;;34463:41;;;-1:-1:-1;;;34463:41:0;;;;;;;;;;-1:-1:-1;;;;;34471:6:0;;;;34463:32;;:41;;;;;;;;;;;;;;;34471:6;;34463:41;;;5:2:-1;;;;30:1;27;20:12;5:2;34463:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34463:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34463:41:0;:46;34455:87;;;;;-1:-1:-1;;;34455:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34558:7:0;;34226:347;-1:-1:-1;34226:347:0:o;3823:181::-;3881:7;3913:5;;;3937:6;;;;3929:46;;;;;-1:-1:-1;;;3929:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;13048:176;13157:58;;;-1:-1:-1;;;;;13157:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13157:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;13131:85:0;;13150:5;;13131:18;:85::i;:::-;13048:176;;;:::o;30999:200::-;31066:16;;;31080:1;31066:16;;;;;;;;;31038:25;;31066:16;;;;;;105:10:-1;31066:16:0;88:34:-1;-1:-1;;31105:6:0;;31091:11;;;;-1:-1:-1;;;;;;31105:6:0;;31091:11;;-1:-1:-1;31105:6:0;;31091:11;;;;-1:-1:-1;;;;;31091:20:0;;;:11;;;;;;;;;;:20;31120:71;;;-1:-1:-1;;;31120:71:0;;31175:4;31120:71;;;;;;;;;;;;;;;;;;;;29261:42;;31120:46;;31175:4;;31182:8;;31120:71;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;31120:71:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31120:71:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31120:71:0;;;;30999:200;:::o;35406:497::-;35472:36;;;-1:-1:-1;;;35472:36:0;;35502:4;35472:36;;;;;;35457:12;;29071:42;;35472:21;;:36;;;;;;;;;;;;;;;29071:42;35472:36;;;5:2:-1;;;;30:1;27;20:12;5:2;35472:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35472:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35472:36:0;;-1:-1:-1;35520:8:0;;35517:379;;35542:41;29071:42;29359;35581:1;35542:41;:23;:41;:::i;:::-;35594:44;29071:42;29359;35633:4;35594:44;:23;:44;:::i;:::-;35675:16;;;35689:1;35675:16;;;;;;;;;35651:21;;35675:16;;;35651:21;;105:10:-1;35675:16:0;88:34:-1;136:17;;-1:-1;35675:16:0;35651:40;;29071:42;35702:4;35707:1;35702:7;;;;;;;;;;;;;:13;-1:-1:-1;;;;;35702:13:0;;;-1:-1:-1;;;;;35702:13:0;;;;;29160:42;35726:4;35731:1;35726:7;;;;;;;;-1:-1:-1;;;;;35726:14:0;;;:7;;;;;;;;;:14;35761:4;;35751:7;;35761:4;;;35751;;35756:1;;35751:7;;;;;;-1:-1:-1;;;;;35751:14:0;;;:7;;;;;;;;;;;:14;29359:42;35778:54;35833:4;35847:1;35851:4;35865;35872:13;:3;35880:4;35872:13;:7;:13;:::i;:::-;35778:108;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35778:108:0;-1:-1:-1;;;;;35778:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35778:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35778:108:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35778:108:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;35778:108:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;35778:108:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;35778:108:0;;421:4:-1;412:14;;;;35778:108:0;;;;;412:14:-1;35778:108:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35778:108:0;;;;;;;;;;;;35517:379;35406:497;:::o;30761:230::-;30802:13;30825:4;;30818:37;;;-1:-1:-1;;;30818:37:0;;30849:4;30818:37;;;;;;-1:-1:-1;;;;;30825:4:0;;;;30818:22;;:37;;;;;;;;;;;;;;;30825:4;30818:37;;;5:2:-1;;;;30:1;27;20:12;5:2;30818:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30818:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30818:37:0;30889:6;;;30871:4;;30818:37;;-1:-1:-1;30864:35:0;;-1:-1:-1;;;;;30871:4:0;;;;30889:6;;30864:35;:24;:35;:::i;:::-;30933:6;;;30915:4;30908:39;;-1:-1:-1;;;;;30915:4:0;;;;30933:6;30941:5;30908:39;:24;:39;:::i;:::-;30964:6;;30956:27;;;-1:-1:-1;;;30956:27:0;;;;;;;;;;-1:-1:-1;;;;;30964:6:0;;;;30956:20;;:27;;;;;;;;;;;;;;;30964:6;;30956:27;;;5:2:-1;;;;30:1;27;20:12;5:2;30956:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30956:27:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;31209:1858:0;31290:6;;31282:50;;;-1:-1:-1;;;31282:50:0;;31326:4;31282:50;;;;;;31268:11;;-1:-1:-1;;;;;31290:6:0;;31282:35;;:50;;;;;;;;;;;;;;31268:11;31290:6;31282:50;;;5:2:-1;;;;30:1;27;20:12;5:2;31282:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31282:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31282:50:0;;-1:-1:-1;31344:21:0;;;31341:53;;31384:10;:3;31392:1;31384:10;:7;:10;:::i;:::-;31367:27;;31341:53;31403:10;31416:23;:3;31424:14;31416:23;:7;:23;:::i;:::-;31469:6;;31461:51;;;-1:-1:-1;;;31461:51:0;;31506:4;31461:51;;;;;;31403:36;;-1:-1:-1;31448:10:0;;-1:-1:-1;;;;;31469:6:0;;;;31461:36;;:51;;;;;;;;;;;;;;;31448:10;31469:6;31461:51;;;5:2:-1;;;;30:1;27;20:12;5:2;31461:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31461:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31461:51:0;;-1:-1:-1;31521:10:0;31534:18;:16;:18::i;:::-;31521:31;;31561:10;31574:35;31604:4;31574:25;31581:17;;31574:2;:6;;:25;;;;:::i;:35::-;31561:48;-1:-1:-1;31618:17:0;31638:20;31655:2;31638:12;:2;31645:4;31638:12;:6;:12;:::i;:20::-;31618:40;;31667:27;31705:6;;;;;;;;;-1:-1:-1;;;;;31705:6:0;-1:-1:-1;;;;;31697:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31697:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31697:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31697:25:0;;-1:-1:-1;31736:14:0;;;:65;;;;-1:-1:-1;31774:27:0;;31754:17;:2;31761:9;31754:17;:6;:17;:::i;:::-;:47;31736:65;31733:1321;;;31814:11;31828:65;31871:21;31879:4;31889:2;31871:21;:17;:21;:::i;:::-;31828:38;31861:4;31828:28;31853:2;31828:20;31843:4;31828:10;31835:2;31828;:6;;:10;;;;:::i;:28::-;:32;:38;:32;:38;:::i;:65::-;31814:79;-1:-1:-1;31904:15:0;31922:29;31948:2;31922:21;31938:4;31922:11;:3;31930:2;31922:11;:7;:11;:::i;:29::-;31904:47;;31971:7;31965:3;:13;31962:31;;;31986:7;31980:13;;31962:31;32013:19;32007:3;:25;32004:55;;;32040:19;32034:25;;32004:55;32078:6;;32070:27;;;-1:-1:-1;;;32070:27:0;;;;;;;;;;-1:-1:-1;;;;;32078:6:0;;;;32070:22;;:27;;;;;;;;;;;;;;;32078:6;;32070:27;;;5:2:-1;;;;30:1;27;20:12;5:2;32070:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32070:27:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32108:13:0;;-1:-1:-1;32108:11:0;:13::i;:::-;31733:1321;;;;;32166:2;32154:9;:14;:65;;;;-1:-1:-1;32192:27:0;;32172:17;:9;32186:2;32172:17;:13;:17;:::i;:::-;:47;32154:65;32148:897;;;32234:11;32248:65;32291:21;32299:4;32309:2;32291:21;:17;:21;:::i;:::-;32248:38;32281:4;32248:28;32255:20;32281:4;32248:38;32255:2;32262;32255:10;:6;:10;:::i;:20::-;32248:2;;:28;:6;:28;:::i;:65::-;32234:79;-1:-1:-1;32326:15:0;32344:29;32352:20;32369:2;32352:12;:2;32359:4;32352:12;:6;:12;:::i;:20::-;32344:3;;:29;:7;:29;:::i;:::-;32326:47;;32395:7;32389:3;:13;32386:31;;;32410:7;32404:13;;32386:31;32439:19;32433:3;:25;32430:55;;;32466:19;32460:25;;32430:55;32514:6;;32506:37;;;-1:-1:-1;;;32506:37:0;;;;;;;;;;-1:-1:-1;;;;;32514:6:0;;;;32506:32;;:37;;;;;;;;;;;;;;;32514:6;;32506:37;;;5:2:-1;;;;30:1;27;20:12;5:2;32506:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32506:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32506:37:0;:42;32498:80;;;;;-1:-1:-1;;;32498:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32599:12;:3;32607;32599:12;:7;:12;:::i;:::-;32593:18;;32645:3;32627:14;:21;32624:53;;32667:10;:3;32675:1;32667:10;:7;:10;:::i;:::-;32650:27;;32624:53;32695:23;:3;32703:14;32695:23;:7;:23;:::i;:::-;32690:28;;32742:2;32736:3;:8;32733:21;;;32752:2;32746:8;;32733:21;32792:6;;;32774:4;;32767:35;;-1:-1:-1;;;;;32774:4:0;;;;32792:6;;;32767:35;:24;:35;:::i;:::-;32840:6;;;32822:4;32815:37;;-1:-1:-1;;;;;32822:4:0;;;;32840:6;32848:3;32815:37;:24;:37;:::i;:::-;32873:6;;32865:32;;;-1:-1:-1;;;32865:32:0;;;;;;;;;;-1:-1:-1;;;;;32873:6:0;;;;32865:27;;:32;;;;;;;;;;;;;;;32873:6;;32865:32;;;5:2:-1;;;;30:1;27;20:12;5:2;32865:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32865:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32915:11:0;;-1:-1:-1;32915:2:0;32922:3;32915:11;:6;:11;:::i;:::-;32910:16;-1:-1:-1;32953:20:0;32970:2;32953:12;32910:16;32960:4;32953:12;:6;:12;:::i;:20::-;32941:32;;33016:6;;;;;;;;;-1:-1:-1;;;;;33016:6:0;-1:-1:-1;;;;;33008:23:0;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33008:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33008:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33008:25:0;;-1:-1:-1;32148:897:0;;-1:-1:-1;;32148:897:0;;31209:1858;;;;;;;;:::o;35141:257::-;35203:1;35183:17;:21;;;35213:27;:31;;;35253:13;;:10;:13::i;:::-;35291:6;;35306:40;;;-1:-1:-1;;;35306:40:0;;35340:4;35306:40;;;;;;-1:-1:-1;;;;;35291:6:0;;;;35283:22;;35291:6;;35306:25;;:40;;;;;;;;;;;;;;;35291:6;35306:40;;;5:2:-1;;;;30:1;27;20:12;5:2;35306:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35306:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35306:40:0;35283:64;;;-1:-1:-1;;;;;;35283:64:0;;;;;;;;;;;;;;;;;;;;35306:40;;35283:64;;;;;;;-1:-1:-1;35283:64:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;35283:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35283:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35283:64:0;:69;35275:109;;;;;-1:-1:-1;;;35275:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35141:257::o;6796:345::-;6882:7;6984:12;6977:5;6969:28;;;;-1:-1:-1;;;6969:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6969:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7008:9;7024:1;7020;:5;;;;;;;6796:345;-1:-1:-1;;;;;6796:345:0:o;4752:192::-;4838:7;4874:12;4866:6;;;;4858:29;;;;-1:-1:-1;;;4858:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4858:29:0;-1:-1:-1;;;4910:5:0;;;4752:192::o;15087:1114::-;15691:27;15699:5;-1:-1:-1;;;;;15691:25:0;;:27::i;:::-;15683:71;;;;;-1:-1:-1;;;15683:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15828:12;15842:23;15877:5;-1:-1:-1;;;;;15869:19:0;15889:4;15869:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15869:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;15827:67:0;;;;15913:7;15905:52;;;;;-1:-1:-1;;;15905:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15974:17;;:21;15970:224;;16116:10;16105:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16105:30:0;16097:85;;;;-1:-1:-1;;;16097:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13444:621;13814:10;;;13813:62;;-1:-1:-1;13830:39:0;;;-1:-1:-1;;;13830:39:0;;13854:4;13830:39;;;;-1:-1:-1;;;;;13830:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;13830:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13830:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13830:39:0;:44;13813:62;13805:152;;;;-1:-1:-1;;;13805:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13994:62;;;-1:-1:-1;;;;;13994:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13994:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;13968:89:0;;13987:5;;13968:18;:89::i;10062:619::-;10122:4;10590:20;;10433:66;10630:23;;;;;;:42;;-1:-1:-1;10657:15:0;;;10630:42;10622:51;10062:619;-1:-1:-1;;;;10062:619:0:o

Swarm Source

bzzr://150610878b000a8a9be14345b04152d38d25649d0c52e93c96c9139ccf5946e9
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.