Contract 0xe6be78800f25ffae4d1db7ca6d3485629bd200ed 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3279f5678707a55e32ce7bf131283e442b9d4583ff9d1e5af7b4d8276f9a5370Withdraw111481122021-09-22 22:25:285 hrs 9 mins ago0x4cf9b0ee8ef38a305128247c7b5f4045ee8bba32 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000575055
0x1f4631b2d611744b0bb07db40b75896d63388bf0e31da660b374fff6fdb2986bWithdraw111406382021-09-22 16:08:1311 hrs 27 mins ago0xc7cadc87e9ee8b7d16f22d24776fd6fef09be8fe IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000944005
0xccb02741198a82564e964185614a55139ee5bb3e5c7dc0ac08bb863502cfb870Withdraw111269732021-09-22 4:41:4622 hrs 53 mins ago0xf8c4db7cc3586fb869f4c96230c11efcd6a5b578 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000650055
0xdfd2c93eb338849ec07fb49307e9c047d7960a4a5e75271dec3f3abc30a37634Withdraw111269132021-09-22 4:38:3322 hrs 56 mins ago0xdbe13da10089211ee74c5aec93c6b929c708dd89 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000575055
0x2b60ebb407a8cf199d8c8b544071c7c8e336e69687f150bdee9e642e45603876Harvest111268982021-09-22 4:37:4822 hrs 57 mins ago0xdbe13da10089211ee74c5aec93c6b929c708dd89 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000590945
0xd3932865164ce67ea525406254df9858ce1c8e20bac5d75eeb623591a90ed328Harvest111268872021-09-22 4:37:1522 hrs 58 mins ago0xdbe13da10089211ee74c5aec93c6b929c708dd89 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000590945
0x78c919c3c5cca945d04b5e8b4e72846b8a4f55639de30627ae951efdda33b38eHarvest111268772021-09-22 4:36:4522 hrs 58 mins ago0xdbe13da10089211ee74c5aec93c6b929c708dd89 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000728945
0x9d5254b59f379118f2cb31f3a57f1c7496e536cb5dfddc8c8748cb1ac7af7c4dWithdraw111246012021-09-22 2:42:081 day 53 mins ago0x1d787485f43f7720ebf97e2a9bb0f735fe4c404a IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000755435
0xf185496c5e7d7d03d3c6d3de881507d7b5a335890d07fbb59cabaa000203fc5fWithdraw111109412021-09-21 15:10:341 day 12 hrs ago0x7ca15d92fe70a42bde148512741830af45df9173 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000584375
0x273758d3ec676bd0dfc8efda53ecfb7a53013c73586d559b9ec1faf8c95e44c0Harvest111108712021-09-21 15:07:041 day 12 hrs ago0x7ca15d92fe70a42bde148512741830af45df9173 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000728565
0x99dab7dc532175eabed5a33a2ee67b66cc4cb55caf45c8d5e5ae20ef1d92c358Withdraw111106012021-09-21 14:53:331 day 12 hrs ago0x032da4763393338882462f85fed8ccb74c00caa8 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000649935
0x4819dbdd088a49628db97a9be41dab17970a006f79fe6f144e2f023c76a3ea1fWithdraw111096982021-09-21 14:08:241 day 13 hrs ago0x76d7945c822d88f78987394fcd92d1c9f1a3118f IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000626375
0x2e9221b4d55dbbdac8bdcf76092cae34786d06fbf004934a1253aeecc7b2c456Withdraw111096822021-09-21 14:07:361 day 13 hrs ago0x76d7945c822d88f78987394fcd92d1c9f1a3118f IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000575115
0xfa7b5f8a3b1c160a20e94290723b27bee8131a726b3d86aef5a6d15d1df38370Withdraw111096672021-09-21 14:06:511 day 13 hrs ago0x76d7945c822d88f78987394fcd92d1c9f1a3118f IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000680435
0xa047de5b7445701c2ed4492c0793be0149d5102581353bf1992b32d8ce994358Withdraw111088362021-09-21 13:25:161 day 14 hrs ago0xa9e3cc65bb871544d303ac2dde315f024b89e182 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000755435
0xbc47b1e3028db172ba4aaa8f3a621ed48efdfaf6cdf6375d46b7c2cc914aa5beWithdraw110987562021-09-21 5:01:081 day 22 hrs ago0xfc16c9b153ad877c64022d8f697a2e8e286d0a1b IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000584375
0x75680e630522b1520ec8223522d13e4477362cade3d65ad0f8f19367f333f402Withdraw110987502021-09-21 5:00:501 day 22 hrs ago0x20cda8f0a96814731359f4f7c016d741d331c9d3 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.0008059
0x167cf3da24a17283da0fbdf364a77d9147e82ec6b7aee4c2d856dd3c165fdd51Harvest110987192021-09-21 4:59:171 day 22 hrs ago0xfc16c9b153ad877c64022d8f697a2e8e286d0a1b IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000653505
0x18242b799a6d4a85ff063a03a2abe39dc9fd9a12ff4b3d249819d0f9ef8070fcWithdraw110929322021-09-21 0:08:022 days 3 hrs ago0xddfb8bd6ab782b8befff31d3e163959d61a4b76c IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.00080584
0x68a7b2e9c669fbc4b187bb5699a83b03925a00331f2eefe2da60d9bc37aacfafWithdraw110860512021-09-20 18:23:142 days 9 hrs ago0x042e8d75b1e6c679e883435f4d5f9ce43a976850 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000680435
0x8d59619ce0ec5b9b0ab173316c284a2a73a76636809bf0345696bca6e3932597Withdraw110860412021-09-20 18:22:442 days 9 hrs ago0x042e8d75b1e6c679e883435f4d5f9ce43a976850 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000650055
0x304248e9d5c5b2546aca121a36f5bb5250e7bbc9f7d70fdfd314bed2d378bc3aHarvest110858592021-09-20 18:13:382 days 9 hrs ago0x3d190947ef6206761fb7cf9e7c03c55995704696 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000653505
0xc1399e6f7763d319a833c7f5903f03761eb0e1831fb493242e878bbe78c935dfWithdraw110831062021-09-20 15:55:562 days 11 hrs ago0xd45b26ec7738e5f67caff7e1c08a185538b381c2 IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000626375
0x632871b08806bae1f425133a553e8c3ecf49c1ba6161140aad4299fe89e18b74Withdraw110826392021-09-20 15:32:352 days 12 hrs ago0xc02b7d5198bddd431035dd6faf2ee1f60799dd8f IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000574995
0x5a0f79ceb729c30a645efaecc5f05a92686b9ec46bcd47d70a87754b5d8a150aWithdraw110826132021-09-20 15:31:172 days 12 hrs ago0xc02b7d5198bddd431035dd6faf2ee1f60799dd8f IN  0xe6be78800f25ffae4d1db7ca6d3485629bd200ed0 BNB0.000626375
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FairLaunch

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;




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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/6/token/TwinToken.sol

pragma solidity 0.6.6;




// TwinToken with Governance.
contract TwinToken is ERC20("TwinToken", "TWIN"), Ownable {
  uint256 private constant CAP = 100000000e18;
  uint256 private _totalLock;

  uint256 public startReleaseBlock;
  uint256 public endReleaseBlock;
  uint256 public constant MANUAL_MINT_LIMIT = 10000e18;
  uint256 public manualMinted = 0;

  mapping(address => uint256) private _locks;
  mapping(address => uint256) private _lastUnlockBlock;

  event Lock(address indexed to, uint256 value);

  constructor(uint256 _startReleaseBlock, uint256 _endReleaseBlock) public {
    require(_endReleaseBlock > _startReleaseBlock, "endReleaseBlock < startReleaseBlock");
    _setupDecimals(18);
    startReleaseBlock = _startReleaseBlock;
    endReleaseBlock = _endReleaseBlock;

    // maunalMint 10k for seeding liquidity
    manualMint(msg.sender, 10000e18);
  }

  function cap() public pure returns (uint256) {
    return CAP;
  }

  function unlockedSupply() external view returns (uint256) {
    return totalSupply().sub(totalLock());
  }

  function totalLock() public view returns (uint256) {
    return _totalLock;
  }

  function manualMint(address _to, uint256 _amount) public onlyOwner {
    require(manualMinted.add(_amount) <= MANUAL_MINT_LIMIT, "mint limit exceeded");
    manualMinted = manualMinted.add(_amount);
    mint(_to, _amount);
  }

  function mint(address _to, uint256 _amount) public onlyOwner {
    require(totalSupply().add(_amount) <= cap(), "cap exceeded");
    _mint(_to, _amount);
    _moveDelegates(address(0), _delegates[_to], _amount);
  }

  function burn(address _account, uint256 _amount) external onlyOwner {
    _burn(_account, _amount);
  }

  function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
    _transfer(_msgSender(), recipient, amount);
    _moveDelegates(_delegates[_msgSender()], _delegates[recipient], amount);
    return true;
  }

  function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
    _transfer(sender, recipient, amount);
    _approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance"));
    _moveDelegates(_delegates[sender], _delegates[recipient], amount);
    return true;
  }

  function totalBalanceOf(address _account) external view returns (uint256) {
    return _locks[_account].add(balanceOf(_account));
  }

  function lockOf(address _account) external view returns (uint256) {
    return _locks[_account];
  }

  function lastUnlockBlock(address _account) external view returns (uint256) {
    return _lastUnlockBlock[_account];
  }

  function lock(address _account, uint256 _amount) external onlyOwner {
    require(_account != address(0), "no lock to address(0)");
    require(_amount <= balanceOf(_account), "no lock over balance");

    _transfer(_account, address(this), _amount);

    _locks[_account] = _locks[_account].add(_amount);
    _totalLock = _totalLock.add(_amount);

    if (_lastUnlockBlock[_account] < startReleaseBlock) {
      _lastUnlockBlock[_account] = startReleaseBlock;
    }

    emit Lock(_account, _amount);
  }

  function canUnlockAmount(address _account) public view returns (uint256) {
    // When block number less than startReleaseBlock, no TWINs can be unlocked
    if (block.number < startReleaseBlock) {
      return 0;
    }
    // When block number more than endReleaseBlock, all locked TWINs can be unlocked
    else if (block.number >= endReleaseBlock) {
      return _locks[_account];
    }
    // When block number is more than startReleaseBlock but less than endReleaseBlock,
    // some TWINs can be released
    else
    {
      uint256 releasedBlock = block.number.sub(_lastUnlockBlock[_account]);
      uint256 blockLeft = endReleaseBlock.sub(_lastUnlockBlock[_account]);
      return _locks[_account].mul(releasedBlock).div(blockLeft);
    }
  }

  function unlock() external {
    require(_locks[msg.sender] > 0, "no locked TWINs");

    uint256 amount = canUnlockAmount(msg.sender);

    _transfer(address(this), msg.sender, amount);
    _locks[msg.sender] = _locks[msg.sender].sub(amount);
    _lastUnlockBlock[msg.sender] = block.number;
    _totalLock = _totalLock.sub(amount);
  }

  // Copied and modified from YAM code:
  // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
  // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
  // Which is copied and modified from COMPOUND:
  // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

  /// @notice A record of each accounts delegate
  mapping(address => address) internal _delegates;

  /// @notice A checkpoint for marking number of votes from a given block
  struct Checkpoint {
    uint32 fromBlock;
    uint256 votes;
  }

  /// @notice A record of votes checkpoints for each account, by index
  mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

  /// @notice The number of checkpoints for each account
  mapping(address => uint32) public numCheckpoints;

  /// @notice The EIP-712 typehash for the contract's domain
  bytes32 public constant DOMAIN_TYPEHASH = keccak256(
    "EIP712Domain(string name,uint256 chainId,address verifyingContract)"
  );

  /// @notice The EIP-712 typehash for the delegation struct used by the contract
  bytes32 public constant DELEGATION_TYPEHASH = keccak256(
    "Delegation(address delegatee,uint256 nonce,uint256 expiry)"
  );

  /// @notice A record of states for signing / validating signatures
  mapping(address => uint256) public nonces;

  /// @notice An event thats emitted when an account changes its delegate
  event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

  /// @notice An event thats emitted when a delegate account's vote balance changes
  event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

  /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegator The address to get delegatee for
    */
  function delegates(address delegator) external view returns (address) {
    return _delegates[delegator];
  }

  /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
  function delegate(address delegatee) external {
    return _delegate(msg.sender, delegatee);
  }

  /**
    * @notice Delegates votes from signatory to `delegatee`
    * @param delegatee The address to delegate votes to
    * @param nonce The contract state required to match the signature
    * @param expiry The time at which to expire the signature
    * @param v The recovery byte of the signature
    * @param r Half of the ECDSA signature pair
    * @param s Half of the ECDSA signature pair
    */
  function delegateBySig(
    address delegatee,
    uint256 nonce,
    uint256 expiry,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) external {
    bytes32 domainSeparator = keccak256(
      abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this))
    );

    bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));

    bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));

    address signatory = ecrecover(digest, v, r, s);
    require(signatory != address(0), "TWIN::delegateBySig: invalid signature");
    require(nonce == nonces[signatory]++, "TWIN::delegateBySig: invalid nonce");
    require(now <= expiry, "TWIN::delegateBySig: signature expired");
    return _delegate(signatory, delegatee);
  }

  /**
    * @notice Gets the current votes balance for `account`
    * @param account The address to get votes balance
    * @return The number of current votes for `account`
    */
  function getCurrentVotes(address account) external view returns (uint256) {
    uint32 nCheckpoints = numCheckpoints[account];
    return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
  }

  /**
    * @notice Determine the prior number of votes for an account as of a block number
    * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
    * @param account The address of the account to check
    * @param blockNumber The block number to get the vote balance at
    * @return The number of votes the account had as of the given block
    */
  function getPriorVotes(address account, uint256 blockNumber) external view returns (uint256) {
    require(blockNumber < block.number, "TWIN::getPriorVotes: not yet determined");

    uint32 nCheckpoints = numCheckpoints[account];
    if (nCheckpoints == 0) {
      return 0;
    }

    // First check most recent balance
    if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
      return checkpoints[account][nCheckpoints - 1].votes;
    }

    // Next check implicit zero balance
    if (checkpoints[account][0].fromBlock > blockNumber) {
      return 0;
    }

    uint32 lower = 0;
    uint32 upper = nCheckpoints - 1;
    while (upper > lower) {
      uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
      Checkpoint memory cp = checkpoints[account][center];
      if (cp.fromBlock == blockNumber) {
        return cp.votes;
      } else if (cp.fromBlock < blockNumber) {
        lower = center;
      } else {
        upper = center - 1;
      }
    }
    return checkpoints[account][lower].votes;
  }

  function _delegate(address delegator, address delegatee) internal {
    address currentDelegate = _delegates[delegator];
    uint256 delegatorBalance = balanceOf(delegator); // balance of underlying TWINs (not scaled);
    _delegates[delegator] = delegatee;

    emit DelegateChanged(delegator, currentDelegate, delegatee);

    _moveDelegates(currentDelegate, delegatee, delegatorBalance);
  }

  function _moveDelegates(
    address srcRep,
    address dstRep,
    uint256 amount
  ) internal {
    if (srcRep != dstRep && amount > 0) {
      if (srcRep != address(0)) {
        // decrease old representative
        uint32 srcRepNum = numCheckpoints[srcRep];
        uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
        uint256 srcRepNew = srcRepOld.sub(amount);
        _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
      }

      if (dstRep != address(0)) {
        // increase new representative
        uint32 dstRepNum = numCheckpoints[dstRep];
        uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
        uint256 dstRepNew = dstRepOld.add(amount);
        _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
      }
    }
  }

  function _writeCheckpoint(
    address delegatee,
    uint32 nCheckpoints,
    uint256 oldVotes,
    uint256 newVotes
  ) internal {
    uint32 blockNumber = safe32(block.number, "TWIN::_writeCheckpoint: block number exceeds 32 bits");

    if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
      checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
    } else {
      checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
      numCheckpoints[delegatee] = nCheckpoints + 1;
    }

    emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
  }

  function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) {
    require(n < 2**32, errorMessage);
    return uint32(n);
  }

  function getChainId() internal pure returns (uint256) {
    uint256 chainId;
    assembly {
      chainId := chainid()
    }
    return chainId;
  }
}

// File: contracts/6/token/interfaces/IFairLaunch.sol

pragma solidity 0.6.6;

interface IFairLaunch {
  function poolLength() external view returns (uint256);

  function addPool(
    uint256 _allocPoint,
    address _stakeToken,
    bool _withUpdate
  ) external;

  function setPool(
    uint256 _pid,
    uint256 _allocPoint,
    bool _withUpdate
  ) external;

  function pendingTwin(uint256 _pid, address _user) external view returns (uint256);

  function updatePool(uint256 _pid) external;

  function deposit(address _for, uint256 _pid, uint256 _amount) external;

  function withdraw(address _for, uint256 _pid, uint256 _amount) external;

  function withdrawAll(address _for, uint256 _pid) external;

  function harvest(uint256 _pid) external;
}

// File: contracts/6/token/FairLaunch.sol

pragma solidity 0.6.6;





// FairLaunch is a smart contract for distributing TWIN by asking user to stake the ERC20-based token.
contract FairLaunch is IFairLaunch, Ownable, ReentrancyGuard {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  // Info of each user.
  struct UserInfo {
    uint256 amount; // How many Staking tokens the user has provided.
    uint256 rewardDebt; // Reward debt. See explanation below.
    uint256 bonusDebt; // Last block that user exec something to the pool.
    address fundedBy; // Funded by who?
    //
    // We do some fancy math here. Basically, any point in time, the amount of TWINs
    // entitled to a user but is pending to be distributed is:
    //
    //   pending reward = (user.amount * pool.accTwinPerShare) - user.rewardDebt
    //
    // Whenever a user deposits or withdraws Staking tokens to a pool. Here's what happens:
    //   1. The pool's `accTwinPerShare` (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 {
    address stakeToken; // Address of Staking token contract.
    uint256 allocPoint; // How many allocation points assigned to this pool. TWINs to distribute per block.
    uint256 lastRewardBlock; // Last block number that TWINs distribution occurs.
    uint256 accTwinPerShare; // Accumulated TWINs per share, times 1e12. See below.
    uint256 accTwinPerShareTilBonusEnd; // Accumated TWINs per share until Bonus End.
  }

  // The Twin TOKEN!
  TwinToken public twin;
  // Dev address.
  address public devaddr;
  // TWIN tokens created per block.
  uint256 public twinPerBlock;
  // Bonus muliplier for early twin makers.
  uint256 public bonusMultiplier;
  // Block number when bonus TWIN period ends.
  uint256 public bonusEndBlock;
  // Bonus lock-up in BPS
  uint256 public bonusLockUpBps;

  // Info of each pool.
  PoolInfo[] public poolInfo;
  // Info of each user that stakes Staking tokens.
  mapping(uint256 => mapping(address => UserInfo)) public userInfo;
  // Total allocation poitns. Must be the sum of all allocation points in all pools.
  uint256 public totalAllocPoint;
  // The block number when TWIN 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);

  constructor(
    TwinToken _twin,
    address _devaddr,
    uint256 _twinPerBlock,
    uint256 _startBlock,
    uint256 _bonusLockupBps,
    uint256 _bonusEndBlock
  ) public {
    bonusMultiplier = 0;
    totalAllocPoint = 0;
    twin = _twin;
    devaddr = _devaddr;
    twinPerBlock = _twinPerBlock;
    bonusLockUpBps = _bonusLockupBps;
    bonusEndBlock = _bonusEndBlock;
    startBlock = _startBlock;
  }

  /*
  ██████╗░░█████╗░██████╗░░█████╗░███╗░░░███╗  ░██████╗███████╗████████╗████████╗███████╗██████╗░
  ██╔══██╗██╔══██╗██╔══██╗██╔══██╗████╗░████║  ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗
  ██████╔╝███████║██████╔╝███████║██╔████╔██║  ╚█████╗░█████╗░░░░░██║░░░░░░██║░░░█████╗░░██████╔╝
  ██╔═══╝░██╔══██║██╔══██╗██╔══██║██║╚██╔╝██║  ░╚═══██╗██╔══╝░░░░░██║░░░░░░██║░░░██╔══╝░░██╔══██╗
  ██║░░░░░██║░░██║██║░░██║██║░░██║██║░╚═╝░██║  ██████╔╝███████╗░░░██║░░░░░░██║░░░███████╗██║░░██║
  ╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝  ╚═════╝░╚══════╝░░░╚═╝░░░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝
  */

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

  function setTwinPerBlock(uint256 _twinPerBlock) external onlyOwner {
    twinPerBlock = _twinPerBlock;
  }

  // Set Bonus params. bonus will start to accu on the next block that this function executed
  // See the calculation and counting in test file.
  function setBonus(
    uint256 _bonusMultiplier,
    uint256 _bonusEndBlock,
    uint256 _bonusLockUpBps
  ) external onlyOwner {
    require(_bonusEndBlock > block.number, "setBonus: bad bonusEndBlock");
    require(_bonusMultiplier > 1, "setBonus: bad bonusMultiplier");
    bonusMultiplier = _bonusMultiplier;
    bonusEndBlock = _bonusEndBlock;
    bonusLockUpBps = _bonusLockUpBps;
  }

  // Add a new lp to the pool. Can only be called by the owner.
  function addPool(
    uint256 _allocPoint,
    address _stakeToken,
    bool _withUpdate
  ) external override onlyOwner {
    if (_withUpdate) {
      massUpdatePools();
    }
    require(_stakeToken != address(0), "add: not stakeToken addr");
    require(!isDuplicatedPool(_stakeToken), "add: stakeToken dup");
    uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
    totalAllocPoint = totalAllocPoint.add(_allocPoint);
    poolInfo.push(
      PoolInfo({
        stakeToken: _stakeToken,
        allocPoint: _allocPoint,
        lastRewardBlock: lastRewardBlock,
        accTwinPerShare: 0,
        accTwinPerShareTilBonusEnd: 0
      })
    );
  }

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

  /*
  ░██╗░░░░░░░██╗░█████╗░██████╗░██╗░░██╗
  ░██║░░██╗░░██║██╔══██╗██╔══██╗██║░██╔╝
  ░╚██╗████╗██╔╝██║░░██║██████╔╝█████═╝░
  ░░████╔═████║░██║░░██║██╔══██╗██╔═██╗░
  ░░╚██╔╝░╚██╔╝░╚█████╔╝██║░░██║██║░╚██╗
  ░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝
  */

  function isDuplicatedPool(address _stakeToken) public view returns (bool) {
    uint256 length = poolInfo.length;
    for (uint256 _pid = 0; _pid < length; _pid++) {
      if(poolInfo[_pid].stakeToken == _stakeToken) return true;
    }
    return false;
  }

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

  function manualMint(address _to, uint256 _amount) external onlyOwner {
    twin.manualMint(_to, _amount);
  }

  // Return reward multiplier over the given _from to _to block.
  function getMultiplier(uint256 _lastRewardBlock, uint256 _currentBlock) public view returns (uint256) {
    if (_currentBlock <= bonusEndBlock) {
      return _currentBlock.sub(_lastRewardBlock).mul(bonusMultiplier);
    }
    if (_lastRewardBlock >= bonusEndBlock) {
      return _currentBlock.sub(_lastRewardBlock);
    }
    // This is the case where bonusEndBlock is in the middle of _lastRewardBlock and _currentBlock block.
    return bonusEndBlock.sub(_lastRewardBlock).mul(bonusMultiplier).add(_currentBlock.sub(bonusEndBlock));
  }

  // View function to see pending TWINs on frontend.
  function pendingTwin(uint256 _pid, address _user) external override view returns (uint256) {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][_user];
    uint256 accTwinPerShare = pool.accTwinPerShare;
    uint256 lpSupply = IERC20(pool.stakeToken).balanceOf(address(this));
    if (block.number > pool.lastRewardBlock && lpSupply != 0) {
      uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
      uint256 twinReward = multiplier.mul(twinPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
      accTwinPerShare = accTwinPerShare.add(twinReward.mul(1e12).div(lpSupply));
    }
    return user.amount.mul(accTwinPerShare).div(1e12).sub(user.rewardDebt);
  }

  // Update reward vairables 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 override {
    PoolInfo storage pool = poolInfo[_pid];
    if (block.number <= pool.lastRewardBlock) {
      return;
    }
    uint256 lpSupply = IERC20(pool.stakeToken).balanceOf(address(this));
    if (lpSupply == 0) {
      pool.lastRewardBlock = block.number;
      return;
    }
    uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
    uint256 twinReward = multiplier.mul(twinPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
    uint256 devReward = (twinReward.mul(43).div(100));
    twin.mint(devaddr, devReward);
    twin.mint(address(this), twinReward);
    pool.accTwinPerShare = pool.accTwinPerShare.add(twinReward.mul(1e12).div(lpSupply));
    // update accTwinPerShareTilBonusEnd
    if (block.number <= bonusEndBlock) {
      twin.lock(devaddr, devReward.mul(bonusLockUpBps).div(10000));
      pool.accTwinPerShareTilBonusEnd = pool.accTwinPerShare;
    }
    if(block.number > bonusEndBlock && pool.lastRewardBlock < bonusEndBlock) {
      uint256 twinBonusPortion = bonusEndBlock.sub(pool.lastRewardBlock).mul(bonusMultiplier).mul(twinPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
      twin.lock(devaddr, (twinBonusPortion.mul(43).div(100)).mul(bonusLockUpBps).div(10000));
      pool.accTwinPerShareTilBonusEnd = pool.accTwinPerShareTilBonusEnd.add(twinBonusPortion.mul(1e12).div(lpSupply));
    }
    pool.lastRewardBlock = block.number;
  }

  // Deposit Staking tokens to FairLaunchToken for TWIN allocation.
  function deposit(address _for, uint256 _pid, uint256 _amount) external override nonReentrant {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][_for];
    if (user.fundedBy != address(0)) require(user.fundedBy == msg.sender, "bad sof");
    require(pool.stakeToken != address(0), "deposit: not accept deposit");
    updatePool(_pid);
    if (user.amount > 0) _harvest(_for, _pid);
    if (user.fundedBy == address(0)) user.fundedBy = msg.sender;
    IERC20(pool.stakeToken).safeTransferFrom(address(msg.sender), address(this), _amount);
    user.amount = user.amount.add(_amount);
    user.rewardDebt = user.amount.mul(pool.accTwinPerShare).div(1e12);
    user.bonusDebt = user.amount.mul(pool.accTwinPerShareTilBonusEnd).div(1e12);
    emit Deposit(msg.sender, _pid, _amount);
  }

  // Withdraw Staking tokens from FairLaunchToken.
  function withdraw(address _for, uint256 _pid, uint256 _amount) external override nonReentrant {
    _withdraw(_for, _pid, _amount);
  }

  function withdrawAll(address _for, uint256 _pid) external override nonReentrant {
    _withdraw(_for, _pid, userInfo[_pid][_for].amount);
  }

  function _withdraw(address _for, uint256 _pid, uint256 _amount) internal {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][_for];
    require(user.fundedBy == msg.sender, "only funder");
    require(user.amount >= _amount, "withdraw: not good");
    updatePool(_pid);
    _harvest(_for, _pid);
    user.amount = user.amount.sub(_amount);
    user.rewardDebt = user.amount.mul(pool.accTwinPerShare).div(1e12);
    user.bonusDebt = user.amount.mul(pool.accTwinPerShareTilBonusEnd).div(1e12);
    if (user.amount == 0) user.fundedBy = address(0);
    if (pool.stakeToken != address(0)) {
      IERC20(pool.stakeToken).safeTransfer(address(msg.sender), _amount);
    }
    emit Withdraw(msg.sender, _pid, user.amount);
  }

  // Harvest TWINs earn from the pool.
  function harvest(uint256 _pid) external override nonReentrant {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][msg.sender];
    updatePool(_pid);
    _harvest(msg.sender, _pid);
    user.rewardDebt = user.amount.mul(pool.accTwinPerShare).div(1e12);
    user.bonusDebt = user.amount.mul(pool.accTwinPerShareTilBonusEnd).div(1e12);
  }

  function _harvest(address _to, uint256 _pid) internal {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][_to];
    require(user.amount > 0, "nothing to harvest");
    uint256 pending = user.amount.mul(pool.accTwinPerShare).div(1e12).sub(user.rewardDebt);
    require(pending <= twin.balanceOf(address(this)), "wtf not enough twin");
    uint256 bonus = user.amount.mul(pool.accTwinPerShareTilBonusEnd).div(1e12).sub(user.bonusDebt);
    safeTwinTransfer(_to, pending);
    twin.lock(_to, bonus.mul(bonusLockUpBps).div(10000));
  }

  // Withdraw without caring about rewards. EMERGENCY ONLY.
  function emergencyWithdraw(uint256 _pid) external nonReentrant {
    PoolInfo storage pool = poolInfo[_pid];
    UserInfo storage user = userInfo[_pid][msg.sender];
    require(user.fundedBy == msg.sender, "only funder");
    IERC20(pool.stakeToken).safeTransfer(address(msg.sender), user.amount);
    emit EmergencyWithdraw(msg.sender, _pid, user.amount);
    user.amount = 0;
    user.rewardDebt = 0;
    user.fundedBy = address(0);
  }

    // Safe twin transfer function, just in case if rounding error causes pool to not have enough TWINs.
  function safeTwinTransfer(address _to, uint256 _amount) internal {
    uint256 twinBal = twin.balanceOf(address(this));
    if (_amount > twinBal) {
      require(twin.transfer(_to, twinBal), "failed to transfer TWIN");
    } else {
      require(twin.transfer(_to, _amount), "failed to transfer TWIN");
    }
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract TwinToken","name":"_twin","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_twinPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusLockupBps","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","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":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"address","name":"_stakeToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusLockUpBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","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":"_lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"_currentBlock","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakeToken","type":"address"}],"name":"isDuplicatedPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"manualMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","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":"pendingTwin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"address","name":"stakeToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTwinPerShare","type":"uint256"},{"internalType":"uint256","name":"accTwinPerShareTilBonusEnd","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":[{"internalType":"uint256","name":"_bonusMultiplier","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusLockUpBps","type":"uint256"}],"name":"setBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"name":"setPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_twinPerBlock","type":"uint256"}],"name":"setTwinPerBlock","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":[],"name":"twin","outputs":[{"internalType":"contract TwinToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"twinPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"internalType":"uint256","name":"bonusDebt","type":"uint256"},{"internalType":"address","name":"fundedBy","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051620027a3380380620027a3833981810160405260c081101561003557600080fd5b508051602082015160408301516060840151608085015160a0909501519394929391929091600061006d6001600160e01b0361010c16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805560006005819055600a55600280546001600160a01b039788166001600160a01b0319918216179091556003805496909716951694909417909455600491909155600792909255600655600b55610110565b3390565b61268380620001206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637d1924d411610104578063cbdec1fc116100a2578063ddc6326211610071578063ddc6326214610511578063e4c5ff461461052e578063f2fde38b1461055a578063fa5be8f814610580576101da565b8063cbdec1fc146104af578063cc6dbc27146104b7578063d477f05f146104e3578063d49e77cd14610509576101da565b806393f1a40b116100de57806393f1a40b146103e0578063a8b973a11461043b578063b03df69d14610443578063b5c5f6721461047d576101da565b80637d1924d4146103ad5780638da5cb5b146103b55780638dbb1e3a146103bd576101da565b806346ca6bea1161017c5780635312ea8e1161014b5780635312ea8e1461034c578063630b5ba114610369578063715018a6146103715780637abceffd14610379576101da565b806346ca6bea146102d857806348cd4cb1146103035780634bdcfbd11461030b57806351eb05a61461032f576101da565b80631526fe27116101b85780631526fe271461024a57806317caf6f11461029c5780631aed6553146102a45780631b1f2151146102ac576101da565b8063081e3eda146101df5780630cbbb6fb146101f95780630efe6a8b14610218575b600080fd5b6101e76105a9565b60408051918252519081900360200190f35b6102166004803603602081101561020f57600080fd5b50356105af565b005b6102166004803603606081101561022e57600080fd5b506001600160a01b038135169060208101359060400135610616565b6102676004803603602081101561026057600080fd5b5035610863565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101e76108ab565b6101e76108b1565b6101e7600480360360408110156102c257600080fd5b50803590602001356001600160a01b03166108b7565b610216600480360360608110156102ee57600080fd5b50803590602081013590604001351515610a3b565b6101e7610b16565b610313610b1c565b604080516001600160a01b039092168252519081900360200190f35b6102166004803603602081101561034557600080fd5b5035610b2b565b6102166004803603602081101561036257600080fd5b5035610f35565b61021661108c565b6102166110af565b6102166004803603606081101561038f57600080fd5b508035906001600160a01b036020820135169060400135151561115b565b6101e76113bf565b6103136113c5565b6101e7600480360360408110156103d357600080fd5b50803590602001356113d4565b61040c600480360360408110156103f657600080fd5b50803590602001356001600160a01b0316611450565b604080519485526020850193909352838301919091526001600160a01b03166060830152519081900360800190f35b6101e761148b565b6104696004803603602081101561045957600080fd5b50356001600160a01b0316611491565b604080519115158252519081900360200190f35b6102166004803603606081101561049357600080fd5b506001600160a01b0381351690602081013590604001356114f7565b6101e7611556565b610216600480360360408110156104cd57600080fd5b506001600160a01b03813516906020013561155c565b610216600480360360208110156104f957600080fd5b50356001600160a01b03166115df565b61031361164c565b6102166004803603602081101561052757600080fd5b503561165b565b6102166004803603604081101561054457600080fd5b506001600160a01b038135169060200135611748565b6102166004803603602081101561057057600080fd5b50356001600160a01b031661181b565b6102166004803603606081101561059657600080fd5b508035906020810135906040013561191d565b60085490565b6105b7611a36565b6001600160a01b03166105c86113c5565b6001600160a01b031614610611576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b600455565b6002600154141561065c576040805162461bcd60e51b815260206004820152601f6024820152600080516020612577833981519152604482015290519081900360640190fd5b600260018190555060006008838154811061067357fe5b600091825260208083208684526009825260408085206001600160a01b03808b168752935290932060038101546005909302909301935016156106fb5760038101546001600160a01b031633146106fb576040805162461bcd60e51b81526020600482015260076024820152663130b21039b7b360c91b604482015290519081900360640190fd5b81546001600160a01b0316610757576040805162461bcd60e51b815260206004820152601b60248201527f6465706f7369743a206e6f7420616363657074206465706f7369740000000000604482015290519081900360640190fd5b61076084610b2b565b805415610771576107718585611a3a565b60038101546001600160a01b0316610798576003810180546001600160a01b031916331790555b81546107b5906001600160a01b031633308663ffffffff611c9016565b80546107c7908463ffffffff611cf016565b80825560038301546107f69164e8d4a51000916107ea919063ffffffff611d4a16565b9063ffffffff611da316565b60018201556004820154815461081c9164e8d4a51000916107ea9163ffffffff611d4a16565b6002820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b6008818154811061087057fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b600a5481565b60065481565b600080600884815481106108c757fe5b600091825260208083208784526009825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561094157600080fd5b505afa158015610955573d6000803e3d6000fd5b505050506040513d602081101561096b57600080fd5b505160028501549091504311801561098257508015155b156109fa5760006109978560020154436113d4565b905060006109ca600a546107ea88600101546109be60045487611d4a90919063ffffffff16565b9063ffffffff611d4a16565b90506109f56109e8846107ea8464e8d4a5100063ffffffff611d4a16565b859063ffffffff611cf016565b935050505b610a2e8360010154610a2264e8d4a510006107ea868860000154611d4a90919063ffffffff16565b9063ffffffff611e0a16565b9450505050505b92915050565b610a43611a36565b6001600160a01b0316610a546113c5565b6001600160a01b031614610a9d576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b610aa561108c565b610ae882610adc60088681548110610ab957fe5b906000526020600020906005020160010154600a54611e0a90919063ffffffff16565b9063ffffffff611cf016565b600a819055508160088481548110610afc57fe5b906000526020600020906005020160010181905550505050565b600b5481565b6002546001600160a01b031681565b600060088281548110610b3a57fe5b9060005260206000209060050201905080600201544311610b5b5750610f32565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ba557600080fd5b505afa158015610bb9573d6000803e3d6000fd5b505050506040513d6020811015610bcf57600080fd5b5051905080610be5575043600290910155610f32565b6000610bf58360020154436113d4565b90506000610c1c600a546107ea86600101546109be60045487611d4a90919063ffffffff16565b90506000610c3660646107ea84602b63ffffffff611d4a16565b600254600354604080516340c10f1960e01b81526001600160a01b0392831660048201526024810185905290519394509116916340c10f199160448082019260009290919082900301818387803b158015610c9057600080fd5b505af1158015610ca4573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810187905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610cfb57600080fd5b505af1158015610d0f573d6000803e3d6000fd5b50505050610d43610d32856107ea64e8d4a5100086611d4a90919063ffffffff16565b60038701549063ffffffff611cf016565b60038601556006544311610df9576002546003546007546001600160a01b039283169263282d3fdf921690610d8790612710906107ea90879063ffffffff611d4a16565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610dd657600080fd5b505af1158015610dea573d6000803e3d6000fd5b50505060038601546004870155505b60065443118015610e0f57506006548560020154105b15610f23576000610e49600a546107ea88600101546109be6004546109be6005546109be8e60020154600654611e0a90919063ffffffff16565b6002546003546007549293506001600160a01b039182169263282d3fdf9290911690610e8590612710906107ea906109be6064838a602b611d4a565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610ed457600080fd5b505af1158015610ee8573d6000803e3d6000fd5b50505050610f1c610f0b866107ea64e8d4a5100085611d4a90919063ffffffff16565b60048801549063ffffffff611cf016565b6004870155505b43856002018190555050505050505b50565b60026001541415610f7b576040805162461bcd60e51b815260206004820152601f6024820152600080516020612577833981519152604482015290519081900360640190fd5b6002600181905550600060088281548110610f9257fe5b600091825260208083208584526009825260408085203380875293529093206003810154600590930290930193506001600160a01b03919091161461100c576040805162461bcd60e51b815260206004820152600b60248201526a37b7363c90333ab73232b960a91b604482015290519081900360640190fd5b8054825461102d916001600160a01b0390911690339063ffffffff611e6716565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a36000808255600180830191909155600390910180546001600160a01b031916905580555050565b60085460005b818110156110ab576110a381610b2b565b600101611092565b5050565b6110b7611a36565b6001600160a01b03166110c86113c5565b6001600160a01b031614611111576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b611163611a36565b6001600160a01b03166111746113c5565b6001600160a01b0316146111bd576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b80156111cb576111cb61108c565b6001600160a01b038216611226576040805162461bcd60e51b815260206004820152601860248201527f6164643a206e6f74207374616b65546f6b656e20616464720000000000000000604482015290519081900360640190fd5b61122f82611491565b15611277576040805162461bcd60e51b815260206004820152601360248201527206164643a207374616b65546f6b656e2064757606c1b604482015290519081900360640190fd5b6000600b54431161128a57600b5461128c565b435b600a549091506112a2908563ffffffff611cf016565b600a556040805160a0810182526001600160a01b039485168152602081019586529081019182526000606082018181526080830182815260088054600181018255935292517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600590930292830180546001600160a01b031916919097161790955594517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee486015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee585015591517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee684015550517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee790910155565b60045481565b6000546001600160a01b031690565b600060065482116113fd576005546113f6906109be848663ffffffff611e0a16565b9050610a35565b6006548310611416576113f6828463ffffffff611e0a16565b61144961142e60065484611e0a90919063ffffffff16565b610adc6005546109be87600654611e0a90919063ffffffff16565b9392505050565b60096020908152600092835260408084209091529082529020805460018201546002830154600390930154919290916001600160a01b031684565b60055481565b600854600090815b818110156114eb57836001600160a01b0316600882815481106114b857fe5b60009182526020909120600590910201546001600160a01b031614156114e3576001925050506114f2565b600101611499565b5060009150505b919050565b6002600154141561153d576040805162461bcd60e51b815260206004820152601f6024820152600080516020612577833981519152604482015290519081900360640190fd5b600260015561154d838383611ebe565b50506001805550565b60075481565b600260015414156115a2576040805162461bcd60e51b815260206004820152601f6024820152600080516020612577833981519152604482015290519081900360640190fd5b600260015560008181526009602090815260408083206001600160a01b03861684529091529020546115d79083908390611ebe565b505060018055565b6003546001600160a01b0316331461162a576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b600260015414156116a1576040805162461bcd60e51b815260206004820152601f6024820152600080516020612577833981519152604482015290519081900360640190fd5b60026001819055506000600882815481106116b857fe5b600091825260208083208584526009825260408085203386529092529220600590910290910191506116e983610b2b565b6116f33384611a3a565b600382015481546117149164e8d4a51000916107ea9163ffffffff611d4a16565b60018201556004820154815461173a9164e8d4a51000916107ea9163ffffffff611d4a16565b600290910155505060018055565b611750611a36565b6001600160a01b03166117616113c5565b6001600160a01b0316146117aa576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b60025460408051637262ffa360e11b81526001600160a01b038581166004830152602482018590529151919092169163e4c5ff4691604480830192600092919082900301818387803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505050505050565b611823611a36565b6001600160a01b03166118346113c5565b6001600160a01b03161461187d576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b6001600160a01b0381166118c25760405162461bcd60e51b81526004018080602001828103825260268152602001806125976026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611925611a36565b6001600160a01b03166119366113c5565b6001600160a01b03161461197f576040805162461bcd60e51b81526020600482018190526024820152600080516020612604833981519152604482015290519081900360640190fd5b4382116119d3576040805162461bcd60e51b815260206004820152601b60248201527f736574426f6e75733a2062616420626f6e7573456e64426c6f636b0000000000604482015290519081900360640190fd5b60018311611a28576040805162461bcd60e51b815260206004820152601d60248201527f736574426f6e75733a2062616420626f6e75734d756c7469706c696572000000604482015290519081900360640190fd5b600592909255600655600755565b3390565b600060088281548110611a4957fe5b600091825260208083208584526009825260408085206001600160a01b03891686529092529220805460059092029092019250611ac2576040805162461bcd60e51b81526020600482015260126024820152711b9bdd1a1a5b99c81d1bc81a185c9d995cdd60721b604482015290519081900360640190fd5b6000611af08260010154610a2264e8d4a510006107ea87600301548760000154611d4a90919063ffffffff16565b600254604080516370a0823160e01b815230600482015290519293506001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015611b3e57600080fd5b505afa158015611b52573d6000803e3d6000fd5b505050506040513d6020811015611b6857600080fd5b5051811115611bb4576040805162461bcd60e51b81526020600482015260136024820152723bba33103737ba1032b737bab3b4103a3bb4b760691b604482015290519081900360640190fd5b6000611be28360020154610a2264e8d4a510006107ea88600401548860000154611d4a90919063ffffffff16565b9050611bee8683612088565b6002546007546001600160a01b039091169063282d3fdf908890611c2190612710906107ea90879063ffffffff611d4a16565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015611c7057600080fd5b505af1158015611c84573d6000803e3d6000fd5b50505050505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611cea9085906122a8565b50505050565b600082820183811015611449576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611d5957506000610a35565b82820282848281611d6657fe5b04146114495760405162461bcd60e51b81526004018080602001828103825260218152602001806125e36021913960400191505060405180910390fd5b6000808211611df9576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611e0257fe5b049392505050565b600082821115611e61576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611eb99084906122a8565b505050565b600060088381548110611ecd57fe5b600091825260208083208684526009825260408085206001600160a01b03808b1687529352909320600381015460059093029093019350163314611f46576040805162461bcd60e51b815260206004820152600b60248201526a37b7363c90333ab73232b960a91b604482015290519081900360640190fd5b8054831115611f91576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b611f9a84610b2b565b611fa48585611a3a565b8054611fb6908463ffffffff611e0a16565b8082556003830154611fd99164e8d4a51000916107ea919063ffffffff611d4a16565b600182015560048201548154611fff9164e8d4a51000916107ea9163ffffffff611d4a16565b6002820155805461201d576003810180546001600160a01b03191690555b81546001600160a01b031615612049578154612049906001600160a01b0316338563ffffffff611e6716565b80546040805191825251859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156120d357600080fd5b505afa1580156120e7573d6000803e3d6000fd5b505050506040513d60208110156120fd57600080fd5b50519050808211156121db576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561215f57600080fd5b505af1158015612173573d6000803e3d6000fd5b505050506040513d602081101561218957600080fd5b50516121d6576040805162461bcd60e51b81526020600482015260176024820152763330b4b632b2103a37903a3930b739b332b9102a2ba4a760491b604482015290519081900360640190fd5b611eb9565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561223157600080fd5b505af1158015612245573d6000803e3d6000fd5b505050506040513d602081101561225b57600080fd5b5051611eb9576040805162461bcd60e51b81526020600482015260176024820152763330b4b632b2103a37903a3930b739b332b9102a2ba4a760491b604482015290519081900360640190fd5b60606122fd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123599092919063ffffffff16565b805190915015611eb95780806020019051602081101561231c57600080fd5b5051611eb95760405162461bcd60e51b815260040180806020018281038252602a815260200180612624602a913960400191505060405180910390fd5b60606123688484600085612370565b949350505050565b6060824710156123b15760405162461bcd60e51b81526004018080602001828103825260268152602001806125bd6026913960400191505060405180910390fd5b6123ba856124cc565b61240b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061244a5780518252601f19909201916020918201910161242b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124ac576040519150601f19603f3d011682016040523d82523d6000602084013e6124b1565b606091505b50915091506124c18282866124d2565b979650505050505050565b3b151590565b606083156124e1575081611449565b8251156124f15782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561253b578181015183820152602001612523565b50505050905090810190601f1680156125685780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122084552bdbe94851c71e4b99cd3a5ad8313211ade95f16b2af18127b4a6e5e7dfb64736f6c634300060600330000000000000000000000003806aae953a3a873d02595f76c7698a57d4c7a5700000000000000000000000036e55406fab7a11f3fa030fb2eee20b60cddb64f0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000007887820000000000000000000000000000000000000000000000000000000000001b5800000000000000000000000000000000000000000000000000000000007b926a

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

0000000000000000000000003806aae953a3a873d02595f76c7698a57d4c7a5700000000000000000000000036e55406fab7a11f3fa030fb2eee20b60cddb64f0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000007887820000000000000000000000000000000000000000000000000000000000001b5800000000000000000000000000000000000000000000000000000000007b926a

-----Decoded View---------------
Arg [0] : _twin (address): 0x3806aae953a3a873d02595f76c7698a57d4c7a57
Arg [1] : _devaddr (address): 0x36e55406fab7a11f3fa030fb2eee20b60cddb64f
Arg [2] : _twinPerBlock (uint256): 10000000000000000000
Arg [3] : _startBlock (uint256): 7899010
Arg [4] : _bonusLockupBps (uint256): 7000
Arg [5] : _bonusEndBlock (uint256): 8098410

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000003806aae953a3a873d02595f76c7698a57d4c7a57
Arg [1] : 00000000000000000000000036e55406fab7a11f3fa030fb2eee20b60cddb64f
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000788782
Arg [4] : 0000000000000000000000000000000000000000000000000000000000001b58
Arg [5] : 00000000000000000000000000000000000000000000000000000000007b926a


Deployed ByteCode Sourcemap

52467:15070:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52467:15070:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;60149:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;57335:108;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;57335:108:0;;:::i;:::-;;63623:832;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;63623:832:0;;;;;;;;;;;;;:::i;54384:26::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54384:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;54384:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54622:30;;;:::i;54263:28::-;;;:::i;61045:731::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;61045:731:0;;;;;;-1:-1:-1;;;;;61045:731:0;;:::i;58864:288::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;58864:288:0;;;;;;;;;;;;;;:::i;54705:25::-;;;:::i;53994:21::-;;;:::i;:::-;;;;-1:-1:-1;;;;;53994:21:0;;;;;;;;;;;;;;62087:1461;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;62087:1461:0;;:::i;66653:447::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;66653:447:0;;:::i;61855:160::-;;;:::i;27723:148::-;;;:::i;58068:704::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;58068:704:0;;;-1:-1:-1;;;;;58068:704:0;;;;;;;;;;;;:::i;54103:27::-;;;:::i;27072:87::-;;;:::i;60436:549::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60436:549:0;;;;;;;:::i;54467:64::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54467:64:0;;;;;;-1:-1:-1;;;;;54467:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54467:64:0;;;;;;;;;;;;;;54180:30;;;:::i;59880:263::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59880:263:0;-1:-1:-1;;;;;59880:263:0;;:::i;:::-;;;;;;;;;;;;;;;;;;64513:137;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;64513:137:0;;;;;;;;;;;;;:::i;54323:29::-;;;:::i;64656:143::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;64656:143:0;;;;;;;;:::i;57207:122::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;57207:122:0;-1:-1:-1;;;;;57207:122:0;;:::i;54039:22::-;;;:::i;65623:380::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;65623:380:0;;:::i;60253:111::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;60253:111:0;;;;;;;;:::i;28026:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;28026:244:0;-1:-1:-1;;;;;28026:244:0;;:::i;57597:400::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;57597:400:0;;;;;;;;;;;;:::i;60149:98::-;60226:8;:15;60149:98;:::o;57335:108::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;57409:12:::1;:28:::0;57335:108::o;63623:832::-;23954:1;24560:7;;:19;;24552:63;;;;;-1:-1:-1;;;24552:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24552:63:0;;;;;;;;;;;;;;;23954:1;24693:7;:18;;;;63723:21:::1;63747:8;63756:4;63747:14;;;;;;;;;::::0;;;::::1;::::0;;;63792;;;:8:::1;:14:::0;;;;;;-1:-1:-1;;;;;63792:20:0;;::::1;::::0;;;;;;;63823:13:::1;::::0;::::1;::::0;63747:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;63823:13:0::1;:27:::0;63819:80:::1;;63860:13;::::0;::::1;::::0;-1:-1:-1;;;;;63860:13:0::1;63877:10;63860:27;63852:47;;;::::0;;-1:-1:-1;;;63852:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;63852:47:0;;;;;;;;;;;;;::::1;;63914:15:::0;;-1:-1:-1;;;;;63914:15:0::1;63906:69;;;::::0;;-1:-1:-1;;;63906:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;63982:16;63993:4;63982:10;:16::i;:::-;64009:11:::0;;:15;64005:41:::1;;64026:20;64035:4;64041;64026:8;:20::i;:::-;64057:13;::::0;::::1;::::0;-1:-1:-1;;;;;64057:13:0::1;64053:59;;64086:13;::::0;::::1;:26:::0;;-1:-1:-1;;;;;;64086:26:0::1;64102:10;64086:26;::::0;;64053:59:::1;64126:15:::0;;64119:85:::1;::::0;-1:-1:-1;;;;;64126:15:0::1;64168:10;64189:4;64196:7:::0;64119:85:::1;:40;:85;:::i;:::-;64225:11:::0;;:24:::1;::::0;64241:7;64225:24:::1;:15;:24;:::i;:::-;64211:38:::0;;;64290:20:::1;::::0;::::1;::::0;64274:47:::1;::::0;64316:4:::1;::::0;64274:37:::1;::::0;64211:38;64274:37:::1;:15;:37;:::i;:::-;:41:::0;:47:::1;:41;:47;:::i;:::-;64256:15;::::0;::::1;:65:::0;64361:31:::1;::::0;::::1;::::0;64345:11;;:58:::1;::::0;64398:4:::1;::::0;64345:48:::1;::::0;::::1;:15;:48;:::i;:58::-;64328:14;::::0;::::1;:75:::0;64415:34:::1;::::0;;;;;;;64435:4;;64423:10:::1;::::0;64415:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;23910:1:0;24872:22;;-1:-1:-1;;;63623:832:0:o;54384:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54384:26:0;;;;-1:-1:-1;54384:26:0;;;;;:::o;54622:30::-;;;;:::o;54263:28::-;;;;:::o;61045:731::-;61127:7;61143:21;61167:8;61176:4;61167:14;;;;;;;;;;;;;;;;61212;;;:8;:14;;;;;;-1:-1:-1;;;;;61212:21:0;;;;;;;;;;;61167:14;;;;;;;;61266:20;;;;61319:15;;61312:48;;-1:-1:-1;;;61312:48:0;;61354:4;61312:48;;;;;;61167:14;;-1:-1:-1;61212:21:0;;61266:20;;61167:14;;61319:15;;;61312:33;;:48;;;;;;;;;;;61319:15;61312:48;;;2:2:-1;;;;27:1;24;17:12;2:2;61312:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61312:48:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;61312:48:0;61386:20;;;;61312:48;;-1:-1:-1;61371:12:0;:35;:52;;;;-1:-1:-1;61410:13:0;;;61371:52;61367:327;;;61434:18;61455:49;61469:4;:20;;;61491:12;61455:13;:49::i;:::-;61434:70;;61513:18;61534:70;61588:15;;61534:49;61567:4;:15;;;61534:28;61549:12;;61534:10;:14;;:28;;;;:::i;:::-;:32;:49;:32;:49;:::i;:70::-;61513:91;-1:-1:-1;61631:55:0;61651:34;61676:8;61651:20;61513:91;61666:4;61651:20;:14;:20;:::i;:34::-;61631:15;;:55;:19;:55;:::i;:::-;61613:73;;61367:327;;;61707:63;61754:4;:15;;;61707:42;61744:4;61707:32;61723:15;61707:4;:11;;;:15;;:32;;;;:::i;:42::-;:46;:63;:46;:63;:::i;:::-;61700:70;;;;;;61045:731;;;;;:::o;58864:288::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;58995:17:::1;:15;:17::i;:::-;59037:63;59088:11;59037:46;59057:8;59066:4;59057:14;;;;;;;;;;;;;;;;;;:25;;;59037:15;;:19;;:46;;;;:::i;:::-;:50:::0;:63:::1;:50;:63;:::i;:::-;59019:15;:81;;;;59135:11;59107:8;59116:4;59107:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;58864:288:::0;;;:::o;54705:25::-;;;;:::o;53994:21::-;;;-1:-1:-1;;;;;53994:21:0;;:::o;62087:1461::-;62144:21;62168:8;62177:4;62168:14;;;;;;;;;;;;;;;;;;62144:38;;62209:4;:20;;;62193:12;:36;62189:65;;62240:7;;;62189:65;62286:15;;62279:48;;;-1:-1:-1;;;62279:48:0;;62321:4;62279:48;;;;;;62260:16;;-1:-1:-1;;;;;62286:15:0;;62279:33;;:48;;;;;;;;;;;;;;62286:15;62279:48;;;2:2:-1;;;;27:1;24;17:12;2:2;62279:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62279:48:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;62279:48:0;;-1:-1:-1;62338:13:0;62334:86;;-1:-1:-1;62385:12:0;62362:20;;;;:35;62406:7;;62334:86;62426:18;62447:49;62461:4;:20;;;62483:12;62447:13;:49::i;:::-;62426:70;;62503:18;62524:70;62578:15;;62524:49;62557:4;:15;;;62524:28;62539:12;;62524:10;:14;;:28;;;;:::i;:70::-;62503:91;-1:-1:-1;62601:17:0;62622:27;62645:3;62622:18;62503:91;62637:2;62622:18;:14;:18;:::i;:27::-;62657:4;;62667:7;;62657:29;;;-1:-1:-1;;;62657:29:0;;-1:-1:-1;;;;;62667:7:0;;;62657:29;;;;;;;;;;;;62601:49;;-1:-1:-1;62657:4:0;;;:9;;:29;;;;;:4;;:29;;;;;;;;:4;;:29;;;2:2:-1;;;;27:1;24;17:12;2:2;62657:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;62693:4:0;;:36;;;-1:-1:-1;;;62693:36:0;;62711:4;62693:36;;;;;;;;;;;;-1:-1:-1;;;;;62693:4:0;;;;-1:-1:-1;62693:9:0;;-1:-1:-1;62693:36:0;;;;;:4;;:36;;;;;;;;:4;;:36;;;2:2:-1;;;;27:1;24;17:12;2:2;62693:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62693:36:0;;;;62759:60;62784:34;62809:8;62784:20;62799:4;62784:10;:14;;:20;;;;:::i;:34::-;62759:20;;;;;:60;:24;:60;:::i;:::-;62736:20;;;:83;62888:13;;62872:12;:29;62868:175;;62912:4;;62922:7;;62945:14;;-1:-1:-1;;;;;62912:4:0;;;;:9;;62922:7;;62931:40;;62965:5;;62931:29;;:9;;:29;:13;:29;:::i;:40::-;62912:60;;;;;;;;;;;;;-1:-1:-1;;;;;62912:60:0;-1:-1:-1;;;;;62912:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;62912:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;63015:20:0;;;;62981:31;;;:54;-1:-1:-1;62868:175:0;63067:13;;63052:12;:28;:68;;;;;63107:13;;63084:4;:20;;;:36;63052:68;63049:452;;;63131:24;63158:120;63262:15;;63158:99;63241:4;:15;;;63158:78;63223:12;;63158:60;63202:15;;63158:39;63176:4;:20;;;63158:13;;:17;;:39;;;;:::i;:120::-;63287:4;;63297:7;;63346:14;;63131:147;;-1:-1:-1;;;;;;63287:4:0;;;;:9;;63297:7;;;;63306:66;;63366:5;;63306:55;;63307:33;63336:3;63306:55;63131:147;63328:2;63307:20;:24::i;63306:66::-;63287:86;;;;;;;;;;;;;-1:-1:-1;;;;;63287:86:0;-1:-1:-1;;;;;63287:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;63287:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63287:86:0;;;;63416:77;63452:40;63483:8;63452:26;63473:4;63452:16;:20;;:26;;;;:::i;:40::-;63416:31;;;;;:77;:35;:77;:::i;:::-;63382:31;;;:111;-1:-1:-1;63049:452:0;63530:12;63507:4;:20;;:35;;;;62087:1461;;;;;;;:::o;66653:447::-;23954:1;24560:7;;:19;;24552:63;;;;;-1:-1:-1;;;24552:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24552:63:0;;;;;;;;;;;;;;;23954:1;24693:7;:18;;;;66723:21:::1;66747:8;66756:4;66747:14;;;;;;;;;::::0;;;::::1;::::0;;;66792;;;:8:::1;:14:::0;;;;;;66807:10:::1;66792:26:::0;;;;;;;;66833:13:::1;::::0;::::1;::::0;66747:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;;;66833:13:0;;;::::1;:27;66825:51;;;::::0;;-1:-1:-1;;;66825:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;66825:51:0;;;;;;;;;;;;;::::1;;66941:11:::0;;66890:15;;66883:70:::1;::::0;-1:-1:-1;;;;;66890:15:0;;::::1;::::0;66928:10:::1;::::0;66883:70:::1;:36;:70;:::i;:::-;67001:11:::0;;66965:48:::1;::::0;;;;;;66995:4;;66983:10:::1;::::0;66965:48:::1;::::0;;;;::::1;::::0;;::::1;67034:1;67020:15:::0;;;67042::::1;::::0;;::::1;:19:::0;;;;67068:13:::1;::::0;;::::1;:26:::0;;-1:-1:-1;;;;;;67068:26:0::1;::::0;;24872:22;;-1:-1:-1;;66653:447:0:o;61855:160::-;61913:8;:15;61896:14;61935:75;61963:6;61957:3;:12;61935:75;;;61987:15;61998:3;61987:10;:15::i;:::-;61971:5;;61935:75;;;;61855:160;:::o;27723:148::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;27830:1:::1;27814:6:::0;;27793:40:::1;::::0;-1:-1:-1;;;;;27814:6:0;;::::1;::::0;27793:40:::1;::::0;27830:1;;27793:40:::1;27861:1;27844:19:::0;;-1:-1:-1;;;;;;27844:19:0::1;::::0;;27723:148::o;58068:704::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;58204:11:::1;58200:51;;;58226:17;:15;:17::i;:::-;-1:-1:-1::0;;;;;58265:25:0;::::1;58257:62;;;::::0;;-1:-1:-1;;;58257:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;58335:29;58352:11;58335:16;:29::i;:::-;58334:30;58326:62;;;::::0;;-1:-1:-1;;;58326:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;58326:62:0;;;;;;;;;;;;;::::1;;58395:23;58436:10;;58421:12;:25;:53;;58464:10;;58421:53;;;58449:12;58421:53;58499:15;::::0;58395:79;;-1:-1:-1;58499:32:0::1;::::0;58519:11;58499:32:::1;:19;:32;:::i;:::-;58481:15;:50:::0;58560:199:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;58560:199:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;58560:199:0;;;;;;;;;;;;58538:8:::1;27:10:-1::0;;39:1:::1;23:18:::0;::::1;45:23:::0;;58538:228:0;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;58538:228:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58538:228:0;;;;;;58068:704::o;54103:27::-;;;;:::o;27072:87::-;27118:7;27145:6;-1:-1:-1;;;;;27145:6:0;27072:87;:::o;60436:549::-;60529:7;60566:13;;60549;:30;60545:116;;60637:15;;60597:56;;:35;:13;60615:16;60597:35;:17;:35;:::i;:56::-;60590:63;;;;60545:116;60691:13;;60671:16;:33;60667:98;;60722:35;:13;60740:16;60722:35;:17;:35;:::i;60667:98::-;60885:94;60946:32;60964:13;;60946;:17;;:32;;;;:::i;:::-;60885:56;60925:15;;60885:35;60903:16;60885:13;;:17;;:35;;;;:::i;:94::-;60878:101;60436:549;-1:-1:-1;;;60436:549:0:o;54467:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54467:64:0;;:::o;54180:30::-;;;;:::o;59880:263::-;59978:8;:15;59948:4;;;60000:119;60030:6;60023:4;:13;60000:119;;;60087:11;-1:-1:-1;;;;;60058:40:0;:8;60067:4;60058:14;;;;;;;;;;;;;;;;;;;;;:25;-1:-1:-1;;;;;60058:25:0;:40;60055:56;;;60107:4;60100:11;;;;;;60055:56;60038:6;;60000:119;;;;60132:5;60125:12;;;59880:263;;;;:::o;64513:137::-;23954:1;24560:7;;:19;;24552:63;;;;;-1:-1:-1;;;24552:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24552:63:0;;;;;;;;;;;;;;;23954:1;24693:7;:18;64614:30:::1;64624:4:::0;64630;64636:7;64614:9:::1;:30::i;:::-;-1:-1:-1::0;;23910:1:0;24872:22;;-1:-1:-1;64513:137:0:o;54323:29::-;;;;:::o;64656:143::-;23954:1;24560:7;;:19;;24552:63;;;;;-1:-1:-1;;;24552:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24552:63:0;;;;;;;;;;;;;;;23954:1;24693:7;:18;64765:14:::1;::::0;;;:8:::1;:14;::::0;;;;;;;-1:-1:-1;;;;;64765:20:0;::::1;::::0;;;;;;;:27;64743:50:::1;::::0;64753:4;;64759;;64743:9:::1;:50::i;:::-;-1:-1:-1::0;;23910:1:0;24872:22;;64656:143::o;57207:122::-;57277:7;;-1:-1:-1;;;;;57277:7:0;57263:10;:21;57255:43;;;;;-1:-1:-1;;;57255:43:0;;;;;;;;;;;;-1:-1:-1;;;57255:43:0;;;;;;;;;;;;;;;57305:7;:18;;-1:-1:-1;;;;;;57305:18:0;-1:-1:-1;;;;;57305:18:0;;;;;;;;;;57207:122::o;54039:22::-;;;-1:-1:-1;;;;;54039:22:0;;:::o;65623:380::-;23954:1;24560:7;;:19;;24552:63;;;;;-1:-1:-1;;;24552:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24552:63:0;;;;;;;;;;;;;;;23954:1;24693:7;:18;;;;65692:21:::1;65716:8;65725:4;65716:14;;;;;;;;;::::0;;;::::1;::::0;;;65761;;;:8:::1;:14:::0;;;;;;65776:10:::1;65761:26:::0;;;;;;;65716:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;65794:16:0::1;65770:4:::0;65794:10:::1;:16::i;:::-;65817:26;65826:10;65838:4;65817:8;:26::i;:::-;65884:20;::::0;::::1;::::0;65868:11;;:47:::1;::::0;65910:4:::1;::::0;65868:37:::1;::::0;::::1;:15;:37;:::i;:47::-;65850:15;::::0;::::1;:65:::0;65955:31:::1;::::0;::::1;::::0;65939:11;;:58:::1;::::0;65992:4:::1;::::0;65939:48:::1;::::0;::::1;:15;:48;:::i;:58::-;65922:14;::::0;;::::1;:75:::0;-1:-1:-1;;23910:1:0;24872:22;;65623:380::o;60253:111::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;60329:4:::1;::::0;:29:::1;::::0;;-1:-1:-1;;;60329:29:0;;-1:-1:-1;;;;;60329:29:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:4;;;::::1;::::0;:15:::1;::::0;:29;;;;;:4:::1;::::0;:29;;;;;;;:4;;:29;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;60329:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;60329:29:0;;;;60253:111:::0;;:::o;28026:244::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28115:22:0;::::1;28107:73;;;;-1:-1:-1::0;;;28107:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28217:6;::::0;;28196:38:::1;::::0;-1:-1:-1;;;;;28196:38:0;;::::1;::::0;28217:6;::::1;::::0;28196:38:::1;::::0;::::1;28245:6;:17:::0;;-1:-1:-1;;;;;;28245:17:0::1;-1:-1:-1::0;;;;;28245:17:0;;;::::1;::::0;;;::::1;::::0;;28026:244::o;57597:400::-;27303:12;:10;:12::i;:::-;-1:-1:-1;;;;;27292:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27292:23:0;;27284:68;;;;;-1:-1:-1;;;27284:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27284:68:0;;;;;;;;;;;;;;;57761:12:::1;57744:14;:29;57736:69;;;::::0;;-1:-1:-1;;;57736:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;57839:1;57820:16;:20;57812:62;;;::::0;;-1:-1:-1;;;57812:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;57881:15;:34:::0;;;;57922:13:::1;:30:::0;57959:14:::1;:32:::0;57597:400::o;25576:106::-;25664:10;25576:106;:::o;66009:577::-;66070:21;66094:8;66103:4;66094:14;;;;;;;;;;;;;;;;66139;;;:8;:14;;;;;;-1:-1:-1;;;;;66139:19:0;;;;;;;;;66173:11;;66094:14;;;;;;;;-1:-1:-1;66165:46:0;;;;;-1:-1:-1;;;66165:46:0;;;;;;;;;;;;-1:-1:-1;;;66165:46:0;;;;;;;;;;;;;;;66218:15;66236:68;66288:4;:15;;;66236:47;66278:4;66236:37;66252:4;:20;;;66236:4;:11;;;:15;;:37;;;;:::i;:68::-;66330:4;;:29;;;-1:-1:-1;;;66330:29:0;;66353:4;66330:29;;;;;;66218:86;;-1:-1:-1;;;;;;66330:4:0;;;;:14;;:29;;;;;;;;;;;;;;;:4;:29;;;2:2:-1;;;;27:1;24;17:12;2:2;66330:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;66330:29:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;66330:29:0;66319:40;;;66311:72;;;;;-1:-1:-1;;;66311:72:0;;;;;;;;;;;;-1:-1:-1;;;66311:72:0;;;;;;;;;;;;;;;66390:13;66406:78;66469:4;:14;;;66406:58;66459:4;66406:48;66422:4;:31;;;66406:4;:11;;;:15;;:48;;;;:::i;:78::-;66390:94;;66491:30;66508:3;66513:7;66491:16;:30::i;:::-;66528:4;;66553:14;;-1:-1:-1;;;;;66528:4:0;;;;:9;;66538:3;;66543:36;;66573:5;;66543:25;;:5;;:25;:9;:25;:::i;:36::-;66528:52;;;;;;;;;;;;;-1:-1:-1;;;;;66528:52:0;-1:-1:-1;;;;;66528:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;66528:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;66528:52:0;;;;66009:577;;;;;;:::o;19283:205::-;19411:68;;;-1:-1:-1;;;;;19411:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19411:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;19384:96:0;;19404:5;;19384:19;:96::i;:::-;19283:205;;;;:::o;5670:179::-;5728:7;5760:5;;;5784:6;;;;5776:46;;;;;-1:-1:-1;;;5776:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6549:220;6607:7;6631:6;6627:20;;-1:-1:-1;6646:1:0;6639:8;;6627:20;6670:5;;;6674:1;6670;:5;:1;6694:5;;;;;:10;6686:56;;;;-1:-1:-1;;;6686:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7247:153;7305:7;7337:1;7333;:5;7325:44;;;;;-1:-1:-1;;;7325:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7391:1;7387;:5;;;;;;;7247:153;-1:-1:-1;;;7247:153:0:o;6132:158::-;6190:7;6223:1;6218;:6;;6210:49;;;;;-1:-1:-1;;;6210:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6277:5:0;;;6132:158::o;19098:177::-;19208:58;;;-1:-1:-1;;;;;19208:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19208:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;19181:86:0;;19201:5;;19181:19;:86::i;:::-;19098:177;;;:::o;64805:772::-;64885:21;64909:8;64918:4;64909:14;;;;;;;;;;;;;;;;64954;;;:8;:14;;;;;;-1:-1:-1;;;;;64954:20:0;;;;;;;;;;64989:13;;;;64909:14;;;;;;;;-1:-1:-1;64989:13:0;65006:10;64989:27;64981:51;;;;;-1:-1:-1;;;64981:51:0;;;;;;;;;;;;-1:-1:-1;;;64981:51:0;;;;;;;;;;;;;;;65047:11;;:22;-1:-1:-1;65047:22:0;65039:53;;;;;-1:-1:-1;;;65039:53:0;;;;;;;;;;;;-1:-1:-1;;;65039:53:0;;;;;;;;;;;;;;;65099:16;65110:4;65099:10;:16::i;:::-;65122:20;65131:4;65137;65122:8;:20::i;:::-;65163:11;;:24;;65179:7;65163:24;:15;:24;:::i;:::-;65149:38;;;65228:20;;;;65212:47;;65254:4;;65212:37;;65149:38;65212:37;:15;:37;:::i;:47::-;65194:15;;;:65;65299:31;;;;65283:11;;:58;;65336:4;;65283:48;;;:15;:48;:::i;:58::-;65266:14;;;:75;65352:11;;65348:48;;65370:13;;;:26;;-1:-1:-1;;;;;;65370:26:0;;;65348:48;65407:15;;-1:-1:-1;;;;;65407:15:0;:29;65403:118;;65454:15;;65447:66;;-1:-1:-1;;;;;65454:15:0;65492:10;65505:7;65447:66;:36;:66;:::i;:::-;65559:11;;65532:39;;;;;;;65553:4;;65541:10;;65532:39;;;;;;;;;64805:772;;;;;:::o;67212:320::-;67302:4;;:29;;;-1:-1:-1;;;67302:29:0;;67325:4;67302:29;;;;;;67284:15;;-1:-1:-1;;;;;67302:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;2:2:-1;;;;27:1;24;17:12;2:2;67302:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67302:29:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;67302:29:0;;-1:-1:-1;67342:17:0;;;67338:189;;;67378:4;;:27;;;-1:-1:-1;;;67378:27:0;;-1:-1:-1;;;;;67378:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;2:2:-1;;;;27:1;24;17:12;2:2;67378:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67378:27:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;67378:27:0;67370:63;;;;;-1:-1:-1;;;67370:63:0;;;;;;;;;;;;-1:-1:-1;;;67370:63:0;;;;;;;;;;;;;;;67338:189;;;67464:4;;:27;;;-1:-1:-1;;;67464:27:0;;-1:-1:-1;;;;;67464:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;2:2:-1;;;;27:1;24;17:12;2:2;67464:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67464:27:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;67464:27:0;67456:63;;;;;-1:-1:-1;;;67456:63:0;;;;;;;;;;;;-1:-1:-1;;;67456:63:0;;;;;;;;;;;;;;21403:761;21827:23;21853:69;21881:4;21853:69;;;;;;;;;;;;;;;;;21861:5;-1:-1:-1;;;;;21853:27:0;;;:69;;;;;:::i;:::-;21937:17;;21827:95;;-1:-1:-1;21937:21:0;21933:224;;22079:10;22068:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22068:30:0;22060:85;;;;-1:-1:-1;;;22060:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14060:195;14163:12;14195:52;14217:6;14225:4;14231:1;14234:12;14195:21;:52::i;:::-;14188:59;14060:195;-1:-1:-1;;;;14060:195:0:o;15112:530::-;15239:12;15297:5;15272:21;:30;;15264:81;;;;-1:-1:-1;;;15264:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15364:18;15375:6;15364:10;:18::i;:::-;15356:60;;;;;-1:-1:-1;;;15356:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15490:12;15504:23;15531:6;-1:-1:-1;;;;;15531:11:0;15551:5;15559:4;15531:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15531:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;15489:75:0;;;;15582:52;15600:7;15609:10;15621:12;15582:17;:52::i;:::-;15575:59;15112:530;-1:-1:-1;;;;;;;15112:530:0:o;11142:422::-;11509:20;11548:8;;;11142:422::o;17652:742::-;17767:12;17796:7;17792:595;;;-1:-1:-1;17827:10:0;17820:17;;17792:595;17941:17;;:21;17937:439;;18204:10;18198:17;18265:15;18252:10;18248:2;18244:19;18237:44;18152:148;18347:12;18340:20;;-1:-1:-1;;;18340:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;18340:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://84552bdbe94851c71e4b99cd3a5ad8313211ade95f16b2af18127b4a6e5e7dfb
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.