Contract 0xa8bb71facdd46445644c277f9499dd22f6f0a30c

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xc91d6944416fdd414c931d7f55aa52d1c560dc689809500fa379f8571f4b4b6284039542021-06-18 12:33:423 mins ago0x16ddd44da2f56e9b52bf447e25fff8f328e3c443 IN  Belt Finance: beltBNB Token0 BNB0.00403675
0xa1e10d9c900e95df59860eedcf02fed40d42ff0d244f4e923b8d8109665ee0b684039022021-06-18 12:31:066 mins ago0x74ddccf95f4a61e2c46c8934b0c67ee37cedde55 IN  Belt Finance: beltBNB Token0 BNB0.00396187
0x6aec12e2bbde1257f2b89e34db58cb4aecc6b4fa95a6615785e18044dec1b02684037962021-06-18 12:25:3012 mins ago0xc05c69e4e9d437f8e381784345cb9835e861fc59 IN  Belt Finance: beltBNB Token0 BNB0.00396187
0x90fae90e4dd48bb6a1840b4e31ebb82dc0e11a9ae9bf8d8eef56d121d65181ae84034972021-06-18 12:10:0727 mins ago0xd456fcca4451bc9afe5d8a2d2ffde23131d37c3a IN  Belt Finance: beltBNB Token0 BNB0.00403687
0x9870cb8db92a752e36fb69b30494a275018a4f19ce509ac1af3c438e0398ff0b84032662021-06-18 11:58:3438 mins ago0x04a730cec1a63014491424259db6f4dae170a06a IN  Belt Finance: beltBNB Token0 BNB0.00403693
0xdb18180f040beb9a0a1c11472a243bf8e99b8a6f96df45509a207e84adeb198e84031522021-06-18 11:52:5244 mins ago0x74ccb4dad984c268ab11f2b48044cd608690329b IN  Belt Finance: beltBNB Token0 BNB0.00396175
0xd42d879e211bca0c9203fed8cfadc5efbfa3debad8f015677c55a85b8fd266df84029042021-06-18 11:40:2657 mins ago0xf22862b5c8d5a17a68536521e0c82c5387bd65af IN  Belt Finance: beltBNB Token0 BNB0.000220875
0xb6bfbde95f074f4e55b7c004740be8f65fb8910aed336d76b7b95e1d313a22e784028702021-06-18 11:38:4458 mins ago0xf22862b5c8d5a17a68536521e0c82c5387bd65af IN  Belt Finance: beltBNB Token22 BNB0.005980475
0x264959d79f830aa45c7657b57d8930868cc1cdfce787bd0af721468b55667a9584027612021-06-18 11:33:171 hr 4 mins ago0x0961b72a44459edc3d3c479863f16b1395001c3d IN  Belt Finance: beltBNB Token0 BNB0.000220875
0x361986dd0c7d2eae1e54aa0841f3448732827199bec9363adb084e4efbca1a2784027322021-06-18 11:31:501 hr 5 mins ago0x0961b72a44459edc3d3c479863f16b1395001c3d IN  Belt Finance: beltBNB Token2.2 BNB0.005980415
0x644d2071888f377b476f692837d5424eadeacdb6b409cb2228da6589ad79441a84025292021-06-18 11:21:411 hr 15 mins ago0xee2c08b79d5092905f2e1ad38f3aa8efad09427a IN  Belt Finance: beltBNB Token0 BNB0.00396175
0x8a252a8f742d193369251a8a90191fd8e46ea7fde95f5d34abe8aaae411b1fe984019812021-06-18 10:54:171 hr 43 mins ago0xe7ad640fb9566dbc9c98f548571d8adf4e46fdd4 IN  Belt Finance: beltBNB Token33 BNB0.005980475
0x245bd847b4c7ca0466fe8b953c2809fe7267e52f2999d109d39007bf41207afc84018752021-06-18 10:48:591 hr 48 mins ago0x98842820ae457b3e5abf56c07d0fb59bf0f0b697 IN  Belt Finance: beltBNB Token0.3 BNB0.005980415
0xc17e96a69737a01fbdf11ac3895ffafb2507475cd733496e317a9f31d1a2c20184015932021-06-18 10:34:532 hrs 2 mins ago0xbe0630e6dcc23f642cc87c5f744b3d28a5d1f5cd IN  Belt Finance: beltBNB Token4 BNB0.005905415
0xc89f473d755115eac0caf0d5ac99c2ecd99362c852be83c30dccd3801f0270a184015792021-06-18 10:34:112 hrs 3 mins ago0xbe0630e6dcc23f642cc87c5f744b3d28a5d1f5cd IN  Belt Finance: beltBNB Token1 BNB0.005980415
0x1bedfd3bc7ac8aa22e77714a97b57c10541435f77fa74072db837f020f3339f984014732021-06-18 10:28:452 hrs 8 mins ago0xbe0630e6dcc23f642cc87c5f744b3d28a5d1f5cd IN  Belt Finance: beltBNB Token0 BNB0.000222255
0x5956e9fa6e4b38966d892d3122617a2d296926f449032930134159bb1abf36da84014512021-06-18 10:27:392 hrs 9 mins ago0xf117aeb3a34ba3af790b274979a68e6ffc394a30 IN  Belt Finance: beltBNB Token6.2 BNB0.00577924
0xad6393d9a5f19311acc618db5a41452da4f2b5356d02a5614c1af2c1e0ad29e584012682021-06-18 10:18:302 hrs 19 mins ago0xb9670cebabc4d89ed58c8cfc6393777a5cceeabe IN  Belt Finance: beltBNB Token3 BNB0.005980415
0x791b2f02a6801ccf38025c3ac253a9f6556b9164888fe4806f8b6d2372ba862d84012312021-06-18 10:16:392 hrs 20 mins ago0x6de9ff3d66841c33b2e200f060a3f8968ab5b35c IN  Belt Finance: beltBNB Token0 BNB0.000222255
0xcf108c6c439a5bd4646327f756773995ab795f6a1bfc88a8ce7066df169b6a8e84012182021-06-18 10:16:002 hrs 21 mins ago0x6de9ff3d66841c33b2e200f060a3f8968ab5b35c IN  Belt Finance: beltBNB Token2.07 BNB0.005980415
0x37abe008fe1f854fb79a5c832681de0ea84b6d1191624609cc82b61648cd6e6184011792021-06-18 10:14:032 hrs 23 mins ago0x4bde1ae1fcd828b5316c8db858c818e2099c0cdc IN  Belt Finance: beltBNB Token25 BNB0.005980475
0x138cc85c0326c8c290754da629291b40aed9313f830f1900142373c8959fdb1084008082021-06-18 9:55:172 hrs 42 mins ago0xc975766d1aa14b66a1ca0c2c2d74331cfd8ba362 IN  Belt Finance: beltBNB Token0 BNB0.000220875
0xe86f2b3387f6a72cef05c83ffc77f90bce1e41179f3201b387ef35f4d474c69384007862021-06-18 9:54:112 hrs 43 mins ago0xc975766d1aa14b66a1ca0c2c2d74331cfd8ba362 IN  Belt Finance: beltBNB Token1 BNB0.005980415
0x6d5c62474be1854ec6b5d385d33b0e9fecd4d1bfa4f68fe8f43e6f525468f5f684007792021-06-18 9:53:502 hrs 43 mins ago0x784240748c70b018795d1ae1ed73df441677d656 IN  Belt Finance: beltBNB Token0 BNB0.00396187
0xe36e4d87a5df5a50ce71a1aca2b2f34435d26e50e4f25fde766ba865cb5a6a4d84006442021-06-18 9:47:052 hrs 50 mins ago0xaa9f5344e0a207b4d5d59cb00ea939a97e81c688 IN  Belt Finance: beltBNB Token0 BNB0.00396175
[ Download CSV Export 

OVERVIEW

Belt.fi is an AMM protocol that incorporates multi-strategy yield optimizing on Binance Smart Chain. Beltbnb is the liquidity token of Belt Finance's BNB vault.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc91d6944416fdd414c931d7f55aa52d1c560dc689809500fa379f8571f4b4b6284039542021-06-18 12:33:423 mins ago Belt Finance: beltBNB Token0x16ddd44da2f56e9b52bf447e25fff8f328e3c44310.231390193290247721 BNB
0xc91d6944416fdd414c931d7f55aa52d1c560dc689809500fa379f8571f4b4b6284039542021-06-18 12:33:423 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token10.231390193290247721 BNB
0xa1e10d9c900e95df59860eedcf02fed40d42ff0d244f4e923b8d8109665ee0b684039022021-06-18 12:31:066 mins ago Belt Finance: beltBNB Token0x74ddccf95f4a61e2c46c8934b0c67ee37cedde554.003152716518271617 BNB
0xa1e10d9c900e95df59860eedcf02fed40d42ff0d244f4e923b8d8109665ee0b684039022021-06-18 12:31:066 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token4.003152716518271617 BNB
0x6aec12e2bbde1257f2b89e34db58cb4aecc6b4fa95a6615785e18044dec1b02684037962021-06-18 12:25:3012 mins ago Belt Finance: beltBNB Token0xc05c69e4e9d437f8e381784345cb9835e861fc595.236106407804722318 BNB
0x6aec12e2bbde1257f2b89e34db58cb4aecc6b4fa95a6615785e18044dec1b02684037962021-06-18 12:25:3012 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token5.236106407804722318 BNB
0x90fae90e4dd48bb6a1840b4e31ebb82dc0e11a9ae9bf8d8eef56d121d65181ae84034972021-06-18 12:10:0727 mins ago Belt Finance: beltBNB Token0xd456fcca4451bc9afe5d8a2d2ffde23131d37c3a14.5893630619388166 BNB
0x90fae90e4dd48bb6a1840b4e31ebb82dc0e11a9ae9bf8d8eef56d121d65181ae84034972021-06-18 12:10:0727 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token14.5893630619388166 BNB
0xf0ba6c0e47b5266cbce81abcfadd69ce480ce8bbf2b4d47a410b7d95fd43288e84033342021-06-18 12:01:5835 mins ago Belt Finance: beltBNB Token Binance: WBNB Token0.004063010383328893 BNB
0xf0ba6c0e47b5266cbce81abcfadd69ce480ce8bbf2b4d47a410b7d95fd43288e84033342021-06-18 12:01:5835 mins ago 0x34c889c2bcbb609e35e1cb8790b66c8366552527 Belt Finance: beltBNB Token0.004063010383328893 BNB
0x9870cb8db92a752e36fb69b30494a275018a4f19ce509ac1af3c438e0398ff0b84032662021-06-18 11:58:3438 mins ago Belt Finance: beltBNB Token0x04a730cec1a63014491424259db6f4dae170a06a43.975462896902293593 BNB
0x9870cb8db92a752e36fb69b30494a275018a4f19ce509ac1af3c438e0398ff0b84032662021-06-18 11:58:3438 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token43.975462896902293593 BNB
0xdb18180f040beb9a0a1c11472a243bf8e99b8a6f96df45509a207e84adeb198e84031522021-06-18 11:52:5244 mins ago Belt Finance: beltBNB Token0x74ccb4dad984c268ab11f2b48044cd608690329b0.033723257570310176 BNB
0xdb18180f040beb9a0a1c11472a243bf8e99b8a6f96df45509a207e84adeb198e84031522021-06-18 11:52:5244 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token0.033723257570310176 BNB
0xb6bfbde95f074f4e55b7c004740be8f65fb8910aed336d76b7b95e1d313a22e784028702021-06-18 11:38:4458 mins ago Belt Finance: beltBNB Token Binance: WBNB Token22 BNB
0x361986dd0c7d2eae1e54aa0841f3448732827199bec9363adb084e4efbca1a2784027322021-06-18 11:31:501 hr 5 mins ago Belt Finance: beltBNB Token Binance: WBNB Token2.2 BNB
0x644d2071888f377b476f692837d5424eadeacdb6b409cb2228da6589ad79441a84025292021-06-18 11:21:411 hr 15 mins ago Belt Finance: beltBNB Token0xee2c08b79d5092905f2e1ad38f3aa8efad09427a1.023061099163980328 BNB
0x644d2071888f377b476f692837d5424eadeacdb6b409cb2228da6589ad79441a84025292021-06-18 11:21:411 hr 15 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 Belt Finance: beltBNB Token1.023061099163980328 BNB
0x8a252a8f742d193369251a8a90191fd8e46ea7fde95f5d34abe8aaae411b1fe984019812021-06-18 10:54:171 hr 43 mins ago Belt Finance: beltBNB Token Binance: WBNB Token33 BNB
0x245bd847b4c7ca0466fe8b953c2809fe7267e52f2999d109d39007bf41207afc84018752021-06-18 10:48:591 hr 48 mins ago Belt Finance: beltBNB Token Binance: WBNB Token0.3 BNB
0xc17e96a69737a01fbdf11ac3895ffafb2507475cd733496e317a9f31d1a2c20184015932021-06-18 10:34:532 hrs 2 mins ago Belt Finance: beltBNB Token Binance: WBNB Token4 BNB
0xc89f473d755115eac0caf0d5ac99c2ecd99362c852be83c30dccd3801f0270a184015792021-06-18 10:34:112 hrs 3 mins ago Belt Finance: beltBNB Token Binance: WBNB Token1 BNB
0x5956e9fa6e4b38966d892d3122617a2d296926f449032930134159bb1abf36da84014512021-06-18 10:27:392 hrs 9 mins ago Belt Finance: beltBNB Token Binance: WBNB Token6.2 BNB
0xad6393d9a5f19311acc618db5a41452da4f2b5356d02a5614c1af2c1e0ad29e584012682021-06-18 10:18:302 hrs 19 mins ago Belt Finance: beltBNB Token Binance: WBNB Token3 BNB
0xcf108c6c439a5bd4646327f756773995ab795f6a1bfc88a8ce7066df169b6a8e84012182021-06-18 10:16:002 hrs 21 mins ago Belt Finance: beltBNB Token Binance: WBNB Token2.07 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiStrategyToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-21
*/

// File: @openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity >=0.6.0 <0.8.0;




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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/earnV2/tokens/StrategyToken.sol

pragma solidity 0.6.12;




abstract contract StrategyToken is ERC20, ReentrancyGuard, Ownable {
    address public token;

    address public govAddress;

    uint256 public entranceFeeNumer;

    uint256 public entranceFeeDenom;

    bool public depositPaused;

    bool public withdrawPaused;
}

// File: contracts/earnV2/tokens/MultiStrategyTokenStorage.sol

pragma solidity 0.6.12;


abstract contract MultiStrategyTokenStorage is StrategyToken {
    address public constant wbnbAddress =
        0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;

    bool public isWbnb;

    address[] public strategies;

    mapping(address => uint256) public ratios;

    mapping (address => bool) public depositActive;
    
    mapping (address => bool) public withdrawActive;
    
    uint256 public depositActiveCount;
    
    uint256 public withdrawActiveCount;

    uint256 public ratioTotal;

    uint256 public rebalanceThresholdNumer;

    uint256 public rebalanceThresholdDenom;

    address public bnbHelper;

    address public policyAdmin;
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol



pragma solidity >=0.6.0 <0.8.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 IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/proxy/Proxy.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

// File: @openzeppelin/contracts/proxy/UpgradeableProxy.sol



pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 *
 * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
 * {TransparentUpgradeableProxy}.
 */
contract UpgradeableProxy is Proxy {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) public payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if(_data.length > 0) {
            Address.functionDelegateCall(_logic, _data);
        }
    }

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal virtual {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

        bytes32 slot = _IMPLEMENTATION_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }
}

// File: @openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 *
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 *
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 *
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 *
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.
 */
contract TransparentUpgradeableProxy is UpgradeableProxy {
    /**
     * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
     * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}.
     */
    constructor(address _logic, address admin_, bytes memory _data) public payable UpgradeableProxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(admin_);
    }

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address admin_) {
        admin_ = _admin();
    }

    /**
     * @dev Returns the current implementation.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdmin returns (address implementation_) {
        implementation_ = _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external virtual ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo(address newImplementation) external virtual ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable virtual ifAdmin {
        _upgradeTo(newImplementation);
        Address.functionDelegateCall(newImplementation, data);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal virtual override {
        require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
        super._beforeFallback();
    }
}

// File: contracts/earnV2/tokens/MultiStrategyToken.sol

pragma solidity 0.6.12;





contract MultiStrategyToken is MultiStrategyTokenStorage, TransparentUpgradeableProxy {
    using SafeERC20 for IERC20;
    
    constructor (
        string memory name_,
        string memory symbol_,
        address _token,
        address[] memory _strategies,
        address _logic,
        address admin_,
        bytes memory _data
    ) public ERC20(name_, symbol_) TransparentUpgradeableProxy(_logic, admin_, _data) {
        // AUTOFARM
        // ACRYPTOS
        // ALPHAHOMORA
        // FORTUBE
        // VENUS
        // ELLIPSIS
        // ALPACA
        
        govAddress = msg.sender;

        token = _token;

        strategies = _strategies;
        
        uint256 i;
        for (i = 0; i < strategies.length; i += 1) {
            ratios[strategies[i]] = 1;
            ratioTotal = ratioTotal.add(ratios[strategies[i]]);
        }

        for (i = 0; i < strategies.length; i += 1) {
            depositActive[strategies[i]] = true;
            withdrawActive[strategies[i]] = true;
        }
        depositActiveCount = strategies.length;        
        withdrawActiveCount = strategies.length;


        entranceFeeNumer = 0;
        entranceFeeDenom = 1;

        rebalanceThresholdNumer = 10;
        rebalanceThresholdDenom = 100;

        isWbnb = token == wbnbAddress;
    
        approveToken();
    }

    function approveToken() public {
        uint i = 0;
        for (; i < strategies.length; i += 1) {
            IERC20(token).safeApprove(strategies[i], uint(-1));
        }
    }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address[]","name":"_strategies","type":"address[]"},{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbHelper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositActiveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"entranceFeeDenom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"entranceFeeNumer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"govAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isWbnb","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"policyAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratioTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ratios","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalanceThresholdDenom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalanceThresholdNumer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"strategies","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wbnbAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawActiveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162002ba638038062002ba6833981810160405260e08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604081815260208301519201805192949193919284640100000000821115620001c157600080fd5b908301906020820185811115620001d757600080fd5b8251866020820283011164010000000082111715620001f557600080fd5b82525081516020918201928201910280838360005b83811015620002245781810151838201526020016200020a565b5050505091909101604081815260208401519084015160609094018051919694959294935090846401000000008211156200025e57600080fd5b9083019060208201858111156200027457600080fd5b82516401000000008111828201881017156200028f57600080fd5b82525081516020918201929091019080838360005b83811015620002be578181015183820152602001620002a4565b50505050905090810190601f168015620002ec5780820380516001836020036101000a031916815260200191505b5060405250505082828282818b8b81600390805190602001906200031292919062000c88565b5080516200032890600490602084019062000c88565b50506005805460ff19166012179055506001600655600062000349620005e2565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620003a282620005e6565b805115620003c357620003c182826200065d60201b6200105f1760201c565b505b50620003cc9050565b620003d7826200068c565b505060098054336001600160a01b031991821617909155600880549091166001600160a01b0388161790555083516200041890600d90602087019062000d0d565b5060005b600d54811015620004c3576001600e6000600d84815481106200043b57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812091909155600d8054620004b792600e929091859081106200047c57fe5b60009182526020808320909101546001600160a01b031683528281019390935260409091019020546013549162001084620006b0821b17901c565b6013556001016200041c565b5060005b600d548110156200056f576001600f6000600d8481548110620004e657fe5b6000918252602080832091909101546001600160a01b031683528201929092526040018120805460ff191692151592909217909155600d80546001926010929091859081106200053257fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101620004c7565b600d5460118190556012556000600a9081556001600b556014556064601555600854600c805462ff0000191673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c6001600160a01b03909316929092146201000002919091179055620005d46200070b565b505050505050505062000dab565b3390565b620005fc816200076960201b620010de1760201c565b620006395760405162461bcd60e51b815260040180806020018281038252603681526020018062002aea6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606062000685838360405180606001604052806027815260200162002ac3602791396200076f565b9392505050565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b60008282018381101562000685576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60005b600d5481101562000766576200075d600d82815481106200072b57fe5b600091825260209182902001546008546001600160a01b039081169291169060001990620010e46200087d821b17901c565b6001016200070e565b50565b3b151590565b60606200077c8462000769565b620007b95760405162461bcd60e51b815260040180806020018281038252602681526020018062002b206026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b60208310620007f95780518252601f199092019160209182019101620007d8565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200085b576040519150601f19603f3d011682016040523d82523d6000602084013e62000860565b606091505b50909250905062000873828286620009a1565b9695505050505050565b80158062000907575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620008d757600080fd5b505afa158015620008ec573d6000803e3d6000fd5b505050506040513d60208110156200090357600080fd5b5051155b620009445760405162461bcd60e51b815260040180806020018281038252603681526020018062002b706036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200099c91859162000a4b16565b505050565b60608315620009b257508162000685565b825115620009c35782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101562000a0f578181015183820152602001620009f5565b50505050905090810190601f16801562000a3d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b606062000aa7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662000b0760201b620011f7179092919060201c565b8051909150156200099c5780806020019051602081101562000ac857600080fd5b50516200099c5760405162461bcd60e51b815260040180806020018281038252602a81526020018062002b46602a913960400191505060405180910390fd5b606062000b18848460008562000b20565b949350505050565b60608247101562000b635760405162461bcd60e51b815260040180806020018281038252602681526020018062002a9d6026913960400191505060405180910390fd5b62000b6e8562000769565b62000bc0576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831062000c015780518252601f19909201916020918201910162000be0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000c65576040519150601f19603f3d011682016040523d82523d6000602084013e62000c6a565b606091505b50909250905062000c7d828286620009a1565b979650505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000ccb57805160ff191683800117855562000cfb565b8280016001018555821562000cfb579182015b8281111562000cfb57825182559160200191906001019062000cde565b5062000d0992915062000d73565b5090565b82805482825590600052602060002090810192821562000d65579160200282015b8281111562000d6557825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000d2e565b5062000d0992915062000d8a565b5b8082111562000d09576000815560010162000d74565b5b8082111562000d095780546001600160a01b031916815560010162000d8b565b611ce28062000dbb6000396000f3fe6080604052600436106102345760003560e01c806363fe3e3a1161012e5780639aa14044116100ab578063d574ea3d1161006f578063d574ea3d146107bf578063dd62ed3e146107e9578063f2fde38b14610824578063f851a44014610857578063fc0c546a1461086c57610243565b80639aa140441461070e578063a457c2d714610723578063a9059cbb1461075c578063b5ae6e5614610795578063c01b6a8a146107aa57610243565b80638f283970116100f25780638f2839701461068757806391098d10146106ba57806395d89b41146106cf57806399b71d5c146106e45780639a98cb01146106f957610243565b806363fe3e3a1461060057806370a0823114610615578063715018a6146106485780638da5cb5b1461065d5780638e0c78a21461067257610243565b8063314ad491116101bc5780634042145511610180578063404214551461051057806346008a07146105255780634f1ef2861461055657806358e51896146105d65780635c60da1b146105eb57610243565b8063314ad49114610429578063357930f41461045c5780633659cfe61461047157806339509351146104a45780633fec6012146104dd57610243565b80631bf7940d116102035780631bf7940d1461035e57806323b872dd1461037357806324c71ece146103b65780632f3ffb9f146103e9578063313ce567146103fe57610243565b806302befd241461024b57806306fdde0314610274578063095ea7b3146102fe57806318160ddd1461033757610243565b3661024357610241610881565b005b610241610881565b34801561025757600080fd5b5061026061089b565b604080519115158252519081900360200190f35b34801561028057600080fd5b506102896108a4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c35781810151838201526020016102ab565b50505050905090810190601f1680156102f05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561030a57600080fd5b506102606004803603604081101561032157600080fd5b506001600160a01b03813516906020013561093b565b34801561034357600080fd5b5061034c610958565b60408051918252519081900360200190f35b34801561036a57600080fd5b5061034c61095e565b34801561037f57600080fd5b506102606004803603606081101561039657600080fd5b506001600160a01b03813581169160208101359091169060400135610964565b3480156103c257600080fd5b5061034c600480360360208110156103d957600080fd5b50356001600160a01b03166109ec565b3480156103f557600080fd5b506102606109fe565b34801561040a57600080fd5b50610413610a0c565b6040805160ff9092168252519081900360200190f35b34801561043557600080fd5b506102606004803603602081101561044c57600080fd5b50356001600160a01b0316610a15565b34801561046857600080fd5b50610260610a2a565b34801561047d57600080fd5b506102416004803603602081101561049457600080fd5b50356001600160a01b0316610a39565b3480156104b057600080fd5b50610260600480360360408110156104c757600080fd5b506001600160a01b038135169060200135610a73565b3480156104e957600080fd5b506102606004803603602081101561050057600080fd5b50356001600160a01b0316610ac1565b34801561051c57600080fd5b5061034c610ad6565b34801561053157600080fd5b5061053a610adc565b604080516001600160a01b039092168252519081900360200190f35b6102416004803603604081101561056c57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561059757600080fd5b8201836020820111156105a957600080fd5b803590602001918460018302840111640100000000831117156105cb57600080fd5b509092509050610aeb565b3480156105e257600080fd5b5061053a610b68565b3480156105f757600080fd5b5061053a610b77565b34801561060c57600080fd5b5061053a610bb1565b34801561062157600080fd5b5061034c6004803603602081101561063857600080fd5b50356001600160a01b0316610bc9565b34801561065457600080fd5b50610241610be4565b34801561066957600080fd5b5061053a610ca2565b34801561067e57600080fd5b5061034c610cb1565b34801561069357600080fd5b50610241600480360360208110156106aa57600080fd5b50356001600160a01b0316610cb7565b3480156106c657600080fd5b5061034c610d71565b3480156106db57600080fd5b50610289610d77565b3480156106f057600080fd5b50610241610dd8565b34801561070557600080fd5b5061034c610e21565b34801561071a57600080fd5b5061034c610e27565b34801561072f57600080fd5b506102606004803603604081101561074657600080fd5b506001600160a01b038135169060200135610e2d565b34801561076857600080fd5b506102606004803603604081101561077f57600080fd5b506001600160a01b038135169060200135610e95565b3480156107a157600080fd5b5061053a610ea9565b3480156107b657600080fd5b5061034c610eb8565b3480156107cb57600080fd5b5061053a600480360360208110156107e257600080fd5b5035610ebe565b3480156107f557600080fd5b5061034c6004803603604081101561080c57600080fd5b506001600160a01b0381358116916020013516610ee5565b34801561083057600080fd5b506102416004803603602081101561084757600080fd5b50356001600160a01b0316610f10565b34801561086357600080fd5b5061053a611025565b34801561087857600080fd5b5061053a611050565b61088961120e565b61089961089461126e565b611293565b565b600c5460ff1681565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b505050505090505b90565b600061094f6109486112b7565b84846112bb565b50600192915050565b60025490565b60135481565b60006109718484846113a7565b6109e18461097d6112b7565b6109dc85604051806060016040528060288152602001611af2602891396001600160a01b038a166000908152600160205260408120906109bb6112b7565b6001600160a01b031681526020810191909152604001600020549190611502565b6112bb565b5060015b9392505050565b600e6020526000908152604090205481565b600c54610100900460ff1681565b60055460ff1690565b600f6020526000908152604090205460ff1681565b600c5462010000900460ff1681565b610a41611599565b6001600160a01b0316336001600160a01b03161415610a6857610a63816115be565b610a70565b610a70610881565b50565b600061094f610a806112b7565b846109dc8560016000610a916112b7565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611084565b60106020526000908152604090205460ff1681565b60125481565b6009546001600160a01b031681565b610af3611599565b6001600160a01b0316336001600160a01b03161415610b5b57610b15836115be565b610b558383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061105f92505050565b50610b63565b610b63610881565b505050565b6017546001600160a01b031681565b6000610b81611599565b6001600160a01b0316336001600160a01b03161415610ba957610ba261126e565b9050610938565b610938610881565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b6001600160a01b031660009081526020819052604090205490565b610bec6112b7565b6001600160a01b0316610bfd610ca2565b6001600160a01b031614610c58576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b031690565b60155481565b610cbf611599565b6001600160a01b0316336001600160a01b03161415610a68576001600160a01b038116610d1d5760405162461bcd60e51b815260040180806020018281038252603a815260200180611ab8603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610d46611599565b604080516001600160a01b03928316815291841660208301528051918290030190a1610a63816115fe565b60115481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109305780601f1061090557610100808354040283529160200191610930565b60005b600d54811015610a7057610e19600d8281548110610df557fe5b6000918252602090912001546008546001600160a01b0390811691166000196110e4565b600101610ddb565b600a5481565b60145481565b600061094f610e3a6112b7565b846109dc85604051806060016040528060258152602001611c886025913960016000610e646112b7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611502565b600061094f610ea26112b7565b84846113a7565b6016546001600160a01b031681565b600b5481565b600d8181548110610ecb57fe5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f186112b7565b6001600160a01b0316610f29610ca2565b6001600160a01b031614610f84576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610fc95760405162461bcd60e51b8152600401808060200182810382526026815260200180611a246026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061102f611599565b6001600160a01b0316336001600160a01b03161415610ba957610ba2611599565b6008546001600160a01b031681565b60606109e58383604051806060016040528060278152602001611b1a60279139611622565b6000828201838110156109e5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b80158061116a575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561113c57600080fd5b505afa158015611150573d6000803e3d6000fd5b505050506040513d602081101561116657600080fd5b5051155b6111a55760405162461bcd60e51b8152600401808060200182810382526036815260200180611c106036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610b63908490611725565b606061120684846000856117d6565b949350505050565b611216611599565b6001600160a01b0316336001600160a01b031614156112665760405162461bcd60e51b8152600401808060200182810382526042815260200180611c466042913960600191505060405180910390fd5b610899610899565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156112b2573d6000f35b3d6000fd5b3390565b6001600160a01b0383166113005760405162461bcd60e51b8152600401808060200182810382526024815260200180611bc26024913960400191505060405180910390fd5b6001600160a01b0382166113455760405162461bcd60e51b8152600401808060200182810382526022815260200180611a4a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166113ec5760405162461bcd60e51b8152600401808060200182810382526025815260200180611b9d6025913960400191505060405180910390fd5b6001600160a01b0382166114315760405162461bcd60e51b8152600401808060200182810382526023815260200180611a016023913960400191505060405180910390fd5b61143c838383610b63565b61147981604051806060016040528060268152602001611a6c602691396001600160a01b0386166000908152602081905260409020549190611502565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546114a89082611084565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156115915760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561155657818101518382015260200161153e565b50505050905090810190601f1680156115835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6115c781611932565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b606061162d846110de565b6116685760405162461bcd60e51b8152600401808060200182810382526026815260200180611b776026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106116a65780518252601f199092019160209182019101611687565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611706576040519150601f19603f3d011682016040523d82523d6000602084013e61170b565b606091505b509150915061171b82828661199a565b9695505050505050565b606061177a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166111f79092919063ffffffff16565b805190915015610b635780806020019051602081101561179957600080fd5b5051610b635760405162461bcd60e51b815260040180806020018281038252602a815260200180611be6602a913960400191505060405180910390fd5b6060824710156118175760405162461bcd60e51b8152600401808060200182810382526026815260200180611a926026913960400191505060405180910390fd5b611820856110de565b611871576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106118b05780518252601f199092019160209182019101611891565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611912576040519150601f19603f3d011682016040523d82523d6000602084013e611917565b606091505b509150915061192782828661199a565b979650505050505050565b61193b816110de565b6119765760405162461bcd60e51b8152600401808060200182810382526036815260200180611b416036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156119a95750816109e5565b8251156119b95782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561155657818101518382015260200161153e56fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65645570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e747261637445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655472616e73706172656e745570677261646561626c6550726f78793a2061646d696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267657445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220218f3977ea6ad242dee9c2b6f77588a62e158e014ae1db584e72a52901c6301b64736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65645570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000ff997862e88785ceacc8b3ce791c0a487682ee980000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c930000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000762656c74424e4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000762656c74424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b8a8401d335b6c9ff6b56ae9ffe06342209b578f000000000000000000000000cab590e347f18cc0809a2babfb9dde429c518572000000000000000000000000ecb589831eefbdbbc48d1f86294724c76acd33140000000000000000000000005ace08ff6d79663f9bf90686744c214317d0df8e00000000000000000000000024e91ac6d37655474b3e2f01118ff0e8ceafe019000000000000000000000000e096b123f854a107ab96318b236eac40a30eaf670000000000000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000ff997862e88785ceacc8b3ce791c0a487682ee980000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c930000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000762656c74424e4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000762656c74424e42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b8a8401d335b6c9ff6b56ae9ffe06342209b578f000000000000000000000000cab590e347f18cc0809a2babfb9dde429c518572000000000000000000000000ecb589831eefbdbbc48d1f86294724c76acd33140000000000000000000000005ace08ff6d79663f9bf90686744c214317d0df8e00000000000000000000000024e91ac6d37655474b3e2f01118ff0e8ceafe019000000000000000000000000e096b123f854a107ab96318b236eac40a30eaf670000000000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 000000000000000000000000ff997862e88785ceacc8b3ce791c0a487682ee98
Arg [5] : 0000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c93
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 62656c74424e4200000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 62656c74424e4200000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [12] : 000000000000000000000000b8a8401d335b6c9ff6b56ae9ffe06342209b578f
Arg [13] : 000000000000000000000000cab590e347f18cc0809a2babfb9dde429c518572
Arg [14] : 000000000000000000000000ecb589831eefbdbbc48d1f86294724c76acd3314
Arg [15] : 0000000000000000000000005ace08ff6d79663f9bf90686744c214317d0df8e
Arg [16] : 00000000000000000000000024e91ac6d37655474b3e2f01118ff0e8ceafe019
Arg [17] : 000000000000000000000000e096b123f854a107ab96318b236eac40a30eaf67
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

52884:1588:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43216:11;:9;:11::i;:::-;52884:1588;;42984:11;:9;:11::i;27664:25::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;13464:91;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15610:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15610:169:0;;;;;;;;:::i;14563:108::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;28314:25;;;;;;;;;;;;;:::i;16261:321::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16261:321:0;;;;;;;;;;;;;;;;;:::i;28056:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28056:41:0;-1:-1:-1;;;;;28056:41:0;;:::i;27698:26::-;;;;;;;;;;;;;:::i;14407:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28106:46;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28106:46:0;-1:-1:-1;;;;;28106:46:0;;:::i;27993:18::-;;;;;;;;;;;;;:::i;51131:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51131:119:0;-1:-1:-1;;;;;51131:119:0;;:::i;16991:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16991:218:0;;;;;;;;:::i;28165:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28165:47:0;-1:-1:-1;;;;;28165:47:0;;:::i;28271:34::-;;;;;;;;;;;;;:::i;27550:25::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;27550:25:0;;;;;;;;;;;;;;51635:219;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51635:219:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51635:219:0;;-1:-1:-1;51635:219:0;-1:-1:-1;51635:219:0;:::i;28475:26::-;;;;;;;;;;;;;:::i;50365:131::-;;;;;;;;;;;;;:::i;27895:89::-;;;;;;;;;;;;;:::i;14734:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14734:127:0;-1:-1:-1;;;;;14734:127:0;;:::i;24099:148::-;;;;;;;;;;;;;:::i;23448:87::-;;;;;;;;;;;;;:::i;28395:38::-;;;;;;;;;;;;;:::i;50710:254::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50710:254:0;-1:-1:-1;;;;;50710:254:0;;:::i;28225:33::-;;;;;;;;;;;;;:::i;13674:95::-;;;;;;;;;;;;;:::i;54284:185::-;;;;;;;;;;;;;:::i;27584:31::-;;;;;;;;;;;;;:::i;28348:38::-;;;;;;;;;;;;;:::i;17712:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17712:269:0;;;;;;;;:::i;15074:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15074:175:0;;;;;;;;:::i;28442:24::-;;;;;;;;;;;;;:::i;27624:31::-;;;;;;;;;;;;;:::i;28020:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28020:27:0;;:::i;15312:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15312:151:0;;;;;;;;;;:::i;24402:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24402:244:0;-1:-1:-1;;;;;24402:244:0;;:::i;49799:95::-;;;;;;;;;;;;;:::i;27521:20::-;;;;;;;;;;;;;:::i;42620:113::-;42669:17;:15;:17::i;:::-;42697:28;42707:17;:15;:17::i;:::-;42697:9;:28::i;:::-;42620:113::o;27664:25::-;;;;;;:::o;13464:91::-;13542:5;13535:12;;;;;;;;-1:-1:-1;;13535:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13509:13;;13535:12;;13542:5;;13535:12;;13542:5;13535:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13464:91;;:::o;15610:169::-;15693:4;15710:39;15719:12;:10;:12::i;:::-;15733:7;15742:6;15710:8;:39::i;:::-;-1:-1:-1;15767:4:0;15610:169;;;;:::o;14563:108::-;14651:12;;14563:108;:::o;28314:25::-;;;;:::o;16261:321::-;16367:4;16384:36;16394:6;16402:9;16413:6;16384:9;:36::i;:::-;16431:121;16440:6;16448:12;:10;:12::i;:::-;16462:89;16500:6;16462:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16462:19:0;;;;;;:11;:19;;;;;;16482:12;:10;:12::i;:::-;-1:-1:-1;;;;;16462:33:0;;;;;;;;;;;;-1:-1:-1;16462:33:0;;;:89;:37;:89::i;:::-;16431:8;:121::i;:::-;-1:-1:-1;16570:4:0;16261:321;;;;;;:::o;28056:41::-;;;;;;;;;;;;;:::o;27698:26::-;;;;;;;;;:::o;14407:91::-;14481:9;;;;14407:91;:::o;28106:46::-;;;;;;;;;;;;;;;:::o;27993:18::-;;;;;;;;;:::o;51131:119::-;49257:8;:6;:8::i;:::-;-1:-1:-1;;;;;49243:22:0;:10;-1:-1:-1;;;;;49243:22:0;;49239:100;;;51213:29:::1;51224:17;51213:10;:29::i;:::-;49239:100:::0;;;49316:11;:9;:11::i;:::-;51131:119;:::o;16991:218::-;17079:4;17096:83;17105:12;:10;:12::i;:::-;17119:7;17128:50;17167:10;17128:11;:25;17140:12;:10;:12::i;:::-;-1:-1:-1;;;;;17128:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17128:25:0;;;:34;;;;;;;;;;;:38;:50::i;28165:47::-;;;;;;;;;;;;;;;:::o;28271:34::-;;;;:::o;27550:25::-;;;-1:-1:-1;;;;;27550:25:0;;:::o;51635:219::-;49257:8;:6;:8::i;:::-;-1:-1:-1;;;;;49243:22:0;:10;-1:-1:-1;;;;;49243:22:0;;49239:100;;;51753:29:::1;51764:17;51753:10;:29::i;:::-;51793:53;51822:17;51841:4;;51793:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;51793:28:0::1;::::0;-1:-1:-1;;;51793:53:0:i:1;:::-;;49239:100:::0;;;49316:11;:9;:11::i;:::-;51635:219;;;:::o;28475:26::-;;;-1:-1:-1;;;;;28475:26:0;;:::o;50365:131::-;50417:23;49257:8;:6;:8::i;:::-;-1:-1:-1;;;;;49243:22:0;:10;-1:-1:-1;;;;;49243:22:0;;49239:100;;;50471:17:::1;:15;:17::i;:::-;50453:35;;49239:100:::0;;;49316:11;:9;:11::i;27895:89::-;27942:42;27895:89;:::o;14734:127::-;-1:-1:-1;;;;;14835:18:0;14808:7;14835:18;;;;;;;;;;;;14734:127::o;24099:148::-;23679:12;:10;:12::i;:::-;-1:-1:-1;;;;;23668:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23668:23:0;;23660:68;;;;;-1:-1:-1;;;23660:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24190:6:::1;::::0;24169:40:::1;::::0;24206:1:::1;::::0;-1:-1:-1;;;;;24190:6:0::1;::::0;24169:40:::1;::::0;24206:1;;24169:40:::1;24220:6;:19:::0;;-1:-1:-1;;;;;;24220:19:0::1;::::0;;24099:148::o;23448:87::-;23521:6;;-1:-1:-1;;;;;23521:6:0;23448:87;:::o;28395:38::-;;;;:::o;50710:254::-;49257:8;:6;:8::i;:::-;-1:-1:-1;;;;;49243:22:0;:10;-1:-1:-1;;;;;49243:22:0;;49239:100;;;-1:-1:-1;;;;;50793:22:0;::::1;50785:93;;;;-1:-1:-1::0;;;50785:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50894:32;50907:8;:6;:8::i;:::-;50894:32;::::0;;-1:-1:-1;;;;;50894:32:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;50937:19;50947:8;50937:9;:19::i;28225:33::-:0;;;;:::o;13674:95::-;13754:7;13747:14;;;;;;;;-1:-1:-1;;13747:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13721:13;;13747:14;;13754:7;;13747:14;;13754:7;13747:14;;;;;;;;;;;;;;;;;;;;;;;;54284:185;54326:6;54347:115;54358:10;:17;54354:21;;54347:115;;;54400:50;54426:10;54437:1;54426:13;;;;;;;;;;;;;;;;;;54407:5;;-1:-1:-1;;;;;54407:5:0;;;;54426:13;-1:-1:-1;;54400:25:0;:50::i;:::-;54382:1;54377:6;54347:115;;27584:31;;;;:::o;28348:38::-;;;;:::o;17712:269::-;17805:4;17822:129;17831:12;:10;:12::i;:::-;17845:7;17854:96;17893:15;17854:96;;;;;;;;;;;;;;;;;:11;:25;17866:12;:10;:12::i;:::-;-1:-1:-1;;;;;17854:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17854:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15074:175::-;15160:4;15177:42;15187:12;:10;:12::i;:::-;15201:9;15212:6;15177:9;:42::i;28442:24::-;;;-1:-1:-1;;;;;28442:24:0;;:::o;27624:31::-;;;;:::o;28020:27::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28020:27:0;;-1:-1:-1;28020:27:0;:::o;15312:151::-;-1:-1:-1;;;;;15428:18:0;;;15401:7;15428:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15312:151::o;24402:244::-;23679:12;:10;:12::i;:::-;-1:-1:-1;;;;;23668:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23668:23:0;;23660:68;;;;;-1:-1:-1;;;23660:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24491:22:0;::::1;24483:73;;;;-1:-1:-1::0;;;24483:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24593:6;::::0;24572:38:::1;::::0;-1:-1:-1;;;;;24572:38:0;;::::1;::::0;24593:6:::1;::::0;24572:38:::1;::::0;24593:6:::1;::::0;24572:38:::1;24621:6;:17:::0;;-1:-1:-1;;;;;;24621:17:0::1;-1:-1:-1::0;;;;;24621:17:0;;;::::1;::::0;;;::::1;::::0;;24402:244::o;49799:95::-;49842:14;49257:8;:6;:8::i;:::-;-1:-1:-1;;;;;49243:22:0;:10;-1:-1:-1;;;;;49243:22:0;;49239:100;;;49878:8:::1;:6;:8::i;27521:20::-:0;;;-1:-1:-1;;;;;27521:20:0;;:::o;34968:200::-;35051:12;35083:77;35104:6;35112:4;35083:77;;;;;;;;;;;;;;;;;:20;:77::i;6629:179::-;6687:7;6719:5;;;6743:6;;;;6735:46;;;;;-1:-1:-1;;;6735:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29283:422;29650:20;29689:8;;;29283:422::o;37867:622::-;38237:10;;;38236:62;;-1:-1:-1;38253:39:0;;;-1:-1:-1;;;38253:39:0;;38277:4;38253:39;;;;-1:-1:-1;;;;;38253:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38253:39:0;:44;38236:62;38228:152;;;;-1:-1:-1;;;38228:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38418:62;;;-1:-1:-1;;;;;38418:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38418:62:0;-1:-1:-1;;;38418:62:0;;;38391:90;;38411:5;;38391:19;:90::i;32201:195::-;32304:12;32336:52;32358:6;32366:4;32372:1;32375:12;32336:21;:52::i;:::-;32329:59;32201:195;-1:-1:-1;;;;32201:195:0:o;52576:207::-;52662:8;:6;:8::i;:::-;-1:-1:-1;;;;;52648:22:0;:10;-1:-1:-1;;;;;52648:22:0;;;52640:101;;;;-1:-1:-1;;;52640:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52752:23;:21;:23::i;45480:256::-;45330:66;45707:11;;45684:45::o;41213:915::-;41613:14;41610:1;41607;41594:34;41831:1;41828;41812:14;41809:1;41793:14;41786:5;41773:60;41910:16;41907:1;41904;41889:38;41950:6;42019:38;;;;42091:16;42088:1;42081:27;42019:38;42038:16;42035:1;42028:27;667:106;755:10;667:106;:::o;20859:346::-;-1:-1:-1;;;;;20961:19:0;;20953:68;;;;-1:-1:-1;;;20953:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21040:21:0;;21032:68;;;;-1:-1:-1;;;21032:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21113:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21165:32;;;;;;;;;;;;;;;;;20859:346;;;:::o;18471:539::-;-1:-1:-1;;;;;18577:20:0;;18569:70;;;;-1:-1:-1;;;18569:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18658:23:0;;18650:71;;;;-1:-1:-1;;;18650:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18734:47;18755:6;18763:9;18774:6;18734:20;:47::i;:::-;18814:71;18836:6;18814:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18814:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18794:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18919:20;;;;;;;:32;;18944:6;18919:24;:32::i;:::-;-1:-1:-1;;;;;18896:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18967:35;;;;;;;18896:20;;18967:35;;;;;;;;;;;;;18471:539;;;:::o;9456:166::-;9542:7;9578:12;9570:6;;;;9562:29;;;;-1:-1:-1;;;9562:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9609:5:0;;;9456:166::o;51920:227::-;48996:66;52118:11;;52096:44::o;45862:163::-;45937:37;45956:17;45937:18;:37::i;:::-;45990:27;;-1:-1:-1;;;;;45990:27:0;;;;;;;;45862:163;:::o;52234:216::-;48996:66;52410:22;52395:48::o;35362:423::-;35473:12;35506:18;35517:6;35506:10;:18::i;:::-;35498:69;;;;-1:-1:-1;;;35498:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35641:12;35655:23;35682:6;-1:-1:-1;;;;;35682:19:0;35702:4;35682:25;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35682:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35640:67;;;;35725:52;35743:7;35752:10;35764:12;35725:17;:52::i;:::-;35718:59;35362:423;-1:-1:-1;;;;;;35362:423:0:o;39513:761::-;39937:23;39963:69;39991:4;39963:69;;;;;;;;;;;;;;;;;39971:5;-1:-1:-1;;;;;39963:27:0;;;:69;;;;;:::i;:::-;40047:17;;39937:95;;-1:-1:-1;40047:21:0;40043:224;;40189:10;40178:30;;;;;;;;;;;;;;;-1:-1:-1;40178:30:0;40170:85;;;;-1:-1:-1;;;40170:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33253:530;33380:12;33438:5;33413:21;:30;;33405:81;;;;-1:-1:-1;;;33405:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33505:18;33516:6;33505:10;:18::i;:::-;33497:60;;;;;-1:-1:-1;;;33497:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33631:12;33645:23;33672:6;-1:-1:-1;;;;;33672:11:0;33692:5;33700:4;33672:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33672:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33630:75;;;;33723:52;33741:7;33750:10;33762:12;33723:17;:52::i;:::-;33716:59;33253:530;-1:-1:-1;;;;;;;33253:530:0:o;46121:369::-;46203:37;46222:17;46203:18;:37::i;:::-;46195:104;;;;-1:-1:-1;;;46195:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45330:66;46441:31;46426:57::o;35793:742::-;35908:12;35937:7;35933:595;;;-1:-1:-1;35968:10:0;35961:17;;35933:595;36082:17;;:21;36078:439;;36345:10;36339:17;36406:15;36393:10;36389:2;36385:19;36378:44;36293:148;36481:20;;-1:-1:-1;;;36481:20:0;;;;;;;;;;;;;;;;;36488:12;;36481:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://218f3977ea6ad242dee9c2b6f77588a62e158e014ae1db584e72a52901c6301b
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.