Contract 0xd95b9c08285045393862607d6e5fc2d95b9ce129

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1951558d218b09b645bac9f258ec80b4f611c5190818f32a9bf0f7717e691a57Set Strategy107293902021-09-08 7:32:339 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0xce0f355ca968ef57a30b261b4b7bfc0b81aaeca2b8e0150cc32a856eb5d3159aSet Vault107293852021-09-08 7:32:189 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223875
0x498f04d2960ad87cdd9c924f87291a0f89a4ffed4029287be85e3e1f34f27cf1Approve Strategy107293792021-09-08 7:32:009 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
0x9b44495b2ea3192dec32c77f6e45154aaa545b402469db18052c07404442cf62Set Strategy93644932021-07-21 23:55:3757 days 13 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000508775
0xcbed9791678ddd1fd265c9b71922e4c9c2c1733145bdf1c0b077fc7403a06272Set Strategy92822822021-07-19 3:22:1860 days 9 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0x8e6395b0fe147cd8273f780ce69e59a9dd33ab9256191340307c2883f86223a9Set Vault92822722021-07-19 3:21:4860 days 9 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223815
0x35186d5d3adff331e0daeebaa92d64866c8b5db3c4ce0f475a316ae0b40ed496Approve Strategy92822652021-07-19 3:21:2760 days 9 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
0xc07646503892d232f311f56e14aca6fa518f0692408b4aa5b24a683ea8ef6bf1Set Strategy91416462021-07-14 6:06:2165 days 7 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000285065
0xda2202a229901fcb1466d05760dc1d28e9c0e10f6c2dc5e0a44818cb65c9af14Set Strategy87980242021-07-02 6:45:3477 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022895
0x95d9508658c0afedabe6270dc934ae476fd10399877d323dda7d222278205f69Approve Strategy87980192021-07-02 6:45:1977 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224265
0x256e28bd85de3d242789e88677de7e60f7080e387280185fdcfb942ac9937cfdSet Vault87980152021-07-02 6:45:0777 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223815
0xd5454cb814f622dfb40393340b2c0fa2d0fecd5b17c548bc4c3af2ee55d715deSet Strategy87489722021-06-30 13:28:5278 days 23 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0x42d926ca089ebd293a19cea378484feea92a4b364733f24818966b9b84ed8135Approve Strategy87489682021-06-30 13:28:4078 days 23 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
0xbd73cb65dd2eb63dce62b8686296ea214f85a4d2dbae5ca137e4316fc7537ae6Set Vault87489632021-06-30 13:28:2578 days 23 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223875
0x6e26b40a768e4a7ad8c5d8e6f8b086a147b22305ad7e4e52b43b65434ade77afSet Strategy84276012021-06-19 8:25:3790 days 4 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0x72ecf77956ef968b8ae2aebca0b64835a886f4fee1f5629ddd769224f2440b42Set Vault84275712021-06-19 8:24:0790 days 4 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223875
0x9288e009d1a2743aa2fa75ef9e2dbd2b740cebc7b25eecf35b9caf402f441201Approve Strategy84275592021-06-19 8:23:3190 days 4 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
0x4829557ab281f9ad7a7480ffee61b908ea43641939f9436ccf9e3a8e3fdd363fSet Strategy84271162021-06-19 8:01:1990 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0xa450bfcd271556697ce484489908633704d8be2b055705b49eecc601b2a7dcbbSet Vault84271112021-06-19 8:01:0490 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223875
0x11196160cf63a96c1fe7a3c6dc9f45b4de57c9b72a94938085d43c8e1d501258Approve Strategy84271022021-06-19 8:00:3790 days 5 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
0x7ea2da1c3083069906e8c5ee0fb0a26bb7148540d540dd20ae2a570053e3a62bSet Strategy83393072021-06-16 6:15:0793 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022895
0x540aa7e3702b7ba595d112416ac16d651b83b15df8d01d8497d9232dc31ee1edApprove Strategy83393012021-06-16 6:14:4993 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224265
0x0ceaf5e91858a320d5e710e7dd74881ba0c88528a2a6f9269d2d1fc821b7d40eSet Vault83392972021-06-16 6:14:3793 days 6 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000223815
0xd687b6e58995370e7bf7247de43d0edd35d5f0074dcec30f2a492e3ef571adfcSet Strategy83392502021-06-16 6:12:1493 days 7 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.00022901
0xffc8ff3a5d9204ec3736feed904d94d5ef878a9fb0d67d443bec6058cea5ac23Approve Strategy83392462021-06-16 6:12:0293 days 7 hrs agoACryptoS: Deployer IN  0xd95b9c08285045393862607d6e5fc2d95b9ce1290 BNB0.000224325
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ControllerV2

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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

pragma solidity ^0.5.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

pragma solidity ^0.5.0;




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

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

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

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

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

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

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

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

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

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

// File: interfaces/yearn/Converter.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

interface Converter {
    function convert(address) external returns (uint256);
}

// File: interfaces/yearn/OneSplitAudit.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

interface OneSplitAudit {
    function swap(
        address fromToken,
        address destToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] calldata distribution,
        uint256 flags
    ) external payable returns (uint256 returnAmount);

    function getExpectedReturn(
        address fromToken,
        address destToken,
        uint256 amount,
        uint256 parts,
        uint256 flags // See constants in IOneSplit.sol
    ) external view returns (uint256 returnAmount, uint256[] memory distribution);
}

// File: interfaces/yearn/Strategy.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;

interface Strategy {
    function want() external view returns (address);

    function deposit() external;

    // NOTE: must exclude any tokens used in the yield
    // Controller role - withdraw should return to Controller
    function withdraw(address) external;

    // Controller | Vault role - withdraw should always return to Vault
    function withdraw(uint256) external;

    // Controller | Vault role - withdraw should always return to Vault
    function withdrawAll() external returns (uint256);

    function balanceOf() external view returns (uint256);

    function skim() external;
}

// File: contracts/controllers/ControllerV2.sol

//https://github.com/iearn-finance/yearn-protocol/blob/f06e448d3f11a3c181fa181c782067f5f81deae9/contracts/controllers/Controller.sol
//V2 - allow approve strategy by strategist if there is no current strategy, set governance in constructor
// SPDX-License-Identifier: MIT

pragma solidity ^0.5.17;








contract ControllerV2 {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    address public governance;
    address public strategist;

    address public onesplit;
    address public rewards;
    mapping(address => address) public vaults;
    mapping(address => address) public strategies;
    mapping(address => mapping(address => address)) public converters;

    mapping(address => mapping(address => bool)) public approvedStrategies;

    uint256 public split = 500;
    uint256 public constant max = 10000;

    constructor(address _governance, address _rewards) public {
        governance = _governance;
        strategist = msg.sender;
        onesplit = address(0x50FDA034C0Ce7a8f7EFDAebDA7Aa7cA21CC1267e);
        rewards = _rewards;
    }

    function setRewards(address _rewards) public {
        require(msg.sender == governance, "!governance");
        rewards = _rewards;
    }

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

    function setSplit(uint256 _split) public {
        require(msg.sender == governance, "!governance");
        split = _split;
    }

    function setOneSplit(address _onesplit) public {
        require(msg.sender == governance, "!governance");
        onesplit = _onesplit;
    }

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

    function setVault(address _token, address _vault) public {
        require(msg.sender == strategist || msg.sender == governance, "!strategist");
        require(vaults[_token] == address(0), "vault");
        vaults[_token] = _vault;
    }

    function approveStrategy(address _token, address _strategy) public {
        require(msg.sender == strategist && strategies[_token] == address(0) || msg.sender == governance, "!governance");
        approvedStrategies[_token][_strategy] = true;
    }

    function revokeStrategy(address _token, address _strategy) public {
        require(msg.sender == governance, "!governance");
        approvedStrategies[_token][_strategy] = false;
    }

    function setConverter(
        address _input,
        address _output,
        address _converter
    ) public {
        require(msg.sender == strategist || msg.sender == governance, "!strategist");
        converters[_input][_output] = _converter;
    }

    function setStrategy(address _token, address _strategy) public {
        require(msg.sender == strategist || msg.sender == governance, "!strategist");
        require(approvedStrategies[_token][_strategy] == true, "!approved");

        address _current = strategies[_token];
        if (_current != address(0)) {
            Strategy(_current).withdrawAll();
        }
        strategies[_token] = _strategy;
    }

    function earn(address _token, uint256 _amount) public {
        address _strategy = strategies[_token];
        address _want = Strategy(_strategy).want();
        if (_want != _token) {
            address converter = converters[_token][_want];
            IERC20(_token).safeTransfer(converter, _amount);
            _amount = Converter(converter).convert(_strategy);
            IERC20(_want).safeTransfer(_strategy, _amount);
        } else {
            IERC20(_token).safeTransfer(_strategy, _amount);
        }
        Strategy(_strategy).deposit();
    }

    function balanceOf(address _token) external view returns (uint256) {
        return Strategy(strategies[_token]).balanceOf();
    }

    function withdrawAll(address _token) public {
        require(msg.sender == strategist || msg.sender == governance, "!strategist");
        Strategy(strategies[_token]).withdrawAll();
    }

    function inCaseTokensGetStuck(address _token, uint256 _amount) public {
        require(msg.sender == strategist || msg.sender == governance, "!governance");
        IERC20(_token).safeTransfer(msg.sender, _amount);
    }

    function inCaseStrategyTokenGetStuck(address _strategy, address _token) public {
        require(msg.sender == strategist || msg.sender == governance, "!governance");
        Strategy(_strategy).withdraw(_token);
    }

    function getExpectedReturn(
        address _strategy,
        address _token,
        uint256 parts
    ) public view returns (uint256 expected) {
        uint256 _balance = IERC20(_token).balanceOf(_strategy);
        address _want = Strategy(_strategy).want();
        (expected, ) = OneSplitAudit(onesplit).getExpectedReturn(_token, _want, _balance, parts, 0);
    }

    // Only allows to withdraw non-core strategy tokens ~ this is over and above normal yield
    function yearn(
        address _strategy,
        address _token,
        uint256 parts
    ) public {
        require(msg.sender == strategist || msg.sender == governance, "!governance");
        // This contract should never have value in it, but just incase since this is a public call
        uint256 _before = IERC20(_token).balanceOf(address(this));
        Strategy(_strategy).withdraw(_token);
        uint256 _after = IERC20(_token).balanceOf(address(this));
        if (_after > _before) {
            uint256 _amount = _after.sub(_before);
            address _want = Strategy(_strategy).want();
            uint256[] memory _distribution;
            uint256 _expected;
            _before = IERC20(_want).balanceOf(address(this));
            IERC20(_token).safeApprove(onesplit, 0);
            IERC20(_token).safeApprove(onesplit, _amount);
            (_expected, _distribution) = OneSplitAudit(onesplit).getExpectedReturn(_token, _want, _amount, parts, 0);
            OneSplitAudit(onesplit).swap(_token, _want, _amount, _expected, _distribution, 0);
            _after = IERC20(_want).balanceOf(address(this));
            if (_after > _before) {
                _amount = _after.sub(_before);
                uint256 _reward = _amount.mul(split).div(max);
                earn(_want, _amount.sub(_reward));
                IERC20(_want).safeTransfer(rewards, _reward);
            }
        }
    }

    function withdraw(address _token, uint256 _amount) public {
        require(msg.sender == vaults[_token], "!vault");
        Strategy(strategies[_token]).withdraw(_amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_rewards","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"name":"approveStrategy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"approvedStrategies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"converters","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"earn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"parts","type":"uint256"}],"name":"getExpectedReturn","outputs":[{"internalType":"uint256","name":"expected","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseStrategyTokenGetStuck","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"onesplit","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"name":"revokeStrategy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_input","type":"address"},{"internalType":"address","name":"_output","type":"address"},{"internalType":"address","name":"_converter","type":"address"}],"name":"setConverter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_onesplit","type":"address"}],"name":"setOneSplit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewards","type":"address"}],"name":"setRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_split","type":"uint256"}],"name":"setSplit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"name":"setStrategy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"split","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"strategies","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vaults","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"parts","type":"uint256"}],"name":"yearn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526101f460085534801561001657600080fd5b506040516121823803806121828339818101604052604081101561003957600080fd5b508051602090910151600080546001600160a01b039384166001600160a01b031991821617909155600180548216331790556002805482167350fda034c0ce7a8f7efdaebda7aa7ca21cc1267e179055600380549390921692169190911790556120da806100a86000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a1578b6a116100f9578063ccd0631811610097578063f3fef3a311610071578063f3fef3a314610592578063f712adbb146105be578063f7654176146105c6578063fa09e630146105ce576101c4565b8063ccd0631814610506578063e4f2494d1461053e578063ec38a8621461056c576101c4565b8063b02bf4b9116100d3578063b02bf4b91461045a578063c494448e14610486578063c6d758cb146104b4578063c7b9d530146104e0576101c4565b8063a1578b6a146103cc578063a622ee7c1461040e578063ab033ea914610434576101c4565b80636ac5db1911610166578063714ccf7b11610140578063714ccf7b1461034257806372cb5d97146103705780638da1df4d1461039e5780639ec5a894146103c4576101c4565b80636ac5db19146102cc5780636dcd64e5146102e657806370a082311461031c576101c4565b806339ebf823116101a257806339ebf82314610253578063590bbb60146102795780635aa6e675146102a7578063674e694f146102af576101c4565b806304209f48146101c9578063197baa6d146102015780631fe4a6861461022f575b600080fd5b6101ff600480360360608110156101df57600080fd5b506001600160a01b038135811691602081013590911690604001356105f4565b005b6101ff6004803603604081101561021757600080fd5b506001600160a01b0381358116916020013516610c3f565b610237610d15565b604080516001600160a01b039092168252519081900360200190f35b6102376004803603602081101561026957600080fd5b50356001600160a01b0316610d24565b6101ff6004803603604081101561028f57600080fd5b506001600160a01b0381358116916020013516610d3f565b610237610dbd565b6101ff600480360360208110156102c557600080fd5b5035610dcc565b6102d4610e1e565b60408051918252519081900360200190f35b6102d4600480360360608110156102fc57600080fd5b506001600160a01b03813581169160208101359091169060400135610e24565b6102d46004803603602081101561033257600080fd5b50356001600160a01b0316611064565b6101ff6004803603604081101561035857600080fd5b506001600160a01b03813581169160200135166110e8565b6101ff6004803603604081101561038657600080fd5b506001600160a01b03813581169160200135166111cd565b6101ff600480360360208110156103b457600080fd5b50356001600160a01b0316611352565b6102376113c1565b6103fa600480360360408110156103e257600080fd5b506001600160a01b03813581169160200135166113d0565b604080519115158252519081900360200190f35b6102376004803603602081101561042457600080fd5b50356001600160a01b03166113f0565b6101ff6004803603602081101561044a57600080fd5b50356001600160a01b031661140b565b6101ff6004803603604081101561047057600080fd5b506001600160a01b03813516906020013561147a565b6101ff6004803603604081101561049c57600080fd5b506001600160a01b0381358116916020013516611661565b6101ff600480360360408110156104ca57600080fd5b506001600160a01b03813516906020013561171b565b6101ff600480360360208110156104f657600080fd5b50356001600160a01b031661179b565b6101ff6004803603606081101561051c57600080fd5b506001600160a01b03813581169160208101358216916040909101351661180a565b6102376004803603604081101561055457600080fd5b506001600160a01b03813581169160200135166118a9565b6101ff6004803603602081101561058257600080fd5b50356001600160a01b03166118cf565b6101ff600480360360408110156105a857600080fd5b506001600160a01b03813516906020013561193e565b6102376119ec565b6102d46119fb565b6101ff600480360360208110156105e457600080fd5b50356001600160a01b0316611a01565b6001546001600160a01b031633148061061757506000546001600160a01b031633145b610656576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b1580156106a057600080fd5b505afa1580156106b4573d6000803e3d6000fd5b505050506040513d60208110156106ca57600080fd5b5051604080516351cff8d960e01b81526001600160a01b0386811660048301529151929350908616916351cff8d99160248082019260009290919082900301818387803b15801561071a57600080fd5b505af115801561072e573d6000803e3d6000fd5b5050604080516370a0823160e01b81523060048201529051600093506001600160a01b03871692506370a0823191602480820192602092909190829003018186803b15801561077c57600080fd5b505afa158015610790573d6000803e3d6000fd5b505050506040513d60208110156107a657600080fd5b5051905081811115610c385760006107c4828463ffffffff611ae316565b90506000866001600160a01b0316631f1fcd516040518163ffffffff1660e01b815260040160206040518083038186803b15801561080157600080fd5b505afa158015610815573d6000803e3d6000fd5b505050506040513d602081101561082b57600080fd5b5051604080516370a0823160e01b815230600482015290519192506060916000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b15801561087d57600080fd5b505afa158015610891573d6000803e3d6000fd5b505050506040513d60208110156108a757600080fd5b50516002549096506108cd906001600160a01b038a81169116600063ffffffff611b2e16565b6002546108ed906001600160a01b038a811691168663ffffffff611b2e16565b6002546040805163085e2c5b60e01b81526001600160a01b038b81166004830152868116602483015260448201889052606482018b9052600060848301819052925193169263085e2c5b9260a480840193919291829003018186803b15801561095557600080fd5b505afa158015610969573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604090815281101561099257600080fd5b8151602083018051604051929492938301929190846401000000008211156109b957600080fd5b9083019060208201858111156109ce57600080fd5b82518660208202830111640100000000821117156109eb57600080fd5b82525081516020918201928201910280838360005b83811015610a18578181015183820152602001610a00565b505050509050016040525050508093508192505050600260009054906101000a90046001600160a01b03166001600160a01b031663e2a7515e898587858760006040518763ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610ae9578181015183820152602001610ad1565b50505050905001975050505050505050602060405180830381600087803b158015610b1357600080fd5b505af1158015610b27573d6000803e3d6000fd5b505050506040513d6020811015610b3d57600080fd5b5050604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b158015610b8557600080fd5b505afa158015610b99573d6000803e3d6000fd5b505050506040513d6020811015610baf57600080fd5b5051945085851115610c3357610bcb858763ffffffff611ae316565b93506000610bf6612710610bea60085488611c4190919063ffffffff16565b9063ffffffff611c9a16565b9050610c1184610c0c878463ffffffff611ae316565b61147a565b600354610c31906001600160a01b0386811691168363ffffffff611cdc16565b505b505050505b5050505050565b6001546001600160a01b0316331480610c6257506000546001600160a01b031633145b610ca1576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b816001600160a01b03166351cff8d9826040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050600060405180830381600087803b158015610cf957600080fd5b505af1158015610d0d573d6000803e3d6000fd5b505050505050565b6001546001600160a01b031681565b6005602052600090815260409020546001600160a01b031681565b6000546001600160a01b03163314610d8c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220805460ff19169055565b6000546001600160a01b031681565b6000546001600160a01b03163314610e19576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600855565b61271081565b600080836001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610e7d57600080fd5b505afa158015610e91573d6000803e3d6000fd5b505050506040513d6020811015610ea757600080fd5b505160408051631f1fcd5160e01b815290519192506000916001600160a01b03881691631f1fcd51916004808301926020929190829003018186803b158015610eef57600080fd5b505afa158015610f03573d6000803e3d6000fd5b505050506040513d6020811015610f1957600080fd5b50516002546040805163085e2c5b60e01b81526001600160a01b0389811660048301528085166024830152604482018790526064820189905260006084830181905292519495509092169263085e2c5b9260a4808201939291829003018186803b158015610f8657600080fd5b505afa158015610f9a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040908152811015610fc357600080fd5b815160208301805160405192949293830192919084640100000000821115610fea57600080fd5b908301906020820185811115610fff57600080fd5b825186602082028301116401000000008211171561101c57600080fd5b82525081516020918201928201910280838360005b83811015611049578181015183820152602001611031565b50505050905001604052505050508093505050509392505050565b6001600160a01b03808216600090815260056020908152604080832054815163722713f760e01b815291519394169263722713f792600480840193919291829003018186803b1580156110b657600080fd5b505afa1580156110ca573d6000803e3d6000fd5b505050506040513d60208110156110e057600080fd5b505192915050565b6001546001600160a01b031633148061110b57506000546001600160a01b031633145b61114a576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b6001600160a01b03828116600090815260046020526040902054161561119f576040805162461bcd60e51b81526020600482015260056024820152641d985d5b1d60da1b604482015290519081900360640190fd5b6001600160a01b03918216600090815260046020526040902080546001600160a01b03191691909216179055565b6001546001600160a01b03163314806111f057506000546001600160a01b031633145b61122f576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b6001600160a01b0380831660009081526007602090815260408083209385168352929052205460ff16151560011461129a576040805162461bcd60e51b815260206004820152600960248201526808585c1c1c9bdd995960ba1b604482015290519081900360640190fd5b6001600160a01b0380831660009081526005602052604090205416801561132357806001600160a01b031663853828b66040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156112f657600080fd5b505af115801561130a573d6000803e3d6000fd5b505050506040513d602081101561132057600080fd5b50505b506001600160a01b03918216600090815260056020526040902080546001600160a01b03191691909216179055565b6000546001600160a01b0316331461139f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b600760209081526000928352604080842090915290825290205460ff1681565b6004602052600090815260409020546001600160a01b031681565b6000546001600160a01b03163314611458576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038083166000908152600560209081526040808320548151631f1fcd5160e01b815291519416938492631f1fcd519260048082019391829003018186803b1580156114cb57600080fd5b505afa1580156114df573d6000803e3d6000fd5b505050506040513d60208110156114f557600080fd5b505190506001600160a01b03808216908516146115ee576001600160a01b03808516600081815260066020908152604080832086861684529091529020549091169061154890828663ffffffff611cdc16565b806001600160a01b031663def2489b846040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b03168152602001915050602060405180830381600087803b1580156115a057600080fd5b505af11580156115b4573d6000803e3d6000fd5b505050506040513d60208110156115ca57600080fd5b505193506115e86001600160a01b038316848663ffffffff611cdc16565b50611608565b6116086001600160a01b038516838563ffffffff611cdc16565b816001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b5050505050505050565b6001546001600160a01b03163314801561169357506001600160a01b0382811660009081526005602052604090205416155b806116a857506000546001600160a01b031633145b6116e7576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220805460ff19166001179055565b6001546001600160a01b031633148061173e57506000546001600160a01b031633145b61177d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6117976001600160a01b038316338363ffffffff611cdc16565b5050565b6000546001600160a01b031633146117e8576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633148061182d57506000546001600160a01b031633145b61186c576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b6001600160a01b03928316600090815260066020908152604080832094861683529390529190912080546001600160a01b03191691909216179055565b60066020908152600092835260408084209091529082529020546001600160a01b031681565b6000546001600160a01b0316331461191c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03828116600090815260046020526040902054163314611995576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6001600160a01b03808316600090815260056020526040808220548151632e1a7d4d60e01b8152600481018690529151931692632e1a7d4d9260248084019391929182900301818387803b158015610cf957600080fd5b6002546001600160a01b031681565b60085481565b6001546001600160a01b0316331480611a2457506000546001600160a01b031633145b611a63576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b6001600160a01b03808216600090815260056020908152604080832054815163429c145b60e11b8152915194169363853828b693600480840194938390030190829087803b158015611ab457600080fd5b505af1158015611ac8573d6000803e3d6000fd5b505050506040513d6020811015611ade57600080fd5b505050565b6000611b2583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d2e565b90505b92915050565b801580611bb4575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611b8657600080fd5b505afa158015611b9a573d6000803e3d6000fd5b505050506040513d6020811015611bb057600080fd5b5051155b611bef5760405162461bcd60e51b81526004018080602001828103825260368152602001806120706036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611ade908490611dc5565b600082611c5057506000611b28565b82820282848281611c5d57fe5b0414611b255760405162461bcd60e51b81526004018080602001828103825260218152602001806120256021913960400191505060405180910390fd5b6000611b2583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f83565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611ade908490611dc5565b60008184841115611dbd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d82578181015183820152602001611d6a565b50505050905090810190601f168015611daf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611dd7826001600160a01b0316611fe8565b611e28576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611e665780518252601f199092019160209182019101611e47565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611ec8576040519150601f19603f3d011682016040523d82523d6000602084013e611ecd565b606091505b509150915081611f24576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115611f7d57808060200190516020811015611f4057600080fd5b5051611f7d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612046602a913960400191505060405180910390fd5b50505050565b60008183611fd25760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d82578181015183820152602001611d6a565b506000838581611fde57fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061201c57508115155b94935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158202ba977755677ae148c0bba3411a989d21477177badbe3f98443e662af373e64164736f6c63430005110032000000000000000000000000b9a81e121d8c9d619682bb9ddb6823439178f2f80000000000000000000000008650ab7e2c53e705d484c3b98be14c1ba1e8d690

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

000000000000000000000000b9a81e121d8c9d619682bb9ddb6823439178f2f80000000000000000000000008650ab7e2c53e705d484c3b98be14c1ba1e8d690

-----Decoded View---------------
Arg [0] : _governance (address): 0xb9a81e121d8c9d619682bb9ddb6823439178f2f8
Arg [1] : _rewards (address): 0x8650ab7e2c53e705d484c3b98be14c1ba1e8d690

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b9a81e121d8c9d619682bb9ddb6823439178f2f8
Arg [1] : 0000000000000000000000008650ab7e2c53e705d484c3b98be14c1ba1e8d690


Deployed ByteCode Sourcemap

17307:6509:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17307:6509:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22177:1447;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22177:1447:0;;;;;;;;;;;;;;;;;:::i;:::-;;21467:221;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21467:221:0;;;;;;;;;;:::i;17468:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;17468:25:0;;;;;;;;;;;;;;17609:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17609:45:0;-1:-1:-1;;;;;17609:45:0;;:::i;19413:189::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19413:189:0;;;;;;;;;;:::i;17436:25::-;;;:::i;18446:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18446:133:0;;:::i;17847:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;21696:378;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21696:378:0;;;;;;;;;;;;;;;;;:::i;20894:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20894:133:0;-1:-1:-1;;;;;20894:133:0;;:::i;18901:243::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18901:243:0;;;;;;;;;;:::i;19880:424::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19880:424:0;;;;;;;;;;:::i;18587:145::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18587:145:0;-1:-1:-1;;;;;18587:145:0;;:::i;17532:22::-;;;:::i;17735:70::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17735:70:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;17561:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17561:41:0;-1:-1:-1;;;;;17561:41:0;;:::i;18740:153::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18740:153:0;-1:-1:-1;;;;;18740:153:0;;:::i;20312:574::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20312:574:0;;;;;;;;:::i;19152:253::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19152:253:0;;;;;;;;;;:::i;21235:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21235:224:0;;;;;;;;:::i;18285:153::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18285:153:0;-1:-1:-1;;;;;18285:153:0;;:::i;19610:262::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19610:262:0;;;;;;;;;;;;;;;;;;;:::i;17661:65::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;17661:65:0;;;;;;;;;;:::i;18136:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18136:141:0;-1:-1:-1;;;;;18136:141:0;;:::i;23632:181::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23632:181:0;;;;;;;;:::i;17502:23::-;;;:::i;17814:26::-;;;:::i;21035:192::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21035:192:0;-1:-1:-1;;;;;21035:192:0;;:::i;22177:1447::-;22316:10;;-1:-1:-1;;;;;22316:10:0;22302;:24;;:52;;-1:-1:-1;22344:10:0;;-1:-1:-1;;;;;22344:10:0;22330;:24;22302:52;22294:76;;;;;-1:-1:-1;;;22294:76:0;;;;;;;;;;;;-1:-1:-1;;;22294:76:0;;;;;;;;;;;;;;;22500:39;;;-1:-1:-1;;;22500:39:0;;22533:4;22500:39;;;;;;22482:15;;-1:-1:-1;;;;;22500:24:0;;;;;:39;;;;;;;;;;;;;;;:24;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;22500:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22500:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22500:39:0;22550:36;;;-1:-1:-1;;;22550:36:0;;-1:-1:-1;;;;;22550:36:0;;;;;;;;;22500:39;;-1:-1:-1;22550:28:0;;;;;;:36;;;;;-1:-1:-1;;22550:36:0;;;;;;;;-1:-1:-1;22550:28:0;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;22550:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;22614:39:0;;;-1:-1:-1;;;22614:39:0;;22647:4;22614:39;;;;;;22597:14;;-1:-1:-1;;;;;;22614:24:0;;;-1:-1:-1;22614:24:0;;:39;;;;;;;;;;;;;;;:24;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;22614:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22614:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22614:39:0;;-1:-1:-1;22668:16:0;;;22664:953;;;22701:15;22719:19;:6;22730:7;22719:19;:10;:19;:::i;:::-;22701:37;;22753:13;22778:9;-1:-1:-1;;;;;22769:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22769:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22769:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22769:26:0;22897:38;;;-1:-1:-1;;;22897:38:0;;22929:4;22897:38;;;;;;22769:26;;-1:-1:-1;22810:30:0;;22855:17;;-1:-1:-1;;;;;22897:23:0;;;;;:38;;;;;22769:26;;22897:38;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;22897:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22897:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22897:38:0;22977:8;;22897:38;;-1:-1:-1;22950:39:0;;-1:-1:-1;;;;;22950:26:0;;;;22977:8;;22950:39;:26;:39;:::i;:::-;23031:8;;23004:45;;-1:-1:-1;;;;;23004:26:0;;;;23031:8;23041:7;23004:45;:26;:45;:::i;:::-;23107:8;;23093:75;;;-1:-1:-1;;;23093:75:0;;-1:-1:-1;;;;;23093:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;23107:8;23093:75;;;;;;;;23107:8;;;23093:41;;:75;;;;;23107:8;;23093:75;;;;;;23107:8;23093:75;;;5:2:-1;;;;30:1;27;20:12;5:2;23093:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23093:75:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;23093:75:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;;;5:11;;2:2;;;29:1;26;19:12;2:2;23093:75:0;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;23093:75:0;;421:4:-1;412:14;;;;23093:75:0;;;;;412:14:-1;23093:75:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;23093:75:0;;;;;;;;;;;23064:104;;;;;;;;23197:8;;;;;;;;;-1:-1:-1;;;;;23197:8:0;-1:-1:-1;;;;;23183:28:0;;23212:6;23220:5;23227:7;23236:9;23247:13;23262:1;23183:81;;;;;;;;;;;;;-1:-1:-1;;;;;23183:81:0;-1:-1:-1;;;;;23183:81:0;;;;;;-1:-1:-1;;;;;23183:81:0;-1:-1:-1;;;;;23183:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;23183:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23183:81:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23183:81:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;23288:38:0;;;-1:-1:-1;;;23288:38:0;;23320:4;23288:38;;;;;;-1:-1:-1;;;;;23288:23:0;;;;;:38;;;;;23183:81;;23288:38;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;23288:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23288:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23288:38:0;;-1:-1:-1;23345:16:0;;;23341:265;;;23392:19;:6;23403:7;23392:19;:10;:19;:::i;:::-;23382:29;;23430:15;23448:27;17877:5;23448:18;23460:5;;23448:7;:11;;:18;;;;:::i;:::-;:22;:27;:22;:27;:::i;:::-;23430:45;-1:-1:-1;23494:33:0;23499:5;23506:20;:7;23430:45;23506:20;:11;:20;:::i;:::-;23494:4;:33::i;:::-;23573:7;;23546:44;;-1:-1:-1;;;;;23546:26:0;;;;23573:7;23582;23546:44;:26;:44;:::i;:::-;23341:265;;22664:953;;;;;22177:1447;;;;;:::o;21467:221::-;21579:10;;-1:-1:-1;;;;;21579:10:0;21565;:24;;:52;;-1:-1:-1;21607:10:0;;-1:-1:-1;;;;;21607:10:0;21593;:24;21565:52;21557:76;;;;;-1:-1:-1;;;21557:76:0;;;;;;;;;;;;-1:-1:-1;;;21557:76:0;;;;;;;;;;;;;;;21653:9;-1:-1:-1;;;;;21644:28:0;;21673:6;21644:36;;;;;;;;;;;;;-1:-1:-1;;;;;21644:36:0;-1:-1:-1;;;;;21644:36:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21644:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21644:36:0;;;;21467:221;;:::o;17468:25::-;;;-1:-1:-1;;;;;17468:25:0;;:::o;17609:45::-;;;;;;;;;;;;-1:-1:-1;;;;;17609:45:0;;:::o;19413:189::-;19512:10;;-1:-1:-1;;;;;19512:10:0;19498;:24;19490:48;;;;;-1:-1:-1;;;19490:48:0;;;;;;;;;;;;-1:-1:-1;;;19490:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19549:26:0;;;19589:5;19549:26;;;:18;:26;;;;;;;;:37;;;;;;;;;;;:45;;-1:-1:-1;;19549:45:0;;;19413:189::o;17436:25::-;;;-1:-1:-1;;;;;17436:25:0;;:::o;18446:133::-;18520:10;;-1:-1:-1;;;;;18520:10:0;18506;:24;18498:48;;;;;-1:-1:-1;;;18498:48:0;;;;;;;;;;;;-1:-1:-1;;;18498:48:0;;;;;;;;;;;;;;;18557:5;:14;18446:133::o;17847:35::-;17877:5;17847:35;:::o;21696:378::-;21828:16;21857;21883:6;-1:-1:-1;;;;;21876:24:0;;21901:9;21876:35;;;;;;;;;;;;;-1:-1:-1;;;;;21876:35:0;-1:-1:-1;;;;;21876:35:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21876:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21876:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21876:35:0;21938:26;;;-1:-1:-1;;;21938:26:0;;;;21876:35;;-1:-1:-1;21922:13:0;;-1:-1:-1;;;;;21938:24:0;;;;;:26;;;;;21876:35;;21938:26;;;;;;;:24;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;21938:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21938:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21938:26:0;22004:8;;21990:76;;;-1:-1:-1;;;21990:76:0;;-1:-1:-1;;;;;21990:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;22004:8;21990:76;;;;;;;;21938:26;;-1:-1:-1;22004:8:0;;;;21990:41;;:76;;;;;22004:8;21990:76;;;;;;22004:8;21990:76;;;5:2:-1;;;;30:1;27;20:12;5:2;21990:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21990:76:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;21990:76:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;;;5:11;;2:2;;;29:1;26;19:12;2:2;21990:76:0;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;21990:76:0;;421:4:-1;412:14;;;;21990:76:0;;;;;412:14:-1;21990:76:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;21990:76:0;;;;;;;;;;;21975:91;;;;;21696:378;;;;;;;:::o;20894:133::-;-1:-1:-1;;;;;20988:18:0;;;20952:7;20988:18;;;:10;:18;;;;;;;;;20979:40;;-1:-1:-1;;;20979:40:0;;;;20952:7;;20988:18;;20979:38;;:40;;;;;20988:18;;20979:40;;;;;;20988:18;20979:40;;;5:2:-1;;;;30:1;27;20:12;5:2;20979:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20979:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20979:40:0;;20894:133;-1:-1:-1;;20894:133:0:o;18901:243::-;18991:10;;-1:-1:-1;;;;;18991:10:0;18977;:24;;:52;;-1:-1:-1;19019:10:0;;-1:-1:-1;;;;;19019:10:0;19005;:24;18977:52;18969:76;;;;;-1:-1:-1;;;18969:76:0;;;;;;;;;;;;-1:-1:-1;;;18969:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19064:14:0;;;19090:1;19064:14;;;:6;:14;;;;;;;:28;19056:46;;;;;-1:-1:-1;;;19056:46:0;;;;;;;;;;;;-1:-1:-1;;;19056:46:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19113:14:0;;;;;;;:6;:14;;;;;:23;;-1:-1:-1;;;;;;19113:23:0;;;;;;;;18901:243::o;19880:424::-;19976:10;;-1:-1:-1;;;;;19976:10:0;19962;:24;;:52;;-1:-1:-1;20004:10:0;;-1:-1:-1;;;;;20004:10:0;19990;:24;19962:52;19954:76;;;;;-1:-1:-1;;;19954:76:0;;;;;;;;;;;;-1:-1:-1;;;19954:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;20049:26:0;;;;;;;:18;:26;;;;;;;;:37;;;;;;;;;;;;:45;;:37;:45;20041:67;;;;;-1:-1:-1;;;20041:67:0;;;;;;;;;;;;-1:-1:-1;;;20041:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;20140:18:0;;;20121:16;20140:18;;;:10;:18;;;;;;;20173:22;;20169:87;;20221:8;-1:-1:-1;;;;;20212:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20212:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20212:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;20169:87:0;-1:-1:-1;;;;;;20266:18:0;;;;;;;:10;:18;;;;;:30;;-1:-1:-1;;;;;;20266:30:0;;;;;;;;19880:424::o;18587:145::-;18667:10;;-1:-1:-1;;;;;18667:10:0;18653;:24;18645:48;;;;;-1:-1:-1;;;18645:48:0;;;;;;;;;;;;-1:-1:-1;;;18645:48:0;;;;;;;;;;;;;;;18704:8;:20;;-1:-1:-1;;;;;;18704:20:0;-1:-1:-1;;;;;18704:20:0;;;;;;;;;;18587:145::o;17532:22::-;;;-1:-1:-1;;;;;17532:22:0;;:::o;17735:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17561:41::-;;;;;;;;;;;;-1:-1:-1;;;;;17561:41:0;;:::o;18740:153::-;18824:10;;-1:-1:-1;;;;;18824:10:0;18810;:24;18802:48;;;;;-1:-1:-1;;;18802:48:0;;;;;;;;;;;;-1:-1:-1;;;18802:48:0;;;;;;;;;;;;;;;18861:10;:24;;-1:-1:-1;;;;;;18861:24:0;-1:-1:-1;;;;;18861:24:0;;;;;;;;;;18740:153::o;20312:574::-;-1:-1:-1;;;;;20397:18:0;;;20377:17;20397:18;;;:10;:18;;;;;;;;;20442:26;;-1:-1:-1;;;20442:26:0;;;;20397:18;;;;;20442:24;;:26;;;;;;;;;;;20397:18;20442:26;;;5:2:-1;;;;30:1;27;20:12;5:2;20442:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20442:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20442:26:0;;-1:-1:-1;;;;;;20483:15:0;;;;;;;20479:360;;-1:-1:-1;;;;;20535:18:0;;;20515:17;20535:18;;;:10;:18;;;;;;;;:25;;;;;;;;;;;;;;;20575:47;;20535:25;20614:7;20575:47;:27;:47;:::i;:::-;20657:9;-1:-1:-1;;;;;20647:28:0;;20676:9;20647:39;;;;;;;;;;;;;-1:-1:-1;;;;;20647:39:0;-1:-1:-1;;;;;20647:39:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20647:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20647:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20647:39:0;;-1:-1:-1;20701:46:0;-1:-1:-1;;;;;20701:26:0;;20728:9;20647:39;20701:46;:26;:46;:::i;:::-;20479:360;;;;20780:47;-1:-1:-1;;;;;20780:27:0;;20808:9;20819:7;20780:47;:27;:47;:::i;:::-;20858:9;-1:-1:-1;;;;;20849:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20849:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20849:29:0;;;;20312:574;;;;:::o;19152:253::-;19252:10;;-1:-1:-1;;;;;19252:10:0;19238;:24;:60;;;;-1:-1:-1;;;;;;19266:18:0;;;19296:1;19266:18;;;:10;:18;;;;;;;:32;19238:60;:88;;;-1:-1:-1;19316:10:0;;-1:-1:-1;;;;;19316:10:0;19302;:24;19238:88;19230:112;;;;;-1:-1:-1;;;19230:112:0;;;;;;;;;;;;-1:-1:-1;;;19230:112:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19353:26:0;;;;;;;:18;:26;;;;;;;;:37;;;;;;;;;;;:44;;-1:-1:-1;;19353:44:0;19393:4;19353:44;;;19152:253::o;21235:224::-;21338:10;;-1:-1:-1;;;;;21338:10:0;21324;:24;;:52;;-1:-1:-1;21366:10:0;;-1:-1:-1;;;;;21366:10:0;21352;:24;21324:52;21316:76;;;;;-1:-1:-1;;;21316:76:0;;;;;;;;;;;;-1:-1:-1;;;21316:76:0;;;;;;;;;;;;;;;21403:48;-1:-1:-1;;;;;21403:27:0;;21431:10;21443:7;21403:48;:27;:48;:::i;:::-;21235:224;;:::o;18285:153::-;18369:10;;-1:-1:-1;;;;;18369:10:0;18355;:24;18347:48;;;;;-1:-1:-1;;;18347:48:0;;;;;;;;;;;;-1:-1:-1;;;18347:48:0;;;;;;;;;;;;;;;18406:10;:24;;-1:-1:-1;;;;;;18406:24:0;-1:-1:-1;;;;;18406:24:0;;;;;;;;;;18285:153::o;19610:262::-;19759:10;;-1:-1:-1;;;;;19759:10:0;19745;:24;;:52;;-1:-1:-1;19787:10:0;;-1:-1:-1;;;;;19787:10:0;19773;:24;19745:52;19737:76;;;;;-1:-1:-1;;;19737:76:0;;;;;;;;;;;;-1:-1:-1;;;19737:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;19824:18:0;;;;;;;:10;:18;;;;;;;;:27;;;;;;;;;;;;:40;;-1:-1:-1;;;;;;19824:40:0;;;;;;;;19610:262::o;17661:65::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17661:65:0;;:::o;18136:141::-;18214:10;;-1:-1:-1;;;;;18214:10:0;18200;:24;18192:48;;;;;-1:-1:-1;;;18192:48:0;;;;;;;;;;;;-1:-1:-1;;;18192:48:0;;;;;;;;;;;;;;;18251:7;:18;;-1:-1:-1;;;;;;18251:18:0;-1:-1:-1;;;;;18251:18:0;;;;;;;;;;18136:141::o;23632:181::-;-1:-1:-1;;;;;23723:14:0;;;;;;;:6;:14;;;;;;;23709:10;:28;23701:47;;;;;-1:-1:-1;;;23701:47:0;;;;;;;;;;;;-1:-1:-1;;;23701:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;23768:18:0;;;;;;;:10;:18;;;;;;;23759:46;;-1:-1:-1;;;23759:46:0;;;;;;;;;;23768:18;;;23759:37;;:46;;;;;23768:18;;23759:46;;;;;;23768:18;;23759:46;;;5:2:-1;;;;30:1;27;20:12;17502:23:0;;;-1:-1:-1;;;;;17502:23:0;;:::o;17814:26::-;;;;:::o;21035:192::-;21112:10;;-1:-1:-1;;;;;21112:10:0;21098;:24;;:52;;-1:-1:-1;21140:10:0;;-1:-1:-1;;;;;21140:10:0;21126;:24;21098:52;21090:76;;;;;-1:-1:-1;;;21090:76:0;;;;;;;;;;;;-1:-1:-1;;;21090:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21186:18:0;;;;;;;:10;:18;;;;;;;;;21177:42;;-1:-1:-1;;;21177:42:0;;;;21186:18;;;21177:40;;:42;;;;;21186:18;21177:42;;;;;;;21186:18;21177:42;;;5:2:-1;;;;30:1;27;20:12;5:2;21177:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21177:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;21035:192:0:o;4279:136::-;4337:7;4364:43;4368:1;4371;4364:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4357:50;;4279:136;;;;;:::o;12580:621::-;12950:10;;;12949:62;;-1:-1:-1;12966:39:0;;;-1:-1:-1;;;12966:39:0;;12990:4;12966:39;;;;-1:-1:-1;;;;;12966:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;12966:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12966:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12966:39:0;:44;12949:62;12941:152;;;;-1:-1:-1;;;12941:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13130:62;;;-1:-1:-1;;;;;13130:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13130:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;13104:89:0;;13123:5;;13104:18;:89::i;5195:471::-;5253:7;5498:6;5494:47;;-1:-1:-1;5528:1:0;5521:8;;5494:47;5565:5;;;5569:1;5565;:5;:1;5589:5;;;;;:10;5581:56;;;;-1:-1:-1;;;5581:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6134:132;6192:7;6219:39;6223:1;6226;6219:39;;;;;;;;;;;;;;;;;:3;:39::i;12184:176::-;12293:58;;;-1:-1:-1;;;;;12293:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12293:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12267:85:0;;12286:5;;12267:18;:85::i;4752:192::-;4838:7;4874:12;4866:6;;;;4858:29;;;;-1:-1:-1;;;4858:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4858:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4910:5:0;;;4752:192::o;14223:1114::-;14827:27;14835:5;-1:-1:-1;;;;;14827:25:0;;:27::i;:::-;14819:71;;;;;-1:-1:-1;;;14819:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14964:12;14978:23;15013:5;-1:-1:-1;;;;;15005:19:0;15025:4;15005:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15005:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14963:67:0;;;;15049:7;15041:52;;;;;-1:-1:-1;;;15041:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15110:17;;:21;15106:224;;15252:10;15241:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15241:30:0;15233:85;;;;-1:-1:-1;;;15233:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14223:1114;;;;:::o;6796:345::-;6882:7;6984:12;6977:5;6969:28;;;;-1:-1:-1;;;6969:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6969:28:0;;7008:9;7024:1;7020;:5;;;;;;;6796:345;-1:-1:-1;;;;;6796:345:0:o;9198:619::-;9258:4;9726:20;;9569:66;9766:23;;;;;;:42;;-1:-1:-1;9793:15:0;;;9766:42;9758:51;9198:619;-1:-1:-1;;;;9198:619:0:o

Swarm Source

bzzr://2ba977755677ae148c0bba3411a989d21477177badbe3f98443e662af373e641
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.