Contract 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 1

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x95fc1d8f6a18639d147346710760768e0f5942924a3e04fb614bde726da07e5696856992021-08-02 12:05:512 days 8 hrs ago0xa32db3a739751ca6ed8ba6d5837e8af6b5ac86a9 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xd9203f149f8425ae323075146a9ff541fe146a0c7bc4e2165f03b07a787a6b3e96619692021-08-01 15:40:313 days 4 hrs ago0x00c0487116e0a5cd7130e92dec13a777c9c8456e IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x1c218a400643b2237fda687a726e71b5b1be0cbfc6f78e0dbfd431965a8b929896550182021-08-01 9:34:223 days 10 hrs ago0xa0bf2dd5755846609a38c1d657275ba183f55bfe IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x9e17c99aa84a76668ec4e8a5efdabc6052cacd6d92cbfbb5b158f0ea2473bf1b95535192021-07-28 18:06:327 days 2 hrs ago0x9a44cec271a177856200d6464addfcf51aa150ea IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000628535
0x440c37f5686a2b603b19f9145f6b1c82d0ae589578a67dc4cfb67858a1783c0495534852021-07-28 18:04:497 days 2 hrs ago0x9a44cec271a177856200d6464addfcf51aa150ea IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xc727abf6d847f6895d361365e6d0f63797061d2ef1c33ef3a1ef07b5e85e5b7695350342021-07-28 1:06:397 days 19 hrs ago0x8355a6aba227ed4b85658a666ad34b53e85ff0c2 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000917985
0xc2bb05cd0df9c10c3a117b1451bad2e05057668682d01eed7f41e7741e7a13bb94482792021-07-24 22:05:0410 days 22 hrs ago0x3b7698f82e5188e6034a119a9e37eb1de18be775 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x750868ab64b7e6eef59986753d781caa6c5d3c89de15e7d0eb9d3301749059a894126082021-07-23 16:06:5812 days 4 hrs ago0x3b7eb39bfed36da5d66dc1163c11f3ed73780bb3 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xb199c12b7d6c2f73085c90550620802c093ed6d6f6fdd400b4a358a7504f78bb93888432021-07-22 20:13:1413 days 9 mins ago0xc0037bd6d85fbb75bbcc1d778fab74a429b14b12 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000917985
0x3239af210a140e4371157006f19246700e0b3debc0cbeb88af23461d05038e5293871322021-07-22 18:47:4113 days 1 hr ago0x6c1bd31f89bb6b5e1a0d3e2b910ceac18f3014e3 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x68dae67db56ebce89b9c203f72856591e9564a58a4aef935d7cbd59c1eb1811993546912021-07-21 15:45:1114 days 4 hrs ago0xbbc4d590089716f43fd9122141c05945ddedbd40 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000072855
0xa05bce4820c187944df29b4e192afcec66ece76b9afb38eb6c5278eb7d262ad493506692021-07-21 12:23:4614 days 7 hrs ago0xe8530841eae8a2d212ed3274458142e7621968ec IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x632282e9cc3abd8abf78721da54415f6f57c02549f52cd65025729a6914e927992435022021-07-17 19:01:1318 days 1 hr ago0x51d21fa4d2fec0d25e604b8f892358ac80dbecc0 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xb09a6ee108e9c282b96a9afc42db267fcacd913ae4c40f9123f403ecf40429aa91490872021-07-14 12:18:2421 days 8 hrs ago0x17522f558af245c44ec7af963db52e801da811cb IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xb6e23cfd3189e333a6a96ca7092ec3a20bad87731fa97e04336b1d8b7cb575c691490382021-07-14 12:15:5721 days 8 hrs ago0xa997499ed38fd5e3bb8848e0294f2c9fb2316e18 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xecf8d40457c8d692f635f897f5376d2d141452b7a18e5857afcf06587970573e91113752021-07-13 4:52:4822 days 15 hrs ago0x6c6b7bd85ef4dd5ce57700bf2fe7dc9c21ac04fb IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x4185c50360da0f7eaaa0333736cf21e7b9c027e567a827e9425cb72f955b372191043682021-07-12 23:02:2722 days 21 hrs ago0x861765eb2c465f4b6a5a89bb73bacddcf4f6305a IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xaa854a95fb052ddb53465badb82bb0bf9487f524799d927556576ef30354979790925652021-07-12 13:12:1723 days 7 hrs ago0xbb5ac0630d1dc6cb52230cc471b11776ca0f7361 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.001191582
0xaa3d93783fa3e978a0c6408c02e96919a29e0a2e991d4cfb684580097d338e1690763392021-07-11 23:40:5923 days 20 hrs ago0x0a05ee8b508ce3a32c74549553a50f5ec974509c IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x747ee9b4689e5ed1795a124a79b814664edc1a2c1a948dcadcbf87fbc18f65d790763282021-07-11 23:40:2623 days 20 hrs ago0x49e99429526da73199540613a38f27d610db7a85 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xba3493a777214769e72de9d99086bbad46ca98e8e0ff3775abf7077563bea95290763122021-07-11 23:39:3823 days 20 hrs ago0xa00f1009f8fa050ddc5077d399ec140bba7ec7c0 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0x1443e46b51d5d7a994490aa10a18ce92473b06e47086571b972985f484f96ffa90666062021-07-11 15:34:0324 days 4 hrs ago0xc702f6918cfdbde7d9e10656e4dd3e899fbf54bf IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xf655f8bd93288c82cc1bde77a406bce79c98b0a85988ee59ddb7e61a8525bd1390579472021-07-11 8:21:0624 days 12 hrs ago0x91ea69ac87f2b60167a27a3a27680ce951e8d186 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xca5c2b98af80cea46579dbf47d8887ebc554b10721c490b235653ecc800a83c390463552021-07-10 22:41:3024 days 21 hrs ago0xdf9e046bf6bb9c69a9e05e0f1d907d9b6eb31bf9 IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
0xa1548461327296ea2cb98b0f90c99ba2663369a710c0354ec43f0130428fe76d90313722021-07-10 10:12:1825 days 10 hrs ago0xeaecf909016536381f12b0b088e6bd9b78ec2b8a IN  0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB0.000992985
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xec8907d9056d47afa2700f8c68287ac0bad4cbe422e73bfb4d9069db2343c74f54712862021-03-07 11:57:15150 days 8 hrs ago 0x7fcfd0ceb5e9bd1a8b910b52983fe9c8ab656e20 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB
0xbd3fdc4de6cbc389e7f3634ef819688598f3d83e48d68d5237c471f6c14285ac54712782021-03-07 11:56:51150 days 8 hrs ago 0x7fcfd0ceb5e9bd1a8b910b52983fe9c8ab656e20 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB
0x62ef5b80d25e773fa655e5ef02ad9b9b668e98e7fb59bdc5bf217fe867af80d354712362021-03-07 11:54:45150 days 8 hrs ago 0x7fcfd0ceb5e9bd1a8b910b52983fe9c8ab656e20 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde4200 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0x6bfa16943e1c4ea7c8b28b460afc528be708122eb5cbf39a8bace1acc120443a54712092021-03-07 11:53:24150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0xab41fbfd2ea46473f25e866036a17a59c03a5b1819b0cefe52f8efd215fa0abc54711982021-03-07 11:52:51150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 Cardano: ADA Token0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
0xfeccac38f6e273a8b4df1320f87df541141336c1d60c0877d2678e7903e9bedb54711862021-03-07 11:52:15150 days 8 hrs ago 0x53c0ce2ebda0c2a39327be0b58a3c28a8dcde420 0xf9d0e760a71991ac65c9919898c09a3648e62ebb0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeefyVenusVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-05
*/

/**
 *Submitted for verification at BscScan.com on 2020-12-17
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity ^0.6.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;

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

/**
 * @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.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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


pragma solidity ^0.6.2;

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


pragma solidity ^0.6.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;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _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/token/ERC20/SafeERC20.sol


pragma solidity ^0.6.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/access/Ownable.sol


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

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

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

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

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

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


pragma solidity ^0.6.0;

interface IVenusStrategy {
    function want() external view returns (address);
    function deposit() external;
    function withdraw(uint256) external;
    function updateBalance() external;
    function balanceOf() external view returns (uint256);
    function retireStrat() external;
    function harvest() external;
}

// File: contracts/BIFI/vaults/BeefyVenusVault.sol


pragma solidity ^0.6.0;







/**
 * @title BeefyVault
 * @author sirbeefalot & superbeefyboy
 * @dev Implementation of a custom vault to deposit any BEP20 which has an available
 * market on the Venus lending platform. Deposited tokens are used in optimized leveraged lending. 
 * This is the contract that receives funds and that users interface with.
 * The yield optimizing strategy itself is implemented in a separate contract.
 */
contract BeefyVenusVault is ERC20, Ownable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    struct StratCandidate {
        address implementation;
        uint proposedTime;
    }

    // The last proposed strategy to switch to.
    StratCandidate public stratCandidate; 
    // The strategy currently in use by the vault.
    address public strategy;
    // The token the vault accepts and looks to maximize.
    IERC20 public token;
    // The minimum time it has to pass before a strat candidate can be approved.
    uint256 public immutable approvalDelay;

    event NewStratCandidate(address implementation);
    event UpgradeStrat(address implementation);
    
    /**
     * @dev It initializes the vault's own 'moo' token.
     * This token acts as vault 'shares'. It's minted when someone deposits and it's 
     * burned in order to withdraw the corresponding portion of the underlying {token}.
     * @param _strategy the address of the strategy.
     * @param _token the deposit token that the vault maximizes.
     * @param _name the name of the vault token.
     * @param _symbol the symbol of the vault token.
     * @param _approvalDelay the delay before a new strat can be approved.
     */
    constructor (
        address _strategy, 
        address _token,
        string memory _name, 
        string memory _symbol, 
        uint256 _approvalDelay
    ) public ERC20(
        string(_name),
        string(_symbol)
    ) {
        token = IERC20(_token);
        strategy = _strategy;
        approvalDelay = _approvalDelay;
    }

    /**
     * @dev It calculates the total underlying value of {token} held by the system.
     * It takes into account the vault contract balance, the strategy contract balance
     * and the balance deployed in other contracts as part of the strategy.
     */
    function balance() public view returns (uint256) {
        return token.balanceOf(address(this)).add(IVenusStrategy(strategy).balanceOf());
    }

    /**
     * @dev Custom logic in here for how much the vault allows to be borrowed.
     * We return 100% of tokens for now. Under certain conditions we might
     * want to keep some of the system funds at hand in the vault, instead
     * of putting them to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @dev Function for various UIs to display the current value of one of our yield tokens.
     * Returns an uint256 with 18 decimals of how much underlying asset one vault share represents.
     */
    function getPricePerFullShare() public view returns (uint256) {
        return balance().mul(1e18).div(totalSupply());
    }

    /**
     * @dev A helper function to call deposit() with all the sender's funds.
     */
    function depositAll() external {
        deposit(token.balanceOf(msg.sender));
    }

    /**
     * @dev The entry point of funds into the system. People deposit with this function
     * into the vault. The vault is then in charge of sending funds into the strategy.
     */
    function deposit(uint _amount) public {
        IVenusStrategy(strategy).updateBalance();

        uint256 _pool = balance();
        token.safeTransferFrom(msg.sender, address(this), _amount);

        uint256 shares = 0;
        if (totalSupply() == 0) {
            shares = _amount;
        } else {
            shares = (_amount.mul(totalSupply())).div(_pool);
        }
        _mint(msg.sender, shares);

        earn();
    }

    /**
     * @dev Function to send funds into the strategy and put them to work. It's primarily called
     * by the vault's deposit() function.
     */
    function earn() public {
        uint _bal = available();
        token.safeTransfer(strategy, _bal);
        IVenusStrategy(strategy).deposit();
    }

    /**
     * @dev A helper function to call withdraw() with all the sender's funds.
     */
    function withdrawAll() external {
        withdraw(balanceOf(msg.sender));
    }

    /**
     * @dev Function to exit the system. The vault will withdraw the required tokens
     * from the strategy and pay up the token holder. A proportional number of IOU
     * tokens are burned in the process.
     */
    function withdraw(uint256 _shares) public {
        IVenusStrategy(strategy).updateBalance();

        uint256 r = (balance().mul(_shares)).div(totalSupply());
        _burn(msg.sender, _shares);

        uint256 b = token.balanceOf(address(this));
        if (b < r) {
            uint256 _withdraw = r.sub(b);
            IVenusStrategy(strategy).withdraw(_withdraw);
            uint256 _after = token.balanceOf(address(this));
            uint256 _diff = _after.sub(b);
            if (_diff < _withdraw) {
                r = b.add(_diff);
            }
        }

        token.safeTransfer(msg.sender, r);
    }

    /** 
     * @dev Sets the candidate for the new strat to use with this vault.
     * @param _implementation The address of the candidate strategy.  
     */
    function proposeStrat(address _implementation) public onlyOwner {
        stratCandidate = StratCandidate({ 
            implementation: _implementation,
            proposedTime: block.timestamp
         });

        emit NewStratCandidate(_implementation);
    }

    /** 
     * @dev It switches the active strat for the strat candidate. You have to call 'retireStrat'
     * in the strategy contract before. This pauses the old strat and makes sure that all the old 
     * strategy funds are sent back to this vault before switching strats. When upgrading, the 
     * candidate implementation is set to the 0x00 address, and proposedTime to a time happening in +100 years for safety. 
     */

    function upgradeStrat() public onlyOwner {
        require(stratCandidate.implementation != address(0), "There is no candidate");
        require(stratCandidate.proposedTime.add(approvalDelay) < block.timestamp, "Delay has not passed");
        
        emit UpgradeStrat(stratCandidate.implementation);

        IVenusStrategy(strategy).retireStrat();
        strategy = stratCandidate.implementation;
        stratCandidate.implementation = address(0);
        stratCandidate.proposedTime = 5000000000;
        
        earn();
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_approvalDelay","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"implementation","type":"address"}],"name":"NewStratCandidate","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":false,"internalType":"address","name":"implementation","type":"address"}],"name":"UpgradeStrat","type":"event"},{"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":[],"name":"approvalDelay","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":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"proposeStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stratCandidate","outputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"uint256","name":"proposedTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","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":"contract IERC20","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":[],"name":"upgradeStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200366d3803806200366d833981810160405260a08110156200003757600080fd5b810190808051906020019092919080519060200190929190805160405193929190846401000000008211156200006c57600080fd5b838201915060208201858111156200008357600080fd5b8251866001820283011164010000000082111715620000a157600080fd5b8083526020830192505050908051906020019080838360005b83811015620000d7578082015181840152602081019050620000ba565b50505050905090810190601f168015620001055780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200012957600080fd5b838201915060208201858111156200014057600080fd5b82518660018202830111640100000000821117156200015e57600080fd5b8083526020830192505050908051906020019080838360005b838110156200019457808201518184015260208101905062000177565b50505050905090810190601f168015620001c25780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919050505082828160039080519060200190620001f092919062000376565b5080600490805190602001906200020992919062000376565b506012600560006101000a81548160ff021916908360ff160217905550505060006200023a6200036e60201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35083600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806080818152505050505050506200041c565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003b957805160ff1916838001178555620003ea565b82800160010185558215620003ea579182015b82811115620003e9578251825591602001919060010190620003cc565b5b509050620003f99190620003fd565b5090565b5b8082111562000418576000816000905550600101620003fe565b5090565b6080516132316200043c600039806119fd5280611bb752506132316000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063d389800f11610097578063e2d1e75c11610071578063e2d1e75c146107b7578063e6685244146107d5578063f2fde38b146107df578063fc0c546a14610823576101c4565b8063d389800f1461072b578063dd62ed3e14610735578063de5f6268146107ad576101c4565b8063a8c62e76116100d3578063a8c62e7614610647578063a9059cbb1461067b578063b69ef8a8146106df578063b6b55f25146106fd576101c4565b80638da5cb5b1461052c57806395d89b4114610560578063a457c2d7146105e3576101c4565b806348a0d75411610166578063715018a611610140578063715018a6146104bf57806376dfabb8146104c957806377c7b8fc14610504578063853828b614610522576101c4565b806348a0d754146104055780635b12ff9b1461042357806370a0823114610467576101c4565b806323b872dd116101a257806323b872dd146102ce5780632e1a7d4d14610352578063313ce5671461038057806339509351146103a1576101c4565b806306fdde03146101c9578063095ea7b31461024c57806318160ddd146102b0575b600080fd5b6101d1610857565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102115780820151818401526020810190506101f6565b50505050905090810190601f16801561023e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102986004803603604081101561026257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108f9565b60405180821515815260200191505060405180910390f35b6102b8610917565b6040518082815260200191505060405180910390f35b61033a600480360360608110156102e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610921565b60405180821515815260200191505060405180910390f35b61037e6004803603602081101561036857600080fd5b81019080803590602001909291905050506109fa565b005b610388610d84565b604051808260ff16815260200191505060405180910390f35b6103ed600480360360408110156103b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d9b565b60405180821515815260200191505060405180910390f35b61040d610e4e565b6040518082815260200191505060405180910390f35b6104656004803603602081101561043957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f19565b005b6104a96004803603602081101561047d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110b4565b6040518082815260200191505060405180910390f35b6104c76110fc565b005b6104d1611287565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b61050c6112b9565b6040518082815260200191505060405180910390f35b61052a6112fb565b005b61053461130e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610568611338565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105a857808201518184015260208101905061058d565b50505050905090810190601f1680156105d55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61062f600480360360408110156105f957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113da565b60405180821515815260200191505060405180910390f35b61064f6114a7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106c76004803603604081101561069157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114cd565b60405180821515815260200191505060405180910390f35b6106e76114eb565b6040518082815260200191505060405180910390f35b6107296004803603602081101561071357600080fd5b810190808035906020019092919050505061166a565b005b6107336117a6565b005b6107976004803603604081101561074b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118a6565b6040518082815260200191505060405180910390f35b6107b561192d565b005b6107bf6119fb565b6040518082815260200191505060405180910390f35b6107dd611a1f565b005b610821600480360360208110156107f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e15565b005b61082b612025565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108ef5780601f106108c4576101008083540402835291602001916108ef565b820191906000526020600020905b8154815290600101906020018083116108d257829003601f168201915b5050505050905090565b600061090d61090661204b565b8484612053565b6001905092915050565b6000600254905090565b600061092e84848461224a565b6109ef8461093a61204b565b6109ea8560405180606001604052806028815260200161311b60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109a061204b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250b9092919063ffffffff16565b612053565b600190509392505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9559dd76040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a6457600080fd5b505af1158015610a78573d6000803e3d6000fd5b505050506000610ab1610a89610917565b610aa384610a956114eb565b6125cb90919063ffffffff16565b61265190919063ffffffff16565b9050610abd338361269b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610b4857600080fd5b505afa158015610b5c573d6000803e3d6000fd5b505050506040513d6020811015610b7257600080fd5b8101908080519060200190929190505050905081811015610d32576000610ba2828461285f90919063ffffffff16565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b505050506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d6020811015610ce657600080fd5b810190808051906020019092919050505090506000610d0e848361285f90919063ffffffff16565b905082811015610d2e57610d2b81856128a990919063ffffffff16565b94505b5050505b610d7f3383600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129319092919063ffffffff16565b505050565b6000600560009054906101000a900460ff16905090565b6000610e44610da861204b565b84610e3f8560016000610db961204b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128a990919063ffffffff16565b612053565b6001905092915050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ed957600080fd5b505afa158015610eed573d6000803e3d6000fd5b505050506040513d6020811015610f0357600080fd5b8101908080519060200190929190505050905090565b610f2161204b565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60405180604001604052808273ffffffffffffffffffffffffffffffffffffffff16815260200142815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050507f1aae2ec5647db56da2d513de40528ba3565c6057525637050660c4323bbac7df81604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61110461204b565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60068060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60006112f66112c6610917565b6112e8670de0b6b3a76400006112da6114eb565b6125cb90919063ffffffff16565b61265190919063ffffffff16565b905090565b61130c611307336110b4565b6109fa565b565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113d05780601f106113a5576101008083540402835291602001916113d0565b820191906000526020600020905b8154815290600101906020018083116113b357829003601f168201915b5050505050905090565b600061149d6113e761204b565b84611498856040518060600160405280602581526020016131d7602591396001600061141161204b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250b9092919063ffffffff16565b612053565b6001905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006114e16114da61204b565b848461224a565b6001905092915050565b6000611665600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663722713f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561155857600080fd5b505afa15801561156c573d6000803e3d6000fd5b505050506040513d602081101561158257600080fd5b8101908080519060200190929190505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561161c57600080fd5b505afa158015611630573d6000803e3d6000fd5b505050506040513d602081101561164657600080fd5b81019080805190602001909291905050506128a990919063ffffffff16565b905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9559dd76040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156116d457600080fd5b505af11580156116e8573d6000803e3d6000fd5b5050505060006116f66114eb565b9050611747333084600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129d3909392919063ffffffff16565b600080611752610917565b14156117605782905061178f565b61178c8261177e61176f610917565b866125cb90919063ffffffff16565b61265190919063ffffffff16565b90505b6117993382612a94565b6117a16117a6565b505050565b60006117b0610e4e565b9050611821600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129319092919063ffffffff16565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561188b57600080fd5b505af115801561189f573d6000803e3d6000fd5b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6119f9600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119b957600080fd5b505afa1580156119cd573d6000803e3d6000fd5b505050506040513d60208110156119e357600080fd5b810190808051906020019092919050505061166a565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a2761204b565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ae9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611bb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f5468657265206973206e6f2063616e646964617465000000000000000000000081525060200191505060405180910390fd5b42611bea7f00000000000000000000000000000000000000000000000000000000000000006006600101546128a990919063ffffffff16565b10611c5d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f44656c617920686173206e6f742070617373656400000000000000000000000081525060200191505060405180910390fd5b7f7f37d440e85aba7fbf641c4bda5ca4ef669a80bffaacde2aa8d9feb1b048c82c600660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fb6177876040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611d3957600080fd5b505af1158015611d4d573d6000803e3d6000fd5b50505050600660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555064012a05f200600660010181905550611e136117a6565b565b611e1d61204b565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611edf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061308c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806131896024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561215f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806130b26022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806131646025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612356576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806130476023913960400191505060405180910390fd5b612361838383612c5b565b6123cc816040518060600160405280602681526020016130d4602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250b9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061245f816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128a990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561257d578082015181840152602081019050612562565b50505050905090810190601f1680156125aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000808314156125de576000905061264b565b60008284029050828482816125ef57fe5b0414612646576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806130fa6021913960400191505060405180910390fd5b809150505b92915050565b600061269383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c60565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806131436021913960400191505060405180910390fd5b61272d82600083612c5b565b6127988160405180606001604052806022815260200161306a602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250b9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127ef8160025461285f90919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b60006128a183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061250b565b905092915050565b600080828401905083811015612927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6129ce8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612d26565b505050565b612a8e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612d26565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b612b4360008383612c5b565b612b58816002546128a990919063ffffffff16565b600281905550612baf816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128a990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b60008083118290612d0c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cd1578082015181840152602081019050612cb6565b50505050905090810190601f168015612cfe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612d1857fe5b049050809150509392505050565b6060612d88826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e159092919063ffffffff16565b9050600081511115612e1057808060200190516020811015612da957600080fd5b8101908080519060200190929190505050612e0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806131ad602a913960400191505060405180910390fd5b5b505050565b6060612e248484600085612e2d565b90509392505050565b6060612e3885613033565b612eaa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612efa5780518252602082019150602081019050602083039250612ed7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612f5c576040519150601f19603f3d011682016040523d82523d6000602084013e612f61565b606091505b50915091508115612f7657809250505061302b565b600081511115612f895780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ff0578082015181840152602081019050612fd5565b50505050905090810190601f16801561301d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220923e662e2e702d60d597f552c391ff5ee44880aaecc2c059a13eb48226e3819364736f6c634300060c0033000000000000000000000000f9d0e760a71991ac65c9919898c09a3648e62ebb0000000000000000000000003ee2200efb3400fabb9aacf31297cbdd1d435d4700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000000d4d6f6f2056656e75732041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6d6f6f56656e7573414441000000000000000000000000000000000000000000

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

000000000000000000000000f9d0e760a71991ac65c9919898c09a3648e62ebb0000000000000000000000003ee2200efb3400fabb9aacf31297cbdd1d435d4700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000000d4d6f6f2056656e75732041444100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6d6f6f56656e7573414441000000000000000000000000000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000f9d0e760a71991ac65c9919898c09a3648e62ebb
Arg [1] : 0000000000000000000000003ee2200efb3400fabb9aacf31297cbdd1d435d47
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [6] : 4d6f6f2056656e75732041444100000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 6d6f6f56656e7573414441000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

33266:6488:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17498:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19604:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18573:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20247:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37675:636;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18425:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;20977:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35632:107;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38484:271;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18736:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31776:148;;;:::i;:::-;;33564:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;35961:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37355:82;;;:::i;:::-;;31134:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;17700:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21698:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33660:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19068:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35194:147;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36480:448;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37095:155;;;:::i;:::-;;19306:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36191:86;;;:::i;:::-;;33857:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39204:547;;;:::i;:::-;;32079:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33749:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;17498:83;17535:13;17568:5;17561:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17498:83;:::o;19604:169::-;19687:4;19704:39;19713:12;:10;:12::i;:::-;19727:7;19736:6;19704:8;:39::i;:::-;19761:4;19754:11;;19604:169;;;;:::o;18573:100::-;18626:7;18653:12;;18646:19;;18573:100;:::o;20247:321::-;20353:4;20370:36;20380:6;20388:9;20399:6;20370:9;:36::i;:::-;20417:121;20426:6;20434:12;:10;:12::i;:::-;20448:89;20486:6;20448:89;;;;;;;;;;;;;;;;;:11;:19;20460:6;20448:19;;;;;;;;;;;;;;;:33;20468:12;:10;:12::i;:::-;20448:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;20417:8;:121::i;:::-;20556:4;20549:11;;20247:321;;;;;:::o;37675:636::-;37743:8;;;;;;;;;;;37728:38;;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37781:9;37793:43;37822:13;:11;:13::i;:::-;37794:22;37808:7;37794:9;:7;:9::i;:::-;:13;;:22;;;;:::i;:::-;37793:28;;:43;;;;:::i;:::-;37781:55;;37847:26;37853:10;37865:7;37847:5;:26::i;:::-;37886:9;37898:5;;;;;;;;;;;:15;;;37922:4;37898:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37886:42;;37947:1;37943;:5;37939:319;;;37965:17;37985:8;37991:1;37985;:5;;:8;;;;:::i;:::-;37965:28;;38023:8;;;;;;;;;;;38008:33;;;38042:9;38008:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38067:14;38084:5;;;;;;;;;;;:15;;;38108:4;38084:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38067:47;;38129:13;38145;38156:1;38145:6;:10;;:13;;;;:::i;:::-;38129:29;;38185:9;38177:5;:17;38173:74;;;38219:12;38225:5;38219:1;:5;;:12;;;;:::i;:::-;38215:16;;38173:74;37939:319;;;;38270:33;38289:10;38301:1;38270:5;;;;;;;;;;;:18;;;;:33;;;;;:::i;:::-;37675:636;;;:::o;18425:83::-;18466:5;18491:9;;;;;;;;;;;18484:16;;18425:83;:::o;20977:218::-;21065:4;21082:83;21091:12;:10;:12::i;:::-;21105:7;21114:50;21153:10;21114:11;:25;21126:12;:10;:12::i;:::-;21114:25;;;;;;;;;;;;;;;:34;21140:7;21114:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;21082:8;:83::i;:::-;21183:4;21176:11;;20977:218;;;;:::o;35632:107::-;35674:7;35701:5;;;;;;;;;;;:15;;;35725:4;35701:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35694:37;;35632:107;:::o;38484:271::-;31356:12;:10;:12::i;:::-;31346:22;;:6;;;;;;;;;;;:22;;;31338:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38576:119:::1;;;;;;;;38623:15;38576:119;;;;;;38667:15;38576:119;;::::0;38559:14:::1;:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38713:34;38731:15;38713:34;;;;;;;;;;;;;;;;;;;;38484:271:::0;:::o;18736:119::-;18802:7;18829:9;:18;18839:7;18829:18;;;;;;;;;;;;;;;;18822:25;;18736:119;;;:::o;31776:148::-;31356:12;:10;:12::i;:::-;31346:22;;:6;;;;;;;;;;;:22;;;31338:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31883:1:::1;31846:40;;31867:6;;;;;;;;;;;31846:40;;;;;;;;;;;;31914:1;31897:6;;:19;;;;;;;;;;;;;;;;;;31776:148::o:0;33564:36::-;;;;;;;;;;;;;;;;;;;;;;;:::o;35961:126::-;36014:7;36041:38;36065:13;:11;:13::i;:::-;36041:19;36055:4;36041:9;:7;:9::i;:::-;:13;;:19;;;;:::i;:::-;:23;;:38;;;;:::i;:::-;36034:45;;35961:126;:::o;37355:82::-;37398:31;37407:21;37417:10;37407:9;:21::i;:::-;37398:8;:31::i;:::-;37355:82::o;31134:79::-;31172:7;31199:6;;;;;;;;;;;31192:13;;31134:79;:::o;17700:87::-;17739:13;17772:7;17765:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17700:87;:::o;21698:269::-;21791:4;21808:129;21817:12;:10;:12::i;:::-;21831:7;21840:96;21879:15;21840:96;;;;;;;;;;;;;;;;;:11;:25;21852:12;:10;:12::i;:::-;21840:25;;;;;;;;;;;;;;;:34;21866:7;21840:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;21808:8;:129::i;:::-;21955:4;21948:11;;21698:269;;;;:::o;33660:23::-;;;;;;;;;;;;;:::o;19068:175::-;19154:4;19171:42;19181:12;:10;:12::i;:::-;19195:9;19206:6;19171:9;:42::i;:::-;19231:4;19224:11;;19068:175;;;;:::o;35194:147::-;35234:7;35261:72;35311:8;;;;;;;;;;;35296:34;;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35261:5;;;;;;;;;;;:15;;;35285:4;35261:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:34;;:72;;;;:::i;:::-;35254:79;;35194:147;:::o;36480:448::-;36544:8;;;;;;;;;;;36529:38;;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36582:13;36598:9;:7;:9::i;:::-;36582:25;;36618:58;36641:10;36661:4;36668:7;36618:5;;;;;;;;;;;:22;;;;:58;;;;;;:::i;:::-;36689:14;36739:1;36722:13;:11;:13::i;:::-;:18;36718:148;;;36766:7;36757:16;;36718:148;;;36815:39;36848:5;36816:26;36828:13;:11;:13::i;:::-;36816:7;:11;;:26;;;;:::i;:::-;36815:32;;:39;;;;:::i;:::-;36806:48;;36718:148;36876:25;36882:10;36894:6;36876:5;:25::i;:::-;36914:6;:4;:6::i;:::-;36480:448;;;:::o;37095:155::-;37129:9;37141:11;:9;:11::i;:::-;37129:23;;37163:34;37182:8;;;;;;;;;;;37192:4;37163:5;;;;;;;;;;;:18;;;;:34;;;;;:::i;:::-;37223:8;;;;;;;;;;;37208:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37095:155;:::o;19306:151::-;19395:7;19422:11;:18;19434:5;19422:18;;;;;;;;;;;;;;;:27;19441:7;19422:27;;;;;;;;;;;;;;;;19415:34;;19306:151;;;;:::o;36191:86::-;36233:36;36241:5;;;;;;;;;;;:15;;;36257:10;36241:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36233:7;:36::i;:::-;36191:86::o;33857:38::-;;;:::o;39204:547::-;31356:12;:10;:12::i;:::-;31346:22;;:6;;;;;;;;;;;:22;;;31338:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39305:1:::1;39264:43;;:14;:29;;;;;;;;;;;;:43;;;;39256:77;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;39401:15;39352:46;39384:13;39352:14;:27;;;:31;;:46;;;;:::i;:::-;:64;39344:97;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;39467:43;39480:14;:29;;;;;;;;;;;;39467:43;;;;;;;;;;;;;;;;;;;;39538:8;;;;;;;;;;;39523:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;39583:14;:29;;;;;;;;;;;;39572:8;;:40;;;;;;;;;;;;;;;;;;39663:1;39623:14;:29;;;:42;;;;;;;;;;;;;;;;;;39706:10;39676:14;:27;;:40;;;;39737:6;:4;:6::i;:::-;39204:547::o:0;32079:244::-;31356:12;:10;:12::i;:::-;31346:22;;:6;;;;;;;;;;;:22;;;31338:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32188:1:::1;32168:22;;:8;:22;;;;32160:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32278:8;32249:38;;32270:6;;;;;;;;;;;32249:38;;;;;;;;;;;;32307:8;32298:6;;:17;;;;;;;;;;;;;;;;;;32079:244:::0;:::o;33749:19::-;;;;;;;;;;;;;:::o;727:106::-;780:15;815:10;808:17;;727:106;:::o;24843:346::-;24962:1;24945:19;;:5;:19;;;;24937:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25043:1;25024:21;;:7;:21;;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25127:6;25097:11;:18;25109:5;25097:18;;;;;;;;;;;;;;;:27;25116:7;25097:27;;;;;;;;;;;;;;;:36;;;;25165:7;25149:32;;25158:5;25149:32;;;25174:6;25149:32;;;;;;;;;;;;;;;;;;24843:346;;;:::o;22457:539::-;22581:1;22563:20;;:6;:20;;;;22555:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22665:1;22644:23;;:9;:23;;;;22636:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22720:47;22741:6;22749:9;22760:6;22720:20;:47::i;:::-;22800:71;22822:6;22800:71;;;;;;;;;;;;;;;;;:9;:17;22810:6;22800:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;22780:9;:17;22790:6;22780:17;;;;;;;;;;;;;;;:91;;;;22905:32;22930:6;22905:9;:20;22915:9;22905:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;22882:9;:20;22892:9;22882:20;;;;;;;;;;;;;;;:55;;;;22970:9;22953:35;;22962:6;22953:35;;;22981:6;22953:35;;;;;;;;;;;;;;;;;;22457:539;;;:::o;5708:192::-;5794:7;5827:1;5822;:6;;5830:12;5814:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5854:9;5870:1;5866;:5;5854:17;;5891:1;5884:8;;;5708:192;;;;;:::o;6159:471::-;6217:7;6467:1;6462;:6;6458:47;;;6492:1;6485:8;;;;6458:47;6517:9;6533:1;6529;:5;6517:17;;6562:1;6557;6553;:5;;;;;;:10;6545:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6621:1;6614:8;;;6159:471;;;;;:::o;7106:132::-;7164:7;7191:39;7195:1;7198;7191:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;7184:46;;7106:132;;;;:::o;23987:418::-;24090:1;24071:21;;:7;:21;;;;24063:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24143:49;24164:7;24181:1;24185:6;24143:20;:49::i;:::-;24226:68;24249:6;24226:68;;;;;;;;;;;;;;;;;:9;:18;24236:7;24226:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;24205:9;:18;24215:7;24205:18;;;;;;;;;;;;;;;:89;;;;24320:24;24337:6;24320:12;;:16;;:24;;;;:::i;:::-;24305:12;:39;;;;24386:1;24360:37;;24369:7;24360:37;;;24390:6;24360:37;;;;;;;;;;;;;;;;;;23987:418;;:::o;5269:136::-;5327:7;5354:43;5358:1;5361;5354:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;5347:50;;5269:136;;;;:::o;4805:181::-;4863:7;4883:9;4899:1;4895;:5;4883:17;;4924:1;4919;:6;;4911:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4977:1;4970:8;;;4805:181;;;;:::o;26969:177::-;27052:86;27072:5;27102:23;;;27127:2;27131:5;27079:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27052:19;:86::i;:::-;26969:177;;;:::o;27154:205::-;27255:96;27275:5;27305:27;;;27334:4;27340:2;27344:5;27282:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27255:19;:96::i;:::-;27154:205;;;;:::o;23277:378::-;23380:1;23361:21;;:7;:21;;;;23353:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23431:49;23460:1;23464:7;23473:6;23431:20;:49::i;:::-;23508:24;23525:6;23508:12;;:16;;:24;;;;:::i;:::-;23493:12;:39;;;;23564:30;23587:6;23564:9;:18;23574:7;23564:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;23543:9;:18;23553:7;23543:18;;;;;;;;;;;;;;;:51;;;;23631:7;23610:37;;23627:1;23610:37;;;23640:6;23610:37;;;;;;;;;;;;;;;;;;23277:378;;:::o;26214:92::-;;;;:::o;7734:278::-;7820:7;7852:1;7848;:5;7855:12;7840:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7879:9;7895:1;7891;:5;;;;;;7879:17;;8003:1;7996:8;;;7734:278;;;;;:::o;29274:761::-;29698:23;29724:69;29752:4;29724:69;;;;;;;;;;;;;;;;;29732:5;29724:27;;;;:69;;;;;:::i;:::-;29698:95;;29828:1;29808:10;:17;:21;29804:224;;;29950:10;29939:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29931:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29804:224;29274:761;;;:::o;12947:196::-;13050:12;13082:53;13105:6;13113:4;13119:1;13122:12;13082:22;:53::i;:::-;13075:60;;12947:196;;;;;:::o;14324:979::-;14454:12;14487:18;14498:6;14487:10;:18::i;:::-;14479:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14613:12;14627:23;14654:6;:11;;14674:8;14685:4;14654:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14612:78;;;;14705:7;14701:595;;;14736:10;14729:17;;;;;;14701:595;14870:1;14850:10;:17;:21;14846:439;;;15113:10;15107:17;15174:15;15161:10;15157:2;15153:19;15146:44;15061:148;15256:12;15249:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14324:979;;;;;;;:::o;10029:422::-;10089:4;10297:12;10408:7;10396:20;10388:28;;10442:1;10435:4;:8;10428:15;;;10029:422;;;:::o

Swarm Source

ipfs://923e662e2e702d60d597f552c391ff5ee44880aaecc2c059a13eb48226e38193
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.