Contract 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago0x7f5372735e5f5338582d1f32a586e4b423ad6999 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.0017565
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago0x77ec487ae74d1dbd6b4f58699b389f2aab405424 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00218052
0xd826198d2536869eb154d29629f4079af33500a3aaa495535594265365bdf56038953502021-01-11 11:47:555 days 21 hrs ago0x90295cb1998c0260298964b92c2d547a73e8027d IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00134176
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago0x90295cb1998c0260298964b92c2d547a73e8027d IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00188052
0x0f57b92c3dfcdbda3a351b4e35a825def58e79dd703e91e680dc7ba148dbd83d38405432021-01-09 14:07:237 days 19 hrs ago0xbdc1e8a238572e8e282b791e993f571bf8640d83 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.0014356832
0x0a90bf287c0f4c2e93249232f621a8e2c85add868ac96ea1044ae252200d474038217542021-01-08 22:27:338 days 11 hrs ago0x41278fba5153e38591b08737cbd32d585b7467bc IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00134176
0xb51d278bba76cc3f8040a22635d2c6e4d4fc84278a3923462b954778957e850038217322021-01-08 22:26:278 days 11 hrs ago0x41278fba5153e38591b08737cbd32d585b7467bc IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00250324
0x5b456f6ee4cac9aeb76d419ce795ad51331157ec45058c4f06b1ce6457be3dc738128722021-01-08 15:02:558 days 18 hrs ago0x6baded2278a554e18a52f21f0c75cbb251149fdf IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00218052
0x243ce7169101daa7b8c89a7a45ae2bf629318ab7cf0be07988d9bcfc5f67184037808882021-01-07 12:23:439 days 21 hrs ago0x2e7f15b69ad2d295acf569f560d04761d93f1bda IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00175626
0xc9414ea8c564d274ca97eba582cd32e53eb6735d1a32a47ea48b8cbce395f2ff37762832021-01-07 8:32:2910 days 1 hr ago0x572dfa4d355a27d63a9faebcb055ca6826430d5a IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.001342
0x51d53ae4dbb707f8a9970a08e1c2fa3ba4e72b9b1f792bcf63fc0c0c01e6407137762442021-01-07 8:30:3210 days 1 hr ago0x572dfa4d355a27d63a9faebcb055ca6826430d5a IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00138202
0x89056d3ea2eea7abad21a95d66a77254cd0b19f14134f63e86dac34e0588d15b37743932021-01-07 6:57:5910 days 2 hrs ago0xda618acafb8dc5203764061955e0d5100f49ea17 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00175626
0x4c082b0c015483834f0c65c65b494a5c4cb07a7a38ba22f0bd7a1d49ca09563a37679062021-01-07 1:33:3810 days 8 hrs ago0x225b9df8c6d42a512254be7e91ffd5d4d3952189 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00134176
0x834307cde09edeb43871532eda33fbb7b6315a5a5a8b625e47ccafa69eb2b5de37643032021-01-06 22:33:2910 days 11 hrs ago0xda6c655457e6d51ccfb00840f1ca0949f1dab647 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00188052
0xa777bada1a181a21b6c886ccc9232daf0c7b9f9132f288c9208865888088afad37587802021-01-06 17:57:2010 days 15 hrs ago0x225b9df8c6d42a512254be7e91ffd5d4d3952189 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00188052
0xc8ee39f14657a773e85e45702c615eecb31bdc5692b420caa410b65f7b8846bc37585162021-01-06 17:44:0810 days 15 hrs ago0xbdc1e8a238572e8e282b791e993f571bf8640d83 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00188052
0x4b6e663accc36b345012694aab22a579aa432f10eb07beadad1d7fd3db9e0b0937266632021-01-05 15:11:0311 days 18 hrs ago0x572dfa4d355a27d63a9faebcb055ca6826430d5a IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00218052
0x86d9d0a263204e61462bd67db4703bd909e5c3b21f89a1b9d964548c83847a4937194622021-01-05 9:10:5912 days 29 mins ago0x324703fb7c0eb9786a8f77fd369b80afb88dc69e IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.0017565
0xf598508be111f76f5c20d9c58871146e02d47694cba27cb5738983e0b010f04e37129682021-01-05 3:46:1712 days 5 hrs ago0x5924c1c3ccc7d4d80ae786d3f3dfd81a5b6e446e IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.0014565
0xbb0615ce66996a187a890d2162dfe628f9880d5ad2dd7df5c7d579c648a12c3d37127202021-01-05 3:33:5312 days 6 hrs agoCowswap: Deployer IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00221436
0xdb5b8d18968b3492c5685fdee6478169c86089579dc5e01ca30718e51106702037097672021-01-05 1:06:1412 days 8 hrs ago0xf29811acd1534d02688cc9e474ca78dbef37bd35 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00231144
0x20f91d6c74048f626cf7c27c39c09a218bd33bf12d3f616e41fd752602f9e59537013972021-01-04 18:06:4612 days 15 hrs ago0x458e13a15ff3e03c16116a561182daf876486291 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00311736
0x9923bb9301c082f45a67236748ac076551d8a052df45d9be522f2a4929b9d4ca37013882021-01-04 18:06:1912 days 15 hrs ago0x458e13a15ff3e03c16116a561182daf876486291 IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.003774591
0x1db330d94ea35721cd4d528a2d4ecdb3416432a5203f4c6c4d8c2316d1a8c95e36880262021-01-04 6:56:4513 days 2 hrs ago0x5924c1c3ccc7d4d80ae786d3f3dfd81a5b6e446e IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00213546
0x651bcdbe931b64dc6ce1c5ce383280eb106b4ecb55e54451535137e8fa84efd536824662021-01-04 2:18:4513 days 7 hrs ago0x572dfa4d355a27d63a9faebcb055ca6826430d5a IN  0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc20 BNB0.00213522
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xdd550b495ba945e6e02153fdd58ecb30210f6edc415c1ad0fe59c4770e75865740620532021-01-17 6:43:442 hrs 56 mins ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xe7f22df8e2501b6ee9eab2156487c494b92491752cef7dd1d3c3ef92969d528c40182712021-01-15 18:14:371 day 15 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0xd826198d2536869eb154d29629f4079af33500a3aaa495535594265365bdf56038953502021-01-11 11:47:555 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0xd826198d2536869eb154d29629f4079af33500a3aaa495535594265365bdf56038953502021-01-11 11:47:555 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xd826198d2536869eb154d29629f4079af33500a3aaa495535594265365bdf56038953502021-01-11 11:47:555 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0xd826198d2536869eb154d29629f4079af33500a3aaa495535594265365bdf56038953502021-01-11 11:47:555 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x1b1827a544d7140074bd1b62185e3b29010bbc4dceae7e94f7ced72ae32f8fa938953162021-01-11 11:46:135 days 21 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0x0f57b92c3dfcdbda3a351b4e35a825def58e79dd703e91e680dc7ba148dbd83d38405432021-01-09 14:07:237 days 19 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0x0f57b92c3dfcdbda3a351b4e35a825def58e79dd703e91e680dc7ba148dbd83d38405432021-01-09 14:07:237 days 19 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x0f57b92c3dfcdbda3a351b4e35a825def58e79dd703e91e680dc7ba148dbd83d38405432021-01-09 14:07:237 days 19 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 Cowswap: COX Token0 BNB
0x0f57b92c3dfcdbda3a351b4e35a825def58e79dd703e91e680dc7ba148dbd83d38405432021-01-09 14:07:237 days 19 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
0x0a90bf287c0f4c2e93249232f621a8e2c85add868ac96ea1044ae252200d474038217542021-01-08 22:27:338 days 11 hrs ago 0x5364aa8a6bd1d39e9ac60cda605478e888a6fcc2 0x265e60b104fa9f3e3f7459c069a1438d22dde3bb0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CowFarm

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2020-11-28
*/

// SPDX-License-Identifier: MIT

// 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/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/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/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: @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: contracts/CowswapToken.sol

pragma solidity 0.6.12;




contract CowswapToken is ERC20("Cowswap", "COX"), Ownable {
	mapping (address => bool) public minters;

  modifier onlyMinter() { 
    require(minters[msg.sender], "Not Minter"); 
    _; 
  }
  
  constructor(address _to) public {
  	// Mint to CowPool
    _mint(_to, 1500000 * 1e18);
  }

  function addMinter(address _minter) external onlyOwner {
  	minters[_minter] = true;
  }

  function removeMinter(address _minter) external onlyOwner {
  	minters[_minter] = false;
  }

  // Creates `_amount` token to `_to`. Must only be called by the owner.
  function mint(address _to, uint256 _amount) public onlyMinter {
    _mint(_to, _amount);
  }
}

// File: contracts/CowFarm.sol

pragma solidity 0.6.12;

interface IMigrator {
    function migrate(IERC20 token) external returns (IERC20);
}

contract CowFarm is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. Rewards to distribute per block.
        uint256 lastRewardBlock;  // Last block number that Rewards distribution occurs.
        uint256 accRewardPerShare; // Accumulated Rewards per share, times 1e12. See below.
    }

    // The Reward TOKEN!
    CowswapToken public cox;
    // Dev address.
    address public devaddr;
    // Block number when bonus  period ends.
    uint256 public bonusEndBlock;
    // Reward tokens created per block.
    uint256 public rewardsPerBlock; // = 1
    // Bonus muliplier, halved every year
    uint256 public BONUS_MULTIPLIER = 1e18;
    // The migrator contract. It has a lot of power. Can only be set through governance (owner).
    IMigrator public migrator;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when mining starts.
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    uint256 public blocksPerYear;

    constructor(
        CowswapToken _cox,
        address _devaddr,
        uint256 _rewardsPerBlock,
        uint256 _startBlock,
        uint256 _blocksPerYear
    ) public {
        cox = _cox;
        devaddr = _devaddr;
        rewardsPerBlock = _rewardsPerBlock;
        blocksPerYear = _blocksPerYear;
        
        startBlock = _startBlock;
        bonusEndBlock = _startBlock.add(_blocksPerYear);
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accRewardPerShare: 0
        }));
    }

    // Update the given pool's allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Set the migrator contract. Can only be called by the owner.
    function setMigrator(IMigrator _migrator) public onlyOwner {
        migrator = _migrator;
    }

    // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
    function migrate(uint256 _pid) public {
        require(address(migrator) != address(0), "migrate: no migrator");
        PoolInfo storage pool = poolInfo[_pid];
        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IERC20 newLpToken = migrator.migrate(lpToken);
        require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
        pool.lpToken = newLpToken;
    }

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

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

    function pendingRewards(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accRewardPerShare = pool.accRewardPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 rewards = multiplier.mul(rewardsPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accRewardPerShare = accRewardPerShare.add(rewards.mul(1e12).div(lpSupply));
        }

        return user.amount.mul(accRewardPerShare).div(1e12).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 rewards = multiplier.mul(rewardsPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

        cox.mint(devaddr, rewards.div(10));
        cox.mint(address(this), rewards);
        pool.accRewardPerShare = pool.accRewardPerShare.add(rewards.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;

        if(block.number > bonusEndBlock) {
            BONUS_MULTIPLIER = BONUS_MULTIPLIER.div(2);
            bonusEndBlock = bonusEndBlock.add(blocksPerYear);
        }
    }


    // Deposit LP tokens to Farm for token allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accRewardPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeTransfer(msg.sender, pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accRewardPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from Fram.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accRewardPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeTransfer(msg.sender, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accRewardPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe transfer function, just in case if rounding error causes pool to not have enough Tokens.
    function safeTransfer(address _to, uint256 _amount) internal {
        uint256 _bal = cox.balanceOf(address(this));
        if (_amount > _bal) {
            cox.transfer(_to, _bal);
        } else {
            cox.transfer(_to, _amount);
        }
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract CowswapToken","name":"_cox","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_rewardsPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_blocksPerYear","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blocksPerYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cox","outputs":[{"internalType":"contract CowswapToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigrator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigrator","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052670de0b6b3a764000060055560006009553480156200002257600080fd5b5060405162001f0238038062001f02833981810160405260a08110156200004857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006200007362000125565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03199081166001600160a01b0388811691909117909255600280549091169186169190911790556004839055600b819055600a82905562000116828262000129602090811b6200149e17901c565b600355506200018b9350505050565b3390565b60008282018381101562000184576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b611d67806200019b6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063630b5ba1116100f95780638dbb1e3a11610097578063d18df53c11610071578063d18df53c14610450578063d49e77cd1461047c578063e2bbb15814610484578063f2fde38b146104a7576101c4565b80638dbb1e3a146103e057806393f1a40b14610403578063a385fb9614610448576101c4565b80637cd07e47116100d35780637cd07e47146103a25780638aa28550146103aa5780638d88a90e146103b25780638da5cb5b146103d8576101c4565b8063630b5ba11461036757806364482f791461036f578063715018a61461039a576101c4565b8063441a3e701161016657806351eb05a61161014057806351eb05a6146103085780635312ea8e146103255780635eeb6710146103425780635ffe61461461034a576101c4565b8063441a3e70146102c0578063454b0608146102e357806348cd4cb114610300576101c4565b80631aed6553116101a25780631aed6553146102385780631eaaa0451461024057806323cf31181461027657806341f55b111461029c576101c4565b8063081e3eda146101c95780631526fe27146101e357806317caf6f114610230575b600080fd5b6101d16104cd565b60408051918252519081900360200190f35b610200600480360360208110156101f957600080fd5b50356104d3565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101d1610514565b6101d161051a565b6102746004803603606081101561025657600080fd5b508035906001600160a01b0360208201351690604001351515610520565b005b6102746004803603602081101561028c57600080fd5b50356001600160a01b031661069b565b6102a4610715565b604080516001600160a01b039092168252519081900360200190f35b610274600480360360408110156102d657600080fd5b5080359060200135610724565b610274600480360360208110156102f957600080fd5b5035610883565b6101d1610adf565b6102746004803603602081101561031e57600080fd5b5035610ae5565b6102746004803603602081101561033b57600080fd5b5035610d3d565b6101d1610dd9565b6102746004803603602081101561036057600080fd5b5035610ddf565b610274610e44565b6102746004803603606081101561038557600080fd5b50803590602081013590604001351515610e67565b610274610f38565b6102a4610fda565b6101d1610fe9565b610274600480360360208110156103c857600080fd5b50356001600160a01b0316610fef565b6102a461105c565b6101d1600480360360408110156103f657600080fd5b508035906020013561106b565b61042f6004803603604081101561041957600080fd5b50803590602001356001600160a01b03166110f9565b6040805192835260208301919091528051918290030190f35b6101d161111d565b6101d16004803603604081101561046657600080fd5b50803590602001356001600160a01b0316611123565b6102a4611285565b6102746004803603604081101561049a57600080fd5b5080359060200135611294565b610274600480360360208110156104bd57600080fd5b50356001600160a01b03166113a6565b60075490565b600781815481106104e057fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60095481565b60035481565b6105286114ff565b6000546001600160a01b03908116911614610578576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b801561058657610586610e44565b6000600a54431161059957600a5461059b565b435b6009549091506105ab908561149e565b600955604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260078054600181018255925291517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490920291820180546001600160a01b031916919096161790945593517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c689840155517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a8301555090517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b90910155565b6106a36114ff565b6000546001600160a01b039081169116146106f3576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b60006007838154811061073357fe5b6000918252602080832086845260088252604080852033865290925292208054600490920290920192508311156107a6576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6107af84610ae5565b60006107e982600101546107e364e8d4a510006107dd8760030154876000015461150390919063ffffffff16565b9061155c565b9061159e565b905080156107fb576107fb33826115e0565b831561082557815461080d908561159e565b82558254610825906001600160a01b0316338661176e565b600383015482546108409164e8d4a51000916107dd91611503565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6006546001600160a01b03166108d7576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b6000600782815481106108e657fe5b600091825260208083206004928302018054604080516370a0823160e01b81523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561093f57600080fd5b505afa158015610953573d6000803e3d6000fd5b505050506040513d602081101561096957600080fd5b5051600654909150610988906001600160a01b038481169116836117c0565b6006546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b505050506040513d6020811015610a0457600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a5057600080fd5b505afa158015610a64573d6000803e3d6000fd5b505050506040513d6020811015610a7a57600080fd5b50518214610abe576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b600a5481565b600060078281548110610af457fe5b9060005260206000209060040201905080600201544311610b155750610d3a565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b5f57600080fd5b505afa158015610b73573d6000803e3d6000fd5b505050506040513d6020811015610b8957600080fd5b5051905080610b9f575043600290910155610d3a565b6000610baf83600201544361106b565b90506000610bdc6009546107dd8660010154610bd66004548761150390919063ffffffff16565b90611503565b6001546002549192506001600160a01b03908116916340c10f199116610c0384600a61155c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c4957600080fd5b505af1158015610c5d573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610cb457600080fd5b505af1158015610cc8573d6000803e3d6000fd5b50505050610cf6610ceb846107dd64e8d4a510008561150390919063ffffffff16565b60038601549061149e565b8460030181905550438460020181905550600354431115610d3557600554610d1f90600261155c565b600555600b54600354610d319161149e565b6003555b505050505b50565b600060078281548110610d4c57fe5b600091825260208083208584526008825260408085203380875293528420805485825560018201959095556004909302018054909450919291610d9c916001600160a01b0391909116908361176e565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60045481565b610de76114ff565b6000546001600160a01b03908116911614610e37576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b610e3f610e44565b600555565b60075460005b81811015610e6357610e5b81610ae5565b600101610e4a565b5050565b610e6f6114ff565b6000546001600160a01b03908116911614610ebf576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b8015610ecd57610ecd610e44565b610f0a82610f0460078681548110610ee157fe5b90600052602060002090600402016001015460095461159e90919063ffffffff16565b9061149e565b6009819055508160078481548110610f1e57fe5b906000526020600020906004020160010181905550505050565b610f406114ff565b6000546001600160a01b03908116911614610f90576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6006546001600160a01b031681565b60055481565b6002546001600160a01b0316331461103a576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6000600354821161108e5760055461108790610bd6848661159e565b90506110f3565b60035483106110b55761108760026107dd600554610bd6878761159e90919063ffffffff16565b6110876110d860026107dd600554610bd66003548861159e90919063ffffffff16565b610f04600554610bd68760035461159e90919063ffffffff16565b92915050565b60086020908152600092835260408084209091529082529020805460019091015482565b600b5481565b6000806007848154811061113357fe5b600091825260208083208784526008825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b50516002850154909150431180156111f257508015155b1561125257600061120785600201544361106b565b9050600061122e6009546107dd8860010154610bd66004548761150390919063ffffffff16565b905061124d611246846107dd8464e8d4a51000611503565b859061149e565b935050505b61127a83600101546107e364e8d4a510006107dd86886000015461150390919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b6000600783815481106112a357fe5b600091825260208083208684526008825260408085203386529092529220600490910290910191506112d484610ae5565b80541561131d57600061130982600101546107e364e8d4a510006107dd8760030154876000015461150390919063ffffffff16565b9050801561131b5761131b33826115e0565b505b821561134957815461133a906001600160a01b03163330866118d3565b8054611346908461149e565b81555b600382015481546113649164e8d4a51000916107dd91611503565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6113ae6114ff565b6000546001600160a01b039081169116146113fe576040805162461bcd60e51b81526020600482018190526024820152600080516020611cb2833981519152604482015290519081900360640190fd5b6001600160a01b0381166114435760405162461bcd60e51b8152600401808060200182810382526026815260200180611c6b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000828201838110156114f8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b600082611512575060006110f3565b8282028284828161151f57fe5b04146114f85760405162461bcd60e51b8152600401808060200182810382526021815260200180611c916021913960400191505060405180910390fd5b60006114f883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611933565b60006114f883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119d5565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561162b57600080fd5b505afa15801561163f573d6000803e3d6000fd5b505050506040513d602081101561165557600080fd5b50519050808211156116e9576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506040513d60208110156116e157600080fd5b506117699050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561173f57600080fd5b505af1158015611753573d6000803e3d6000fd5b505050506040513d6020811015610d3557600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611769908490611a2f565b801580611846575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561181857600080fd5b505afa15801561182c573d6000803e3d6000fd5b505050506040513d602081101561184257600080fd5b5051155b6118815760405162461bcd60e51b8152600401808060200182810382526036815260200180611cfc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611769908490611a2f565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261192d908590611a2f565b50505050565b600081836119bf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561198457818101518382015260200161196c565b50505050905090810190601f1680156119b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816119cb57fe5b0495945050505050565b60008184841115611a275760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561198457818101518382015260200161196c565b505050900390565b6060611a84826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ae09092919063ffffffff16565b80519091501561176957808060200190516020811015611aa357600080fd5b50516117695760405162461bcd60e51b815260040180806020018281038252602a815260200180611cd2602a913960400191505060405180910390fd5b6060611aef8484600085611af7565b949350505050565b6060611b0285611c64565b611b53576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611b925780518252601f199092019160209182019101611b73565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611bf4576040519150601f19603f3d011682016040523d82523d6000602084013e611bf9565b606091505b50915091508115611c0d579150611aef9050565b805115611c1d5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561198457818101518382015260200161196c565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220932a459736422129787e7e0f26b1af3a73af9acc00ef2a7c1af8011b4026d70e64736f6c634300060c0033000000000000000000000000a1294ebb4a319237934a709a763bf85bdb7dcde0000000000000000000000000cb3c782677ba334b06e3dab71a02d0d5208447c0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000002821490000000000000000000000000000000000000000000000000000000000a06680

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

000000000000000000000000a1294ebb4a319237934a709a763bf85bdb7dcde0000000000000000000000000cb3c782677ba334b06e3dab71a02d0d5208447c0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000002821490000000000000000000000000000000000000000000000000000000000a06680

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a1294ebb4a319237934a709a763bf85bdb7dcde0
Arg [1] : 000000000000000000000000cb3c782677ba334b06e3dab71a02d0d5208447c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000282149
Arg [4] : 0000000000000000000000000000000000000000000000000000000000a06680


Deployed ByteCode Sourcemap

33162:10328:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36135:95;;;:::i;:::-;;;;;;;;;;;;;;;;35051:26;;;;;;;;;;;;;;;;-1:-1:-1;35051:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;35051:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35294:34;;;:::i;34684:28::-;;;:::i;36399:515::-;;;;;;;;;;;;;;;;-1:-1:-1;36399:515:0;;;-1:-1:-1;;;;;36399:515:0;;;;;;;;;;;;:::i;:::-;;37385:98;;;;;;;;;;;;;;;;-1:-1:-1;37385:98:0;-1:-1:-1;;;;;37385:98:0;;:::i;34558:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;34558:23:0;;;;;;;;;;;;;;41734:740;;;;;;;;;;;;;;;;-1:-1:-1;41734:740:0;;;;;;;:::i;37606:491::-;;;;;;;;;;;;;;;;-1:-1:-1;37606:491:0;;:::i;35380:25::-;;;:::i;39917:953::-;;;;;;;;;;;;;;;;-1:-1:-1;39917:953:0;;:::i;42545:385::-;;;;;;;;;;;;;;;;-1:-1:-1;42545:385:0;;:::i;34760:30::-;;;:::i;38105:127::-;;;;;;;;;;;;;;;;-1:-1:-1;38105:127:0;;:::i;39661:180::-;;;:::i;37005:304::-;;;;;;;;;;;;;;;;-1:-1:-1;37005:304:0;;;;;;;;;;;;;;:::i;20705:148::-;;;:::i;34990:25::-;;;:::i;34847:38::-;;;:::i;43358:129::-;;;;;;;;;;;;;;;;-1:-1:-1;43358:129:0;-1:-1:-1;;;;;43358:129:0;;:::i;20063:79::-;;;:::i;38308:481::-;;;;;;;;;;;;;;;;-1:-1:-1;38308:481:0;;;;;;;:::i;35133:66::-;;;;;;;;;;;;;;;;-1:-1:-1;35133:66:0;;;;;;-1:-1:-1;;;;;35133:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;35664:28;;;:::i;38797:781::-;;;;;;;;;;;;;;;;-1:-1:-1;38797:781:0;;;;;;-1:-1:-1;;;;;38797:781:0;;:::i;34609:22::-;;;:::i;40936:752::-;;;;;;;;;;;;;;;;-1:-1:-1;40936:752:0;;;;;;;:::i;21008:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21008:244:0;-1:-1:-1;;;;;21008:244:0;;:::i;36135:95::-;36207:8;:15;36135:95;:::o;35051:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35051:26:0;;;;-1:-1:-1;35051:26:0;;;:::o;35294:34::-;;;;:::o;34684:28::-;;;;:::o;36399:515::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;36500:11:::1;36496:61;;;36528:17;:15;:17::i;:::-;36567:23;36608:10;;36593:12;:25;:53;;36636:10;;36593:53;;;36621:12;36593:53;36675:15;::::0;36567:79;;-1:-1:-1;36675:32:0::1;::::0;36695:11;36675:19:::1;:32::i;:::-;36657:15;:50:::0;36732:173:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;36732:173:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;36732:173:0;;;;;;36718:8:::1;:188:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;36718:188:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;-1:-1:-1;36718:188:0;;;;;;;36399:515::o;37385:98::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;37455:8:::1;:20:::0;;-1:-1:-1;;;;;;37455:20:0::1;-1:-1:-1::0;;;;;37455:20:0;;;::::1;::::0;;;::::1;::::0;;37385:98::o;34558:23::-;;;-1:-1:-1;;;;;34558:23:0;;:::o;41734:740::-;41801:21;41825:8;41834:4;41825:14;;;;;;;;;;;;;;;;41874;;;:8;:14;;;;;;41889:10;41874:26;;;;;;;41919:11;;41825:14;;;;;;;;-1:-1:-1;41919:22:0;-1:-1:-1;41919:22:0;41911:53;;;;;-1:-1:-1;;;41911:53:0;;;;;;;;;;;;-1:-1:-1;;;41911:53:0;;;;;;;;;;;;;;;41975:16;41986:4;41975:10;:16::i;:::-;42002:15;42020:70;42074:4;:15;;;42020:49;42064:4;42020:39;42036:4;:22;;;42020:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49::i;:::-;:53;;:70::i;:::-;42002:88;-1:-1:-1;42104:11:0;;42101:76;;42132:33;42145:10;42157:7;42132:12;:33::i;:::-;42190:11;;42187:151;;42232:11;;:24;;42248:7;42232:15;:24::i;:::-;42218:38;;42271:12;;:55;;-1:-1:-1;;;;;42271:12:0;42305:10;42318:7;42271:25;:55::i;:::-;42382:22;;;;42366:11;;:49;;42410:4;;42366:39;;:15;:39::i;:49::-;42348:15;;;:67;42431:35;;;;;;;;42452:4;;42440:10;;42431:35;;;;;;;;;41734:740;;;;;:::o;37606:491::-;37671:8;;-1:-1:-1;;;;;37671:8:0;37655:64;;;;;-1:-1:-1;;;37655:64:0;;;;;;;;;;;;-1:-1:-1;;;37655:64:0;;;;;;;;;;;;;;;37730:21;37754:8;37763:4;37754:14;;;;;;;;;;;;;;;;;;;;;37796:12;;37833:32;;;-1:-1:-1;;;37833:32:0;;37859:4;37833:32;;;;;;;;37754:14;;-1:-1:-1;;;;;;37796:12:0;;37754:14;37796:12;;37833:17;;:32;;;;;;;;;;37796:12;37833:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37833:32:0;37904:8;;37833:32;;-1:-1:-1;37876:43:0;;-1:-1:-1;;;;;37876:19:0;;;;37904:8;37833:32;37876:19;:43::i;:::-;37950:8;;:25;;;-1:-1:-1;;;37950:25:0;;-1:-1:-1;;;;;37950:25:0;;;;;;;;;37930:17;;37950:8;;;;;:16;;:25;;;;;;;;;;;;;;;37930:17;37950:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37950:25:0;38001:35;;;-1:-1:-1;;;38001:35:0;;38030:4;38001:35;;;;;;37950:25;;-1:-1:-1;;;;;;38001:20:0;;;;;:35;;;;;37950:25;;38001:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38001:35:0;37994:42;;37986:67;;;;;-1:-1:-1;;;37986:67:0;;;;;;;;;;;;-1:-1:-1;;;37986:67:0;;;;;;;;;;;;;;;38064:25;;-1:-1:-1;;;;;;38064:25:0;-1:-1:-1;;;;;38064:25:0;;;;;;;;-1:-1:-1;;;37606:491:0:o;35380:25::-;;;;:::o;39917:953::-;39969:21;39993:8;40002:4;39993:14;;;;;;;;;;;;;;;;;;39969:38;;40038:4;:20;;;40022:12;:36;40018:75;;40075:7;;;40018:75;40122:12;;:37;;;-1:-1:-1;;;40122:37:0;;40153:4;40122:37;;;;;;40103:16;;-1:-1:-1;;;;;40122:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40122:37:0;;-1:-1:-1;40174:13:0;40170:102;;-1:-1:-1;40227:12:0;40204:20;;;;:35;40254:7;;40170:102;40282:18;40303:49;40317:4;:20;;;40339:12;40303:13;:49::i;:::-;40282:70;;40363:15;40381:73;40438:15;;40381:52;40417:4;:15;;;40381:31;40396:15;;40381:10;:14;;:31;;;;:::i;:::-;:35;;:52::i;:73::-;40467:3;;40476:7;;40363:91;;-1:-1:-1;;;;;;40467:3:0;;;;:8;;40476:7;40485:15;40363:91;40497:2;40485:11;:15::i;:::-;40467:34;;;;;;;;;;;;;-1:-1:-1;;;;;40467:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40512:3:0;;:32;;;-1:-1:-1;;;40512:32:0;;40529:4;40512:32;;;;;;;;;;;;-1:-1:-1;;;;;40512:3:0;;;;-1:-1:-1;40512:8:0;;-1:-1:-1;40512:32:0;;;;;:3;;:32;;;;;;;;:3;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40580:59;40607:31;40629:8;40607:17;40619:4;40607:7;:11;;:17;;;;:::i;:31::-;40580:22;;;;;:26;:59::i;:::-;40555:4;:22;;:84;;;;40673:12;40650:4;:20;;:35;;;;40716:13;;40701:12;:28;40698:165;;;40765:16;;:23;;40786:1;40765:20;:23::i;:::-;40746:16;:42;40837:13;;40819;;:32;;:17;:32::i;:::-;40803:13;:48;40698:165;39917:953;;;;;;:::o;42545:385::-;42604:21;42628:8;42637:4;42628:14;;;;;;;;;;;;;;;;42677;;;:8;:14;;;;;;42692:10;42677:26;;;;;;;42731:11;;42753:15;;;-1:-1:-1;42779:15:0;;:19;;;;42628:14;;;;;42809:12;;42628:14;;-1:-1:-1;42677:26:0;;42731:11;42809:54;;-1:-1:-1;;;;;42809:12:0;;;;;42731:11;42809:25;:54::i;:::-;42879:43;;;;;;;;42909:4;;42897:10;;42879:43;;;;;;;;;42545:385;;;;:::o;34760:30::-;;;;:::o;38105:127::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;38173:17:::1;:15;:17::i;:::-;38201:16;:23:::0;38105:127::o;39661:180::-;39723:8;:15;39706:14;39749:85;39777:6;39771:3;:12;39749:85;;;39807:15;39818:3;39807:10;:15::i;:::-;39785:5;;39749:85;;;;39661:180;:::o;37005:304::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;37103:11:::1;37099:61;;;37131:17;:15;:17::i;:::-;37188:63;37239:11;37188:46;37208:8;37217:4;37208:14;;;;;;;;;;;;;;;;;;:25;;;37188:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;37170:15;:81;;;;37290:11;37262:8;37271:4;37262:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;37005:304:::0;;;:::o;20705:148::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;20812:1:::1;20796:6:::0;;20775:40:::1;::::0;-1:-1:-1;;;;;20796:6:0;;::::1;::::0;20775:40:::1;::::0;20812:1;;20775:40:::1;20843:1;20826:19:::0;;-1:-1:-1;;;;;;20826:19:0::1;::::0;;20705:148::o;34990:25::-;;;-1:-1:-1;;;;;34990:25:0;;:::o;34847:38::-;;;;:::o;43358:129::-;43429:7;;-1:-1:-1;;;;;43429:7:0;43415:10;:21;43407:43;;;;;-1:-1:-1;;;43407:43:0;;;;;;;;;;;;-1:-1:-1;;;43407:43:0;;;;;;;;;;;;;;;43461:7;:18;;-1:-1:-1;;;;;;43461:18:0;-1:-1:-1;;;;;43461:18:0;;;;;;;;;;43358:129::o;20063:79::-;20101:7;20128:6;-1:-1:-1;;;;;20128:6:0;20063:79;:::o;38308:481::-;38380:7;38411:13;;38404:3;:20;38400:382;;38467:16;;38448:36;;:14;:3;38456:5;38448:7;:14::i;:36::-;38441:43;;;;38400:382;38515:13;;38506:5;:22;38502:280;;38552:43;38593:1;38552:36;38571:16;;38552:14;38560:5;38552:3;:7;;:14;;;;:::i;38502:280::-;38635:135;38704:51;38753:1;38704:44;38731:16;;38704:22;38712:13;;38704:3;:7;;:22;;;;:::i;:51::-;38635:46;38664:16;;38635:24;38653:5;38635:13;;:17;;:24;;;;:::i;38502:280::-;38308:481;;;;:::o;35133:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35664:28::-;;;;:::o;38797:781::-;38873:7;38893:21;38917:8;38926:4;38917:14;;;;;;;;;;;;;;;;38966;;;:8;:14;;;;;;-1:-1:-1;;;;;38966:21:0;;;;;;;;;;;38917:14;;;;;;;39026:22;;;;39078:12;;:37;;-1:-1:-1;;;39078:37:0;;39109:4;39078:37;;;;;;;;;38917:14;;-1:-1:-1;38966:21:0;;39026:22;;38917:14;;39078:12;;;;;:22;;:37;;;;;38917:14;;39078:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39078:37:0;39155:20;;;;39078:37;;-1:-1:-1;39140:12:0;:35;:52;;;;-1:-1:-1;39179:13:0;;;39140:52;39136:350;;;39209:18;39230:49;39244:4;:20;;;39266:12;39230:13;:49::i;:::-;39209:70;;39294:15;39312:73;39369:15;;39312:52;39348:4;:15;;;39312:31;39327:15;;39312:10;:14;;:31;;;;:::i;:73::-;39294:91;-1:-1:-1;39420:54:0;39442:31;39464:8;39442:17;39294:91;39454:4;39442:11;:17::i;:31::-;39420:17;;:21;:54::i;:::-;39400:74;;39136:350;;;39505:65;39554:4;:15;;;39505:44;39544:4;39505:34;39521:17;39505:4;:11;;;:15;;:34;;;;:::i;:65::-;39498:72;38797:781;-1:-1:-1;;;;;;;38797:781:0:o;34609:22::-;;;-1:-1:-1;;;;;34609:22:0;;:::o;40936:752::-;41002:21;41026:8;41035:4;41026:14;;;;;;;;;;;;;;;;41075;;;:8;:14;;;;;;41090:10;41075:26;;;;;;;41026:14;;;;;;;;-1:-1:-1;41112:16:0;41084:4;41112:10;:16::i;:::-;41143:11;;:15;41139:234;;41175:15;41193:70;41247:4;:15;;;41193:49;41237:4;41193:39;41209:4;:22;;;41193:4;:11;;;:15;;:39;;;;:::i;:70::-;41175:88;-1:-1:-1;41281:11:0;;41278:84;;41313:33;41326:10;41338:7;41313:12;:33::i;:::-;41139:234;;41386:11;;41383:170;;41414:12;;:74;;-1:-1:-1;;;;;41414:12:0;41452:10;41473:4;41480:7;41414:29;:74::i;:::-;41517:11;;:24;;41533:7;41517:15;:24::i;:::-;41503:38;;41383:170;41597:22;;;;41581:11;;:49;;41625:4;;41581:39;;:15;:39::i;:49::-;41563:15;;;:67;41646:34;;;;;;;;41666:4;;41654:10;;41646:34;;;;;;;;;40936:752;;;;:::o;21008:244::-;20285:12;:10;:12::i;:::-;20275:6;;-1:-1:-1;;;;;20275:6:0;;;:22;;;20267:67;;;;;-1:-1:-1;;;20267:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20267:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21097:22:0;::::1;21089:73;;;;-1:-1:-1::0;;;21089:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21199:6;::::0;;21178:38:::1;::::0;-1:-1:-1;;;;;21178:38:0;;::::1;::::0;21199:6;::::1;::::0;21178:38:::1;::::0;::::1;21227:6;:17:::0;;-1:-1:-1;;;;;;21227:17:0::1;-1:-1:-1::0;;;;;21227:17:0;;;::::1;::::0;;;::::1;::::0;;21008:244::o;3759:181::-;3817:7;3849:5;;;3873:6;;;;3865:46;;;;;-1:-1:-1;;;3865:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3931:1;3759:181;-1:-1:-1;;;3759:181:0:o;18617:106::-;18705:10;18617:106;:::o;5113:471::-;5171:7;5416:6;5412:47;;-1:-1:-1;5446:1:0;5439:8;;5412:47;5483:5;;;5487:1;5483;:5;:1;5507:5;;;;;:10;5499:56;;;;-1:-1:-1;;;5499:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6060:132;6118:7;6145:39;6149:1;6152;6145:39;;;;;;;;;;;;;;;;;:3;:39::i;4223:136::-;4281:7;4308:43;4312:1;4315;4308:43;;;;;;;;;;;;;;;;;:3;:43::i;43040:262::-;43127:3;;:28;;;-1:-1:-1;;;43127:28:0;;43149:4;43127:28;;;;;;43112:12;;-1:-1:-1;;;;;43127:3:0;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43127:28:0;;-1:-1:-1;43170:14:0;;;43166:129;;;43201:3;;:23;;;-1:-1:-1;;;43201:23:0;;-1:-1:-1;;;;;43201:23:0;;;;;;;;;;;;;;;:3;;;;;:12;;:23;;;;;;;;;;;;;;:3;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43166:129:0;;-1:-1:-1;43166:129:0;;43257:3;;:26;;;-1:-1:-1;;;43257:26:0;;-1:-1:-1;;;;;43257:26:0;;;;;;;;;;;;;;;:3;;;;;:12;;:26;;;;;;;;;;;;;;:3;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43166:129;43040:262;;;:::o;14920:177::-;15030:58;;;-1:-1:-1;;;;;15030:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15030:58:0;-1:-1:-1;;;15030:58:0;;;15003:86;;15023:5;;15003:19;:86::i;15579:622::-;15949:10;;;15948:62;;-1:-1:-1;15965:39:0;;;-1:-1:-1;;;15965:39:0;;15989:4;15965:39;;;;-1:-1:-1;;;;;15965:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15965:39:0;:44;15948:62;15940:152;;;;-1:-1:-1;;;15940:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16130:62;;;-1:-1:-1;;;;;16130:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16130:62:0;-1:-1:-1;;;16130:62:0;;;16103:90;;16123:5;;16103:19;:90::i;15105:205::-;15233:68;;;-1:-1:-1;;;;;15233:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15233:68:0;-1:-1:-1;;;15233:68:0;;;15206:96;;15226:5;;15206:19;:96::i;:::-;15105:205;;;;:::o;6688:278::-;6774:7;6809:12;6802:5;6794:28;;;;-1:-1:-1;;;6794:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6833:9;6849:1;6845;:5;;;;;;;6688:278;-1:-1:-1;;;;;6688:278:0:o;4662:192::-;4748:7;4784:12;4776:6;;;;4768:29;;;;-1:-1:-1;;;4768:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4820:5:0;;;4662:192::o;17225:761::-;17649:23;17675:69;17703:4;17675:69;;;;;;;;;;;;;;;;;17683:5;-1:-1:-1;;;;;17675:27:0;;;:69;;;;;:::i;:::-;17759:17;;17649:95;;-1:-1:-1;17759:21:0;17755:224;;17901:10;17890:30;;;;;;;;;;;;;;;-1:-1:-1;17890:30:0;17882:85;;;;-1:-1:-1;;;17882:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11901:196;12004:12;12036:53;12059:6;12067:4;12073:1;12076:12;12036:22;:53::i;:::-;12029:60;11901:196;-1:-1:-1;;;;11901:196:0:o;13278:979::-;13408:12;13441:18;13452:6;13441:10;:18::i;:::-;13433:60;;;;;-1:-1:-1;;;13433:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13567:12;13581:23;13608:6;-1:-1:-1;;;;;13608:11:0;13628:8;13639:4;13608:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13608:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13566:78;;;;13659:7;13655:595;;;13690:10;-1:-1:-1;13683:17:0;;-1:-1:-1;13683:17:0;13655:595;13804:17;;:21;13800:439;;14067:10;14061:17;14128:15;14115:10;14111:2;14107:19;14100:44;14015:148;14203:20;;-1:-1:-1;;;14203:20:0;;;;;;;;;;;;;;;;;14210:12;;14203:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8983:422;9350:20;9389:8;;;8983:422::o

Swarm Source

ipfs://932a459736422129787e7e0f26b1af3a73af9acc00ef2a7c1af8011b4026d70e
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.