Contract 0x31b9fbd965397d697d2daa434ebd219ab878e49b 2

 
Txn Hash Method
Block
From
To
Value
0x613c68b9cbb555e88dda5c06f82f6a464540a05644e8fa98064662408ee10469Withdraw9914452023-03-28 9:30:334 days 1 hr ago0x29687e2a2b38bbc1f4f9069f1f24f13a3c83d27d IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002442991
0x00e4cf290d529315d8276846441bc55f5cb483862ffdb739a9231dfcaa795c04Withdraw9914432023-03-28 9:28:344 days 1 hr ago0x29687e2a2b38bbc1f4f9069f1f24f13a3c83d27d IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002260661
0x9913b5fa2e1b8215b7c36e19d746d17146942940c05954a4703a6e19d91e5d36Withdraw9914422023-03-28 9:27:434 days 1 hr ago0x29687e2a2b38bbc1f4f9069f1f24f13a3c83d27d IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002280551
0x8ecdeb0595318d3bc947873ee0dc270cf3f20bb63258e4793aae3409185b95c3Withdraw9914382023-03-28 9:25:474 days 1 hr ago0x29687e2a2b38bbc1f4f9069f1f24f13a3c83d27d IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002490621
0xa24c0c4960bfe07223d45cbcb8568eda07bba1d9c0695cd89165158dd6977676Withdraw9912412023-03-28 5:55:264 days 5 hrs ago0x0ac47d9130b0cccf7776eeaa502000fa851ffd2c IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002536861
0x11e3d8c9a2be5ad168100750959dac726065aa80f7051d100f748a9939aa6242Claim All9849192023-03-21 8:01:2011 days 3 hrs ago0x6cb315a76d14b8388c8b94d620231ea8c9e9bb6b IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0007342011
0xaa81151c5e69a96c6c738fb983b47a37b6870aa0a3be2e43584a97543c3b0c3bWithdraw9845632023-03-20 15:33:5011 days 19 hrs ago0xe14a252ddbace662eb6dd5583acae2c9056c50f7 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002420661
0x75246012f54857e654dffa8739bab3cca2fdf3edda8f0a370a124a7f4f62cb6bWithdraw9843502023-03-20 6:55:1212 days 4 hrs ago0xd93249e5cf9f3aaa89a278f5e4ff2853cbb2cd86 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.000188261
0xadbb87e2e52d94f0c6f89e01b8ddee6d8bc1d265e2b9f7fa77061bdab7de8298Withdraw9843482023-03-20 6:53:1412 days 4 hrs ago0xd93249e5cf9f3aaa89a278f5e4ff2853cbb2cd86 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0001644231
0xfc5dce9c80d881dd33a491c3f4aa7fe09ef8e998bada0ac295fbb69b04b753b9Withdraw9843472023-03-20 6:53:0412 days 4 hrs ago0xd93249e5cf9f3aaa89a278f5e4ff2853cbb2cd86 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0001893291
0xd762deda023af400874c496ebdacc947ce2a8398f710364d012402cb809a8d07Withdraw9843292023-03-20 6:43:2212 days 4 hrs ago0x61fde6848477c24d36fa2f2d6259202b22670ed2 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.000139681
0x1a03e310b1f70aa0562d6706b7c6f94c63065cf7fa0154c945ead7a6043a420bWithdraw9843282023-03-20 6:43:2212 days 4 hrs ago0x61fde6848477c24d36fa2f2d6259202b22670ed2 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0001635421
0x8e84e687fedd99403423e57a377121b261784a773436a2df12aa3297ef9fbdb0Withdraw9837002023-03-19 2:02:3313 days 9 hrs ago0xafa0f92a61850a685e7d4a0d73fa816aa5624331 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0001868531
0x60e1e90c110d82b80c7a0b71f0e121a3ff7cc158e9133969dab1974ddf1c05ffUpdate Emission ...9805172023-03-13 14:36:2918 days 20 hrs ago0xf8bd271b6886db2ed6fbb78748cf7cf00e2e5ab8 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether5.9737000051
0x208e5c34804a096ebf83ba0603d35694984ad1419cfbb6a4f9cf83588a00ac0eUpdate Emission ...9805162023-03-13 14:36:1418 days 20 hrs ago0xf8bd271b6886db2ed6fbb78748cf7cf00e2e5ab8 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether4.1575314691
0xd39ed0399af392c607da1283b7595508028c1dda8b7db50152ad6ee2e63e1a41Update Emission ...9805152023-03-13 14:34:1618 days 20 hrs ago0xf8bd271b6886db2ed6fbb78748cf7cf00e2e5ab8 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether5.9737000051
0x56e2df7458f9e6cf3040d27992e5d28cbb897366feed5363cf4d35c01ec1680bWithdraw9784402023-03-11 10:23:4521 days 43 mins ago0x8bd3ceec5d32c92013eff90bd79854c3ba275426 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0003231211
0xf163936e049dad0261ede9991744c696fc137121b51ad80f67dc21c916f61818Withdraw9784392023-03-11 10:23:4521 days 43 mins ago0x8bd3ceec5d32c92013eff90bd79854c3ba275426 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0004151961
0xada9be8b45eba73fd9dd86ec17b614d5f72e397ea8a4816abefc7506a634e530Withdraw9784372023-03-11 10:23:1121 days 44 mins ago0x8bd3ceec5d32c92013eff90bd79854c3ba275426 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0003232341
0x1663196edf9a5faac44a6d92f36be162e2367e588b2f488f84f933f338d880adClaim All9784282023-03-11 10:09:4421 days 57 mins ago0x8bd3ceec5d32c92013eff90bd79854c3ba275426 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0011206351
0x7939927592daa577cf189476c3d26cd9a0d76a9a8d13f1a3461d9f22e2e17fbcWithdraw9771662023-03-09 21:39:3422 days 13 hrs ago0x0ac47d9130b0cccf7776eeaa502000fa851ffd2c IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0003595891
0xfc4a8b06ceff831716a9090a8290f2f09c908309ea59c4b35a5d0fdad964d562Withdraw9741952023-03-03 2:51:3029 days 8 hrs ago0x797671bd1fe530e91a241b62aa7563f1b3f6eb65 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002414571
0xc058ca8349bee1847309880858148e1c0ccecba4040d83a79cbfca86bc8c94d5Withdraw9724772023-02-27 18:37:3032 days 16 hrs ago0x6fa54473743bc51ed33c54348111745ccfd60ef9 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0002567091
0x3d6b38b2411b11d25cb1f45315a2b884090698594c887ecf31e74ebdf8035335Deposit9645992023-02-16 3:21:3844 days 7 hrs ago0xa9b7f513deca109d2271dff29aedd08934d5a84f IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.0003193221
0x8e3fcfd74626ff1a5f04d2d3f8f94261b27c6c40eda4e571cdb427fad68abab1Withdraw9567312023-02-03 19:03:4956 days 16 hrs ago0x49be89682318bc5b79fcf33c51ee2bc518fba992 IN  0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether0.00030499921.2
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b 0x19a3aad8d07558004aac3f111fe4c8d76251839f0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b 0x19a3aad8d07558004aac3f111fe4c8d76251839f0 Ether
0x2cce797971634fdd859e541e6f3089f31bf331a2c04eb976ab9798a02218ae9f9949912023-04-01 4:15:246 hrs 52 mins ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b 0x19a3aad8d07558004aac3f111fe4c8d76251839f0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b0x5008f837883ea9a07271a1b5eb0658404f5a96100 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0x31b9fbd965397d697d2daa434ebd219ab878e49b 0x19a3aad8d07558004aac3f111fe4c8d76251839f0 Ether
0x9dbf079fe818e197a2eac4fb22874e604782a31f3e96c49e936c5c8f12877bde9944272023-03-31 9:23:031 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0xe0ff487440c23c29c74c0844589b9037ab982e4bc1bc8de64c2153232dece7f69944172023-03-31 9:11:581 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0xe0ff487440c23c29c74c0844589b9037ab982e4bc1bc8de64c2153232dece7f69944172023-03-31 9:11:581 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
0xe0ff487440c23c29c74c0844589b9037ab982e4bc1bc8de64c2153232dece7f69944172023-03-31 9:11:581 day 1 hr ago 0xd0e6dfa5e5511e138bfcddaddf70fdba2ab8396c 0x31b9fbd965397d697d2daa434ebd219ab878e49b0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OolongFarm

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at bobascan.com on 2022-08-19
*/

// File: contracts/common/IERC20.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.6.12;

/**
 * @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: contracts/common/SafeMath.sol

pragma solidity 0.6.12;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: contracts/common/Address.sol

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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

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

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

// File: contracts/common/SafeERC20.sol

pragma solidity 0.6.12;




/**
 * @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: contracts/common/Context.sol

pragma solidity 0.6.12;

/*
 * @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: contracts/common/Ownable.sol

pragma solidity 0.6.12;


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

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

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

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

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

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

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

// File: contracts/common/ReentrancyGuard.sol

pragma solidity 0.6.12;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the `nonReentrant` modifier
 * available, which can be aplied 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.
 */
contract ReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @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() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

// File: contracts/common/ERC20.sol

pragma solidity 0.6.12;





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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/token/OolongToken.sol

pragma solidity 0.6.12;



contract OolongToken is ERC20("OolongSwap Token", "OLO"), Ownable {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (OolongFarm).
    function mint(address _to, uint256 _amount) public onlyOwner {
      _mint(_to, _amount);
      _moveDelegates(address(0), _delegates[_to], _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

    /// @dev 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 => uint) 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, uint previousBalance, uint 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,
        uint nonce,
        uint 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), "OLO::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "OLO::delegateBySig: invalid nonce");
        require(now <= expiry, "OLO::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, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "OLO::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 OLOs (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, "OLO::_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(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

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

// File: contracts/interfaces/IBonusFarm.sol

pragma solidity 0.6.12;

interface IBonusFarm {
  function onParentReward(address _account) external;
  function getParentFarm() external view returns(address);
  function getParentPoolId() external view returns(uint);
  function getParentStakingToken() external view returns(address);
}

// File: contracts/mining/OolongFarm.sol

pragma solidity 0.6.12;








// OolongFarm is the birth place of Oolong. Oolong farmers can harvest Oolongs fairly from the farm.
// Based on the original MasterChef from TraderJoe: https://github.com/traderjoe-xyz/joe-core/blob/main/contracts/MasterChefJoe.sol
// Changes include:
// 1. Name changes
// 2. Formatting
// 3. Admin setters
// 4. Add bonus farm for double farming
contract OolongFarm is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== STRUCTS ========== */

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

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. OOLONGs to distribute per second.
        uint256 lastRewardTimestamp; // Last timestamp that OOLONGs distribution occurs.
        uint256 accOolongPerShare; // Accumulated OOLONGs per share, times 1e12. See below.
        IBonusFarm bonusFarm;
    }

    /* ========== STATE VARIABLES ========== */

    // The OOLONG TOKEN!
    OolongToken public oolong;
    // OOLONG tokens created per second.
    uint256 public oolongPerSec;
    // Distributor address for team, treasury, etc
    address public distributorAddr;
    // Percentage of pool rewards that goto distributor.
    uint256 public distributorPercent; // 60%

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Mapping to check which LP tokens have been added as pools.
    mapping(IERC20 => bool) public isPool;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The timestamp when OOLONG mining starts.
    uint256 public startTimestamp;

    /* ========== CONSTRUCTOR ========== */

    constructor(
        OolongToken _oolong,
        uint256 _oolongPerSec,
        uint256 _startTimestamp,
        address _distributorAddr,
        uint256 _distributorPercent
    ) public {
        oolong = _oolong;
        oolongPerSec = _oolongPerSec;
        startTimestamp = _startTimestamp;
        distributorAddr =  _distributorAddr;
        distributorPercent = _distributorPercent;
    }

    /* ========== VIEW FUNCTIONS ========== */

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

    // View function to see pending rewards on frontend.
    function pendingOolong(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accOolongPerShare = pool.accOolongPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 timeSinceLastUpdate = block.timestamp.sub(pool.lastRewardTimestamp);
            uint256 oolongReward = timeSinceLastUpdate
            .mul(oolongPerSec)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);
            uint256 distributorReward = oolongReward.mul(distributorPercent).div(1000);
            uint256 poolReward = oolongReward.sub(distributorReward);
            accOolongPerShare = accOolongPerShare.add(
                poolReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accOolongPerShare).div(1e12).sub(user.rewardDebt);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    // Deposit LP tokens for OOLONG allocation.
    function deposit(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user
            .amount
            .mul(pool.accOolongPerShare)
            .div(1e12)
            .sub(user.rewardDebt);
            safeOolongTransfer(msg.sender, pending);

            // Update bonus farm
            if (address(pool.bonusFarm) != address(0)) {
                pool.bonusFarm.onParentReward(msg.sender);
            }
        }
        pool.lpToken.safeTransferFrom(
            address(msg.sender),
            address(this),
            _amount
        );
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accOolongPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens.
    function withdraw(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accOolongPerShare).div(1e12).sub(
            user.rewardDebt
        );
        safeOolongTransfer(msg.sender, pending);
        // Update bonus farm
        if (address(pool.bonusFarm) != address(0)) {
            pool.bonusFarm.onParentReward(msg.sender);
        }
        user.amount = user.amount.sub(_amount);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        user.rewardDebt = user.amount.mul(pool.accOolongPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Claim pending rewards for all pools
    function claimAll() external nonReentrant {
        massUpdatePools();
        uint256 pending;
        for (uint pid = 0; pid < poolInfo.length; pid++) {
            PoolInfo storage pool = poolInfo[pid];
            UserInfo storage user = userInfo[pid][msg.sender];
            if (user.amount > 0) {
                pending = pending.add(user.amount.mul(pool.accOolongPerShare).div(1e12).sub(user.rewardDebt));
                user.rewardDebt = user.amount.mul(pool.accOolongPerShare).div(1e12);

                // Update bonus farm
                if (address(pool.bonusFarm) != address(0)) {
                    pool.bonusFarm.onParentReward(msg.sender);
                }
            }
        }
        if (pending > 0) {
            safeOolongTransfer(msg.sender, pending);
        }
    }

    // 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];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

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

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTimestamp) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardTimestamp = block.timestamp;
            return;
        }

        // get total pool rewards in since last update
        uint256 timeSinceLastUpdate = block.timestamp.sub(pool.lastRewardTimestamp);
        uint256 oolongReward = timeSinceLastUpdate.mul(oolongPerSec)
                                                  .mul(pool.allocPoint)
                                                  .div(totalAllocPoint);

        // mint distributor portion
        uint256 distributorReward = oolongReward.mul(distributorPercent).div(1000);
        oolong.mint(distributorAddr, distributorReward);

        // update pool rewards
        uint256 poolReward = oolongReward.sub(distributorReward);
        oolong.mint(address(this), poolReward);
        pool.accOolongPerShare = pool.accOolongPerShare.add(
            poolReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardTimestamp = block.timestamp;
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken) external onlyOwner {
        require(!isPool[_lpToken], "add: LP already added");
        massUpdatePools();
        uint256 lastRewardTimestamp = block.timestamp > startTimestamp
            ? block.timestamp
            : startTimestamp;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardTimestamp: lastRewardTimestamp,
                accOolongPerShare: 0,
                bonusFarm: IBonusFarm(address(0)) // default to no bonus farm
            })
        );
        isPool[_lpToken] = true;
        emit Add(address(_lpToken), _allocPoint);
    }

    // Add bonus farm to pool
    function addBonusfarm(uint _pid, IBonusFarm _bonusFarm) external onlyOwner {
        PoolInfo storage pool = poolInfo[_pid];
        require(address(pool.bonusFarm) == address(0), "bonus farm already initialized");
        require(_bonusFarm.getParentPoolId() == _pid, "pid does not match");
        require(_bonusFarm.getParentFarm() == address(this), "address does not match");
        pool.bonusFarm = _bonusFarm;
        emit AddBonusFarm(_pid, address(_bonusFarm));
    }

    // Clear bonus farm address for pool
    function removeBonusFarm(uint _pid) external onlyOwner {
        PoolInfo storage pool = poolInfo[_pid];
        require(address(pool.bonusFarm) != address(0), "bonus farm not initialized");
        pool.bonusFarm = IBonusFarm(address(0));
        emit RemoveBonusFarm(_pid);
    }

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

    // Setter to allow postponing start time just in case.
    // Cannot be called after reward start
    function setStartTime(uint256 _startTimestamp) external onlyOwner {
        require(block.timestamp < startTimestamp, "Cannot change startTime after reward start");
        startTimestamp = _startTimestamp;
        // reinitialize lastRewardTimestamp of all existing pools (if any)
        uint256 length = poolInfo.length;
        for (uint256 pid = 1; pid <= length; ++pid) {
            PoolInfo storage pool = poolInfo[pid - 1];
            pool.lastRewardTimestamp = _startTimestamp;
        }
    }

    function setDistributorAddr(address _distributorAddr) external onlyOwner {
        distributorAddr = _distributorAddr;
        emit SetDistributorAddress(msg.sender, _distributorAddr);
    }

    function setDistributorPercent(uint256 _newDistributorPercent) external onlyOwner {
        require(
            0 <= _newDistributorPercent && _newDistributorPercent <= 1000,
            "invalid percent value"
        );
        distributorPercent = _newDistributorPercent;
    }

    // Simple and transparent way to update emission,
    function updateEmissionRate(uint256 _oolongPerSec) external onlyOwner {
        massUpdatePools();
        oolongPerSec = _oolongPerSec;
        emit UpdateEmissionRate(msg.sender, _oolongPerSec);
    }

    /* ========== EVENTS ========== */

    event Add(address indexed lpToken, uint256 allocPoint);
    event Set(uint256 indexed pid, uint256 allocPoint);
    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);
    event SetDistributorAddress(address indexed oldAddress, address indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 _oolongPerSec);
    event AddBonusFarm(uint indexed pid, address bonusFarm);
    event RemoveBonusFarm(uint indexed pid);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract OolongToken","name":"_oolong","type":"address"},{"internalType":"uint256","name":"_oolongPerSec","type":"uint256"},{"internalType":"uint256","name":"_startTimestamp","type":"uint256"},{"internalType":"address","name":"_distributorAddr","type":"address"},{"internalType":"uint256","name":"_distributorPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"Add","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"address","name":"bonusFarm","type":"address"}],"name":"AddBonusFarm","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":"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":"uint256","name":"pid","type":"uint256"}],"name":"RemoveBonusFarm","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDistributorAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_oolongPerSec","type":"uint256"}],"name":"UpdateEmissionRate","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":"contract IERC20","name":"_lpToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract IBonusFarm","name":"_bonusFarm","type":"address"}],"name":"addBonusfarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributorAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributorPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"isPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"oolong","outputs":[{"internalType":"contract OolongToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oolongPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingOolong","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"},{"internalType":"uint256","name":"accOolongPerShare","type":"uint256"},{"internalType":"contract IBonusFarm","name":"bonusFarm","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"removeBonusFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_distributorAddr","type":"address"}],"name":"setDistributorAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newDistributorPercent","type":"uint256"}],"name":"setDistributorPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_oolongPerSec","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060095534801561001557600080fd5b506040516124f73803806124f7833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616100f1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03199081166001600160a01b0397881617909155600394909455600a929092556004805490931693169290921790556005556100f5565b3390565b6123f3806101046000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063630b5ba1116100f9578063b0abdb2d11610097578063e2bbb15811610071578063e2bbb158146104a1578063e5248eab146104c4578063e6fd48bc146104ea578063f2fde38b146104f2576101c4565b8063b0abdb2d14610465578063d1058e5914610491578063e035df7314610499576101c4565b8063774ed55c116100d3578063774ed55c146103cf57806386519844146103fb5780638da5cb5b1461041857806393f1a40b14610420576101c4565b8063630b5ba11461039b5780636f0775f9146103a3578063715018a6146103c7576101c4565b80633e0a322d1161016657806351eb05a61161014057806351eb05a61461031f5780635312ea8e1461033c57806355740e92146103595780635b16ebb714610361576101c4565b80633e0a322d146102d7578063441a3e70146102f457806345a20d1114610317576101c4565b806317caf6f1116101a257806317caf6f1146102635780631ab06ee51461026b57806320d6d17b1461028e5780632b8bbbe8146102ab576101c4565b8063081e3eda146101c95780630ba84cd2146101e35780631526fe2714610202575b600080fd5b6101d1610518565b60408051918252519081900360200190f35b610200600480360360208110156101f957600080fd5b503561051e565b005b61021f6004803603602081101561021857600080fd5b50356105bc565b60405180866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b031681526020019550505050505060405180910390f35b6101d1610607565b6102006004803603604081101561028157600080fd5b508035906020013561060d565b610200600480360360208110156102a457600080fd5b503561070f565b610200600480360360408110156102c157600080fd5b50803590602001356001600160a01b03166107bb565b610200600480360360208110156102ed57600080fd5b5035610a21565b6102006004803603604081101561030a57600080fd5b5080359060200135610b01565b6101d1610d1c565b6102006004803603602081101561033557600080fd5b5035610d22565b6102006004803603602081101561035257600080fd5b5035610f7b565b6101d1611067565b6103876004803603602081101561037757600080fd5b50356001600160a01b031661106d565b604080519115158252519081900360200190f35b610200611082565b6103ab6110a1565b604080516001600160a01b039092168252519081900360200190f35b6102006110b0565b6101d1600480360360408110156103e557600080fd5b50803590602001356001600160a01b0316611152565b6102006004803603602081101561041157600080fd5b50356112ea565b6103ab611404565b61044c6004803603604081101561043657600080fd5b50803590602001356001600160a01b0316611413565b6040805192835260208301919091528051918290030190f35b6102006004803603604081101561047b57600080fd5b50803590602001356001600160a01b0316611437565b6102006116dc565b6103ab611876565b610200600480360360408110156104b757600080fd5b5080359060200135611885565b610200600480360360208110156104da57600080fd5b50356001600160a01b0316611a52565b6101d1611af6565b6102006004803603602081101561050857600080fd5b50356001600160a01b0316611afc565b60065490565b610526611bf4565b6000546001600160a01b03908116911614610576576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b61057e611082565b600381905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b600681815481106105c957fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841695509193909290911685565b60095481565b610615611bf4565b6000546001600160a01b03908116911614610665576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b61066d611082565b6106aa816106a46006858154811061068157fe5b906000526020600020906005020160010154600954611bf890919063ffffffff16565b90611c41565b60098190555080600683815481106106be57fe5b906000526020600020906005020160010181905550817f545b620a3000f6303b158b321f06b4e95e28a27d70aecac8c6bdac4f48a9f6b3826040518082815260200191505060405180910390a25050565b610717611bf4565b6000546001600160a01b03908116911614610767576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b6103e88111156107b6576040805162461bcd60e51b8152602060048201526015602482015274696e76616c69642070657263656e742076616c756560581b604482015290519081900360640190fd5b600555565b6107c3611bf4565b6000546001600160a01b03908116911614610813576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff1615610879576040805162461bcd60e51b81526020600482015260156024820152741859190e88131408185b1c9958591e481859191959605a1b604482015290519081900360640190fd5b610881611082565b6000600a54421161089457600a54610896565b425b6009549091506108a69084611c41565b6009556040805160a0810182526001600160a01b03808516808352602080840188815284860187815260006060870181815260808801828152600680546001818101835591855299516005909a027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f810180549b8b166001600160a01b03199c8d1617905595517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4087015593517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4186015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d42850155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4390930180549390961692909616919091179093558184526007815292849020805460ff19169092179091558251868152925190927f2728c9d3205d667bbc0eefdfeda366261b4d021949630c047f3e5834b30611ab92908290030190a2505050565b610a29611bf4565b6000546001600160a01b03908116911614610a79576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b600a544210610ab95760405162461bcd60e51b815260040180806020018281038252602a815260200180612329602a913960400191505060405180910390fd5b600a81905560065460015b818111610afc57600060066001830381548110610add57fe5b6000918252602090912060026005909202010184905550600101610ac4565b505050565b60018054810190819055600680546000919085908110610b1d57fe5b600091825260208083208784526008825260408085203386529092529220805460059092029092019250841115610b90576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610b9985610d22565b6000610bd38260010154610bcd64e8d4a51000610bc787600301548760000154611c9b90919063ffffffff16565b90611cf4565b90611bf8565b9050610bdf3382611d36565b60048301546001600160a01b031615610c5a57600480840154604080516395a2162760e01b81523393810193909352516001600160a01b03909116916395a2162791602480830192600092919082900301818387803b158015610c4157600080fd5b505af1158015610c55573d6000803e3d6000fd5b505050505b8154610c669086611bf8565b82558254610c7e906001600160a01b03163387611ec6565b60038301548254610c999164e8d4a5100091610bc791611c9b565b6001830155604080518681529051879133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050506001548114610afc576040805162461bcd60e51b815260206004820152601f60248201526000805160206122e3833981519152604482015290519081900360640190fd5b60035481565b600060068281548110610d3157fe5b9060005260206000209060050201905080600201544211610d525750610f78565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d9c57600080fd5b505afa158015610db0573d6000803e3d6000fd5b505050506040513d6020811015610dc657600080fd5b5051905080610ddc575042600290910155610f78565b6000610df5836002015442611bf890919063ffffffff16565b90506000610e22600954610bc78660010154610e1c60035487611c9b90919063ffffffff16565b90611c9b565b90506000610e416103e8610bc760055485611c9b90919063ffffffff16565b60025460048054604080516340c10f1960e01b81526001600160a01b03928316938101939093526024830185905251939450909116916340c10f199160448082019260009290919082900301818387803b158015610e9e57600080fd5b505af1158015610eb2573d6000803e3d6000fd5b505050506000610ecb8284611bf890919063ffffffff16565b600254604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610f2157600080fd5b505af1158015610f35573d6000803e3d6000fd5b50505050610f63610f5886610bc764e8d4a5100085611c9b90919063ffffffff16565b600388015490611c41565b60038701555050426002909401939093555050505b50565b60018054810190819055600680546000919084908110610f9757fe5b60009182526020808320868452600882526040808520338087529352909320805460059093029093018054909450610fdc926001600160a01b03919091169190611ec6565b80546040805191825251859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001918201555482149050611063576040805162461bcd60e51b815260206004820152601f60248201526000805160206122e3833981519152604482015290519081900360640190fd5b5050565b60055481565b60076020526000908152604090205460ff1681565b60065460005b818110156110635761109981610d22565b600101611088565b6004546001600160a01b031681565b6110b8611bf4565b6000546001600160a01b03908116911614611108576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000806006848154811061116257fe5b600091825260208083208784526008825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156111dc57600080fd5b505afa1580156111f0573d6000803e3d6000fd5b505050506040513d602081101561120657600080fd5b505160028501549091504211801561121d57508015155b156112b557600061123b856002015442611bf890919063ffffffff16565b90506000611262600954610bc78860010154610e1c60035487611c9b90919063ffffffff16565b905060006112816103e8610bc760055485611c9b90919063ffffffff16565b9050600061128f8383611bf8565b90506112ae6112a786610bc78464e8d4a51000611c9b565b8790611c41565b9550505050505b6112dd8360010154610bcd64e8d4a51000610bc7868860000154611c9b90919063ffffffff16565b9450505050505b92915050565b6112f2611bf4565b6000546001600160a01b03908116911614611342576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b60006006828154811061135157fe5b6000918252602090912060059091020160048101549091506001600160a01b03166113c3576040805162461bcd60e51b815260206004820152601a60248201527f626f6e7573206661726d206e6f7420696e697469616c697a6564000000000000604482015290519081900360640190fd5b6004810180546001600160a01b031916905560405182907fbfe8c72a2363127748cf24c324a88a8767239615a235c4300407960fe23829a890600090a25050565b6000546001600160a01b031690565b60086020908152600092835260408084209091529082529020805460019091015482565b61143f611bf4565b6000546001600160a01b0390811691161461148f576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b60006006838154811061149e57fe5b6000918252602090912060059091020160048101549091506001600160a01b031615611511576040805162461bcd60e51b815260206004820152601e60248201527f626f6e7573206661726d20616c726561647920696e697469616c697a65640000604482015290519081900360640190fd5b82826001600160a01b031663170bc3386040518163ffffffff1660e01b815260040160206040518083038186803b15801561154b57600080fd5b505afa15801561155f573d6000803e3d6000fd5b505050506040513d602081101561157557600080fd5b5051146115be576040805162461bcd60e51b81526020600482015260126024820152710e0d2c840c8decae640dcdee840dac2e8c6d60731b604482015290519081900360640190fd5b306001600160a01b0316826001600160a01b0316632263b0a16040518163ffffffff1660e01b815260040160206040518083038186803b15801561160157600080fd5b505afa158015611615573d6000803e3d6000fd5b505050506040513d602081101561162b57600080fd5b50516001600160a01b031614611681576040805162461bcd60e51b81526020600482015260166024820152750c2c8c8e4cae6e640c8decae640dcdee840dac2e8c6d60531b604482015290519081900360640190fd5b6004810180546001600160a01b0384166001600160a01b03199091168117909155604080519182525184917f4a64ec0118a73079e427e468976860098db6ef0f18a8e097c32ab151d9aba122919081900360200190a2505050565b600180548101908190556116ee611082565b6000805b6006548110156118205760006006828154811061170b57fe5b60009182526020808320858452600882526040808520338652909252922080546005909202909201925015611816576117706117698260010154610bcd64e8d4a51000610bc787600301548760000154611c9b90919063ffffffff16565b8590611c41565b935061179664e8d4a51000610bc784600301548460000154611c9b90919063ffffffff16565b600182015560048201546001600160a01b03161561181657600480830154604080516395a2162760e01b81523393810193909352516001600160a01b03909116916395a2162791602480830192600092919082900301818387803b1580156117fd57600080fd5b505af1158015611811573d6000803e3d6000fd5b505050505b50506001016116f2565b508015611831576118313382611d36565b506001548114610f78576040805162461bcd60e51b815260206004820152601f60248201526000805160206122e3833981519152604482015290519081900360640190fd5b6002546001600160a01b031681565b600180548101908190556006805460009190859081106118a157fe5b600091825260208083208784526008825260408085203386529092529220600590910290910191506118d285610d22565b8054156119905760006119078260010154610bcd64e8d4a51000610bc787600301548760000154611c9b90919063ffffffff16565b90506119133382611d36565b60048301546001600160a01b03161561198e57600480840154604080516395a2162760e01b81523393810193909352516001600160a01b03909116916395a2162791602480830192600092919082900301818387803b15801561197557600080fd5b505af1158015611989573d6000803e3d6000fd5b505050505b505b81546119a7906001600160a01b0316333087611f18565b80546119b39085611c41565b80825560038301546119d09164e8d4a5100091610bc79190611c9b565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350506001548114610afc576040805162461bcd60e51b815260206004820152601f60248201526000805160206122e3833981519152604482015290519081900360640190fd5b611a5a611bf4565b6000546001600160a01b03908116911614611aaa576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907fe9286a175900d0389b36adb63c9d6992999e166909e1050adf0fc5efa15c91fd90600090a350565b600a5481565b611b04611bf4565b6000546001600160a01b03908116911614611b54576040805162461bcd60e51b81526020600482018190526024820152600080516020612374833981519152604482015290519081900360640190fd5b6001600160a01b038116611b995760405162461bcd60e51b81526004018080602001828103825260268152602001806123036026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000611c3a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f78565b9392505050565b600082820183811015611c3a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611caa575060006112e4565b82820282848281611cb757fe5b0414611c3a5760405162461bcd60e51b81526004018080602001828103825260218152602001806123536021913960400191505060405180910390fd5b6000611c3a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061200f565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611d8157600080fd5b505afa158015611d95573d6000803e3d6000fd5b505050506040513d6020811015611dab57600080fd5b5051905080821115611e3f576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611e0d57600080fd5b505af1158015611e21573d6000803e3d6000fd5b505050506040513d6020811015611e3757600080fd5b50610afc9050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611e9557600080fd5b505af1158015611ea9573d6000803e3d6000fd5b505050506040513d6020811015611ebf57600080fd5b5050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610afc908490612074565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611f72908590612074565b50505050565b600081848411156120075760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fcc578181015183820152602001611fb4565b50505050905090810190601f168015611ff95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361205e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611fcc578181015183820152602001611fb4565b50600083858161206a57fe5b0495945050505050565b60606120c9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121259092919063ffffffff16565b805190915015610afc578080602001905160208110156120e857600080fd5b5051610afc5760405162461bcd60e51b815260040180806020018281038252602a815260200180612394602a913960400191505060405180910390fd5b6060612134848460008561213c565b949350505050565b6060612147856122a9565b612198576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121d75780518252601f1990920191602091820191016121b8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612239576040519150601f19603f3d011682016040523d82523d6000602084013e61223e565b606091505b509150915081156122525791506121349050565b8051156122625780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611fcc578181015183820152602001611fb4565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061213457505015159291505056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f74206368616e676520737461727454696d6520616674657220726577617264207374617274536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220815da8686e0ec119b1e5d155f47840b5cc6bea3a33f8ee2f31bb372d7db7d1f464736f6c634300060c00330000000000000000000000005008f837883ea9a07271a1b5eb0658404f5a961000000000000000000000000000000000000000000000000bb64998e6cc8add3c00000000000000000000000000000000000000000000000000000000619267e00000000000000000000000004158576eeaeb2fb1b0bd24a10e67d49ac22c15890000000000000000000000000000000000000000000000000000000000000258

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

0000000000000000000000005008f837883ea9a07271a1b5eb0658404f5a961000000000000000000000000000000000000000000000000bb64998e6cc8add3c00000000000000000000000000000000000000000000000000000000619267e00000000000000000000000004158576eeaeb2fb1b0bd24a10e67d49ac22c15890000000000000000000000000000000000000000000000000000000000000258

-----Decoded View---------------
Arg [0] : _oolong (address): 0x5008f837883ea9a07271a1b5eb0658404f5a9610
Arg [1] : _oolongPerSec (uint256): 216049382716049382716
Arg [2] : _startTimestamp (uint256): 1636984800
Arg [3] : _distributorAddr (address): 0x4158576eeaeb2fb1b0bd24a10e67d49ac22c1589
Arg [4] : _distributorPercent (uint256): 600

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000005008f837883ea9a07271a1b5eb0658404f5a9610
Arg [1] : 00000000000000000000000000000000000000000000000bb64998e6cc8add3c
Arg [2] : 00000000000000000000000000000000000000000000000000000000619267e0
Arg [3] : 0000000000000000000000004158576eeaeb2fb1b0bd24a10e67d49ac22c1589
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000258


Deployed ByteCode Sourcemap

43686:13574:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46537:95;;;:::i;:::-;;;;;;;;;;;;;;;;56367:206;;;;;;;;;;;;;;;;-1:-1:-1;56367:206:0;;:::i;:::-;;45543:26;;;;;;;;;;;;;;;;-1:-1:-1;45543:26:0;;:::i;:::-;;;;;-1:-1:-1;;;;;45543:26:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45543:26:0;;;;;;;;;;;;;;;;;;;45895:34;;;:::i;54876:307::-;;;;;;;;;;;;;;;;-1:-1:-1;54876:307:0;;;;;;;:::i;56017:287::-;;;;;;;;;;;;;;;;-1:-1:-1;56017:287:0;;:::i;53141:779::-;;;;;;;;;;;;;;;;-1:-1:-1;53141:779:0;;;;;;-1:-1:-1;;;;;53141:779:0;;:::i;55295:513::-;;;;;;;;;;;;;;;;-1:-1:-1;55295:513:0;;:::i;48857:848::-;;;;;;;;;;;;;;;;-1:-1:-1;48857:848:0;;;;;;;:::i;45286:27::-;;;:::i;51766:1244::-;;;;;;;;;;;;;;;;-1:-1:-1;51766:1244:0;;:::i;50646:371::-;;;;;;;;;;;;;;;;-1:-1:-1;50646:371:0;;:::i;45467:33::-;;;:::i;45643:37::-;;;;;;;;;;;;;;;;-1:-1:-1;45643:37:0;-1:-1:-1;;;;;45643:37:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51510:180;;;:::i;45372:30::-;;;:::i;:::-;;;;-1:-1:-1;;;;;45372:30:0;;;;;;;;;;;;;;20808:148;;;:::i;46698:1060::-;;;;;;;;;;;;;;;;-1:-1:-1;46698:1060:0;;;;;;-1:-1:-1;;;;;46698:1060:0;;:::i;54492:286::-;;;;;;;;;;;;;;;;-1:-1:-1;54492:286:0;;:::i;20166:79::-;;;:::i;45736:64::-;;;;;;;;;;;;;;;;-1:-1:-1;45736:64:0;;;;;;-1:-1:-1;;;;;45736:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;53959:483;;;;;;;;;;;;;;;;-1:-1:-1;53959:483:0;;;;;;-1:-1:-1;;;;;53959:483:0;;:::i;49757:818::-;;;:::i;45212:25::-;;;:::i;47869:952::-;;;;;;;;;;;;;;;;-1:-1:-1;47869:952:0;;;;;;;:::i;55816:193::-;;;;;;;;;;;;;;;;-1:-1:-1;55816:193:0;-1:-1:-1;;;;;55816:193:0;;:::i;45985:29::-;;;:::i;21111:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21111:244:0;-1:-1:-1;;;;;21111:244:0;;:::i;46537:95::-;46609:8;:15;46537:95;:::o;56367:206::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;56448:17:::1;:15;:17::i;:::-;56476:12;:28:::0;;;56520:45:::1;::::0;;;;;;;56539:10:::1;::::0;56520:45:::1;::::0;;;;;::::1;::::0;;::::1;56367:206:::0;:::o;45543:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45543:26:0;;;;-1:-1:-1;45543:26:0;;;;;;;;:::o;45895:34::-;;;;:::o;54876:307::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;54954:17:::1;:15;:17::i;:::-;55000:87;55065:11;55000:46;55020:8;55029:4;55020:14;;;;;;;;;;;;;;;;;;:25;;;55000:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;54982:15;:105;;;;55126:11;55098:8;55107:4;55098:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;55157:4;55153:22;55163:11;55153:22;;;;;;;;;;;;;;;;;;54876:307:::0;;:::o;56017:287::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;56189:4:::1;56163:22;:30;;56110:132;;;::::0;;-1:-1:-1;;;56110:132:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;56110:132:0;;;;;;;;;;;;;::::1;;56253:18;:43:::0;56017:287::o;53141:779::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;53231:16:0;::::1;;::::0;;;:6:::1;:16;::::0;;;;;::::1;;53230:17;53222:51;;;::::0;;-1:-1:-1;;;53222:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;53222:51:0;;;;;;;;;;;;;::::1;;53284:17;:15;:17::i;:::-;53312:27;53360:14;;53342:15;:32;:93;;53421:14;;53342:93;;;53390:15;53342:93;53464:15;::::0;53312:123;;-1:-1:-1;53464:32:0::1;::::0;53484:11;53464:19:::1;:32::i;:::-;53446:15;:50:::0;53535:281:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;53535:281:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;;;;;;-1:-1:-1;53535:281:0;;;;;;;;;;;;53507:8:::1;:320:::0;;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;53507:320:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;53838:16;;;:6:::1;:16:::0;;;;;;:23;;-1:-1:-1;;53838:23:0::1;::::0;;::::1;::::0;;;53877:35;;;;;;;53535:281;;53877:35:::1;::::0;;;;;;;::::1;20448:1;53141:779:::0;;:::o;55295:513::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;55398:14:::1;;55380:15;:32;55372:87;;;;-1:-1:-1::0;;;55372:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55470:14;:32:::0;;;55606:8:::1;:15:::0;55651:1:::1;55632:169;55661:6;55654:3;:13;55632:169;;55691:21;55715:8;55730:1;55724:3;:7;55715:17;;;;;;;;;::::0;;;::::1;::::0;;;55747:24:::1;55715:17;::::0;;::::1;;55747:24;:42:::0;;;-1:-1:-1;55669:5:0::1;;55632:169;;;;20448:1;55295:513:::0;:::o;48857:848::-;22761:1;22744:18;;;;;;;;48963:8:::1;:14:::0;;22744:13;;48963:8;48972:4;;48963:14;::::1;;;;;;::::0;;;::::1;::::0;;;49012;;;:8:::1;:14:::0;;;;;;49027:10:::1;49012:26:::0;;;;;;;49057:11;;48963:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;49057:22:0;-1:-1:-1;49057:22:0::1;49049:53;;;::::0;;-1:-1:-1;;;49049:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;49049:53:0;;;;;;;;;;;;;::::1;;49113:16;49124:4;49113:10;:16::i;:::-;49140:15;49158:94;49226:4;:15;;;49158:49;49202:4;49158:39;49174:4;:22;;;49158:4;:11;;;:15;;:39;;;;:::i;:::-;:43:::0;::::1;:49::i;:::-;:53:::0;::::1;:94::i;:::-;49140:112;;49263:39;49282:10;49294:7;49263:18;:39::i;:::-;49355:14;::::0;::::1;::::0;-1:-1:-1;;;;;49355:14:0::1;49347:37:::0;49343:111:::1;;49401:14;::::0;;::::1;::::0;:41:::1;::::0;;-1:-1:-1;;;49401:41:0;;49431:10:::1;49401:41:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;49401:14:0;;::::1;::::0;:29:::1;::::0;:41;;;;;:14:::1;::::0;:41;;;;;;;:14;;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;49343:111;49478:11:::0;;:24:::1;::::0;49494:7;49478:15:::1;:24::i;:::-;49464:38:::0;;49513:12;;:55:::1;::::0;-1:-1:-1;;;;;49513:12:0::1;49547:10;49560:7:::0;49513:25:::1;:55::i;:::-;49613:22;::::0;::::1;::::0;49597:11;;:49:::1;::::0;49641:4:::1;::::0;49597:39:::1;::::0;:15:::1;:39::i;:49::-;49579:15;::::0;::::1;:67:::0;49662:35:::1;::::0;;;;;;;49683:4;;49671:10:::1;::::0;49662:35:::1;::::0;;;;::::1;::::0;;::::1;22820:1;;;22856:13:::0;;22840:12;:29;22832:73;;;;;-1:-1:-1;;;22832:73:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22832:73:0;;;;;;;;;;;;;;45286:27;;;;:::o;51766:1244::-;51818:21;51842:8;51851:4;51842:14;;;;;;;;;;;;;;;;;;51818:38;;51890:4;:24;;;51871:15;:43;51867:82;;51931:7;;;51867:82;51978:12;;:37;;;-1:-1:-1;;;51978:37:0;;52009:4;51978:37;;;;;;51959:16;;-1:-1:-1;;;;;51978:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51978:37:0;;-1:-1:-1;52030:13:0;52026:109;;-1:-1:-1;52087:15:0;52060:24;;;;:42;52117:7;;52026:109;52203:27;52233:45;52253:4;:24;;;52233:15;:19;;:45;;;;:::i;:::-;52203:75;;52289:20;52312:183;52479:15;;52312:110;52406:4;:15;;;52312:37;52336:12;;52312:19;:23;;:37;;;;:::i;:::-;:93;;:110::i;:183::-;52289:206;;52545:25;52573:46;52614:4;52573:36;52590:18;;52573:12;:16;;:36;;;;:::i;:46::-;52630:6;;52642:15;;;52630:47;;;-1:-1:-1;;;52630:47:0;;-1:-1:-1;;;;;52642:15:0;;;52630:47;;;;;;;;;;;;;;52545:74;;-1:-1:-1;52630:6:0;;;;:11;;:47;;;;;:6;;:47;;;;;;;;:6;;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52722:18;52743:35;52760:17;52743:12;:16;;:35;;;;:::i;:::-;52789:6;;:38;;;-1:-1:-1;;;52789:38:0;;52809:4;52789:38;;;;;;;;;;;;52722:56;;-1:-1:-1;;;;;;52789:6:0;;;;:11;;:38;;;;;:6;;:38;;;;;;;;:6;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52863:86;52904:34;52929:8;52904:20;52919:4;52904:10;:14;;:20;;;;:::i;:34::-;52863:22;;;;;:26;:86::i;:::-;52838:22;;;:111;-1:-1:-1;;52987:15:0;52960:24;;;;:42;;;;-1:-1:-1;;;51766:1244:0;;:::o;50646:371::-;22761:1;22744:18;;;;;;;;50744:8:::1;:14:::0;;22744:13;;50744:8;50753:4;;50744:14;::::1;;;;;;::::0;;;::::1;::::0;;;50793;;;:8:::1;:14:::0;;;;;;50808:10:::1;50793:26:::0;;;;;;;;50877:11;;50744:14:::1;::::0;;::::1;::::0;;::::1;50830:12:::0;;50744:14;;-1:-1:-1;50830:59:0::1;::::0;-1:-1:-1;;;;;50830:12:0;;;::::1;::::0;50808:10;50830:25:::1;:59::i;:::-;50941:11:::0;;50905:48:::1;::::0;;;;;;50935:4;;50923:10:::1;::::0;50905:48:::1;::::0;;;;::::1;::::0;;::::1;50978:1;50964:15:::0;;;50990::::1;::::0;;::::1;:19:::0;22856:13;22840:29;;;-1:-1:-1;22832:73:0;;;;;-1:-1:-1;;;22832:73:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22832:73:0;;;;;;;;;;;;;;;50646:371;;:::o;45467:33::-;;;;:::o;45643:37::-;;;;;;;;;;;;;;;:::o;51510:180::-;51572:8;:15;51555:14;51598:85;51626:6;51620:3;:12;51598:85;;;51656:15;51667:3;51656:10;:15::i;:::-;51634:5;;51598:85;;45372:30;;;-1:-1:-1;;;;;45372:30:0;;:::o;20808:148::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;20915:1:::1;20899:6:::0;;20878:40:::1;::::0;-1:-1:-1;;;;;20899:6:0;;::::1;::::0;20878:40:::1;::::0;20915:1;;20878:40:::1;20946:1;20929:19:::0;;-1:-1:-1;;;;;;20929:19:0::1;::::0;;20808:148::o;46698:1060::-;46800:7;46825:21;46849:8;46858:4;46849:14;;;;;;;;;;;;;;;;46898;;;:8;:14;;;;;;-1:-1:-1;;;;;46898:21:0;;;;;;;;;;;46849:14;;;;;;;;46958:22;;;;47010:12;;:37;;-1:-1:-1;;;47010:37:0;;47041:4;47010:37;;;;;;46849:14;;-1:-1:-1;46898:21:0;;46958:22;;46849:14;;47010:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47010:37:0;47080:24;;;;47010:37;;-1:-1:-1;47062:15:0;:42;:59;;;;-1:-1:-1;47108:13:0;;;47062:59;47058:610;;;47138:27;47168:45;47188:4;:24;;;47168:15;:19;;:45;;;;:::i;:::-;47138:75;;47228:20;47251:121;47356:15;;47251:86;47321:4;:15;;;47251:51;47289:12;;47251:19;:37;;:51;;;;:::i;:121::-;47228:144;;47387:25;47415:46;47456:4;47415:36;47432:18;;47415:12;:16;;:36;;;;:::i;:46::-;47387:74;-1:-1:-1;47476:18:0;47497:35;:12;47387:74;47497:16;:35::i;:::-;47476:56;-1:-1:-1;47567:89:0;47607:34;47632:8;47607:20;47476:56;47622:4;47607:14;:20::i;:34::-;47567:17;;:21;:89::i;:::-;47547:109;;47058:610;;;;;47685:65;47734:4;:15;;;47685:44;47724:4;47685:34;47701:17;47685:4;:11;;;:15;;:34;;;;:::i;:65::-;47678:72;;;;;;46698:1060;;;;;:::o;54492:286::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;54558:21:::1;54582:8;54591:4;54582:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;54623;::::0;::::1;::::0;54582;;-1:-1:-1;;;;;;54623:14:0::1;54607:76;;;::::0;;-1:-1:-1;;;54607:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;54694:14;::::0;::::1;:39:::0;;-1:-1:-1;;;;;;54694:39:0::1;::::0;;54749:21:::1;::::0;54765:4;;54749:21:::1;::::0;54730:1:::1;::::0;54749:21:::1;20448:1;54492:286:::0;:::o;20166:79::-;20204:7;20231:6;-1:-1:-1;;;;;20231:6:0;20166:79;:::o;45736:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53959:483::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;54045:21:::1;54069:8;54078:4;54069:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;54110;::::0;::::1;::::0;54069;;-1:-1:-1;;;;;;54110:14:0::1;54102:37:::0;54094:80:::1;;;::::0;;-1:-1:-1;;;54094:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;54225:4;54193:10;-1:-1:-1::0;;;;;54193:26:0::1;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;54193:28:0;:36:::1;54185:67;;;::::0;;-1:-1:-1;;;54185:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;54185:67:0;;;;;;;;;;;;;::::1;;54309:4;-1:-1:-1::0;;;;;54271:43:0::1;:10;-1:-1:-1::0;;;;;54271:24:0::1;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;54271:26:0;-1:-1:-1;;;;;54271:43:0::1;;54263:78;;;::::0;;-1:-1:-1;;;54263:78:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;54263:78:0;;;;;;;;;;;;;::::1;;54352:14;::::0;::::1;:27:::0;;-1:-1:-1;;;;;54352:27:0;::::1;-1:-1:-1::0;;;;;;54352:27:0;;::::1;::::0;::::1;::::0;;;54395:39:::1;::::0;;;;;;54408:4;;54395:39:::1;::::0;;;;;::::1;::::0;;::::1;20448:1;53959:483:::0;;:::o;49757:818::-;22761:1;22744:18;;;;;;;;49810:17:::1;:15;:17::i;:::-;49838:15;::::0;49864:611:::1;49889:8;:15:::0;49883:21;::::1;49864:611;;;49928:21;49952:8;49961:3;49952:13;;;;;;;;;::::0;;;::::1;::::0;;;50004;;;:8:::1;:13:::0;;;;;;50018:10:::1;50004:25:::0;;;;;;;50048:11;;49952:13:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;50048:15:0;50044:420:::1;;50094:83;50106:70;50160:4;:15;;;50106:49;50150:4;50106:39;50122:4;:22;;;50106:4;:11;;;:15;;:39;;;;:::i;:70::-;50094:7:::0;;:11:::1;:83::i;:::-;50084:93;;50214:49;50258:4;50214:39;50230:4;:22;;;50214:4;:11;;;:15;;:39;;;;:::i;:49::-;50196:15;::::0;::::1;:67:::0;50334:14:::1;::::0;::::1;::::0;-1:-1:-1;;;;;50334:14:0::1;50326:37:::0;50322:127:::1;;50388:14;::::0;;::::1;::::0;:41:::1;::::0;;-1:-1:-1;;;50388:41:0;;50418:10:::1;50388:41:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;50388:14:0;;::::1;::::0;:29:::1;::::0;:41;;;;;:14:::1;::::0;:41;;;;;;;:14;;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50322:127;-1:-1:-1::0;;49906:5:0::1;;49864:611;;;-1:-1:-1::0;50489:11:0;;50485:83:::1;;50517:39;50536:10;50548:7;50517:18;:39::i;:::-;22820:1;22856:13:::0;;22840:12;:29;22832:73;;;;;-1:-1:-1;;;22832:73:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22832:73:0;;;;;;;;;;;;;;45212:25;;;-1:-1:-1;;;;;45212:25:0;;:::o;47869:952::-;22761:1;22744:18;;;;;;;;47974:8:::1;:14:::0;;22744:13;;47974:8;47983:4;;47974:14;::::1;;;;;;::::0;;;::::1;::::0;;;48023;;;:8:::1;:14:::0;;;;;;48038:10:::1;48023:26:::0;;;;;;;47974:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;48060:16:0::1;48032:4:::0;48060:10:::1;:16::i;:::-;48091:11:::0;;:15;48087:415:::1;;48123:15;48141:126;48251:4;:15;;;48141:91;48227:4;48141:67;48185:4;:22;;;48141:4;:25;;;:43;;:67;;;;:::i;:126::-;48123:144;;48282:39;48301:10;48313:7;48282:18;:39::i;:::-;48384:14;::::0;::::1;::::0;-1:-1:-1;;;;;48384:14:0::1;48376:37:::0;48372:119:::1;;48434:14;::::0;;::::1;::::0;:41:::1;::::0;;-1:-1:-1;;;48434:41:0;;48464:10:::1;48434:41:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;48434:14:0;;::::1;::::0;:29:::1;::::0;:41;;;;;:14:::1;::::0;:41;;;;;;;:14;;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48372:119;48087:415;;48512:12:::0;;:124:::1;::::0;-1:-1:-1;;;;;48512:12:0::1;48564:10;48598:4;48618:7:::0;48512:29:::1;:124::i;:::-;48661:11:::0;;:24:::1;::::0;48677:7;48661:15:::1;:24::i;:::-;48647:38:::0;;;48730:22:::1;::::0;::::1;::::0;48714:49:::1;::::0;48758:4:::1;::::0;48714:39:::1;::::0;48647:38;48714:15:::1;:39::i;:49::-;48696:15;::::0;::::1;:67:::0;48779:34:::1;::::0;;;;;;;48799:4;;48787:10:::1;::::0;48779:34:::1;::::0;;;;::::1;::::0;;::::1;22820:1;;22856:13:::0;;22840:12;:29;22832:73;;;;;-1:-1:-1;;;22832:73:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22832:73:0;;;;;;;;;;;;;;55816:193;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;55900:15:::1;:34:::0;;-1:-1:-1;;;;;;55900:34:0::1;-1:-1:-1::0;;;;;55900:34:0;::::1;::::0;;::::1;::::0;;;55950:51:::1;::::0;55972:10:::1;::::0;55950:51:::1;::::0;-1:-1:-1;;55950:51:0::1;55816:193:::0;:::o;45985:29::-;;;;:::o;21111:244::-;20388:12;:10;:12::i;:::-;20378:6;;-1:-1:-1;;;;;20378:6:0;;;:22;;;20370:67;;;;;-1:-1:-1;;;20370:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20370:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21200:22:0;::::1;21192:73;;;;-1:-1:-1::0;;;21192:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21302:6;::::0;;21281:38:::1;::::0;-1:-1:-1;;;;;21281:38:0;;::::1;::::0;21302:6;::::1;::::0;21281:38:::1;::::0;::::1;21330:6;:17:::0;;-1:-1:-1;;;;;;21330:17:0::1;-1:-1:-1::0;;;;;21330:17:0;;;::::1;::::0;;;::::1;::::0;;21111:244::o;18734:106::-;18822:10;18734:106;:::o;4192:136::-;4250:7;4277:43;4281:1;4284;4277:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4270:50;4192:136;-1:-1:-1;;;4192:136:0:o;3728:181::-;3786:7;3818:5;;;3842:6;;;;3834:46;;;;;-1:-1:-1;;;3834:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5082:471;5140:7;5385:6;5381:47;;-1:-1:-1;5415:1:0;5408:8;;5381:47;5452:5;;;5456:1;5452;:5;:1;5476:5;;;;;:10;5468:56;;;;-1:-1:-1;;;5468:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6029:132;6087:7;6114:39;6118:1;6121;6114:39;;;;;;;;;;;;;;;;;:3;:39::i;51135:292::-;51233:6;;:31;;;-1:-1:-1;;;51233:31:0;;51258:4;51233:31;;;;;;51213:17;;-1:-1:-1;;;;;51233:6:0;;:16;;:31;;;;;;;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51233:31:0;;-1:-1:-1;51279:19:0;;;51275:145;;;51315:6;;:31;;;-1:-1:-1;;;51315:31:0;;-1:-1:-1;;;;;51315:31:0;;;;;;;;;;;;;;;:6;;;;;:15;;:31;;;;;;;;;;;;;;:6;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51275:145:0;;-1:-1:-1;51275:145:0;;51379:6;;:29;;;-1:-1:-1;;;51379:29:0;;-1:-1:-1;;;;;51379:29:0;;;;;;;;;;;;;;;:6;;;;;:15;;:29;;;;;;;;;;;;;;:6;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51135:292:0;;;:::o;15050:177::-;15160:58;;;-1:-1:-1;;;;;15160:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15160:58:0;-1:-1:-1;;;15160:58:0;;;15133:86;;15153:5;;15133:19;:86::i;15235:205::-;15363:68;;;-1:-1:-1;;;;;15363:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15363:68:0;-1:-1:-1;;;15363:68:0;;;15336:96;;15356:5;;15336:19;:96::i;:::-;15235:205;;;;:::o;4631:192::-;4717:7;4753:12;4745:6;;;;4737:29;;;;-1:-1:-1;;;4737:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4789:5:0;;;4631:192::o;6657:278::-;6743:7;6778:12;6771:5;6763:28;;;;-1:-1:-1;;;6763:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6802:9;6818:1;6814;:5;;;;;;;6657:278;-1:-1:-1;;;;;6657:278:0:o;17355:761::-;17779:23;17805:69;17833:4;17805:69;;;;;;;;;;;;;;;;;17813:5;-1:-1:-1;;;;;17805:27:0;;;:69;;;;;:::i;:::-;17889:17;;17779:95;;-1:-1:-1;17889:21:0;17885:224;;18031:10;18020:30;;;;;;;;;;;;;;;-1:-1:-1;18020:30:0;18012:85;;;;-1:-1:-1;;;18012:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12052:196;12155:12;12187:53;12210:6;12218:4;12224:1;12227:12;12187:22;:53::i;:::-;12180:60;12052:196;-1:-1:-1;;;;12052:196:0:o;13429:979::-;13559:12;13592:18;13603:6;13592:10;:18::i;:::-;13584:60;;;;;-1:-1:-1;;;13584:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13718:12;13732:23;13759:6;-1:-1:-1;;;;;13759:11:0;13779:8;13790:4;13759:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13759:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13717:78;;;;13810:7;13806:595;;;13841:10;-1:-1:-1;13834:17:0;;-1:-1:-1;13834:17:0;13806:595;13955:17;;:21;13951:439;;14218:10;14212:17;14279:15;14266:10;14262:2;14258:19;14251:44;14166:148;14354:20;;-1:-1:-1;;;14354:20:0;;;;;;;;;;;;;;;;;14361:12;;14354:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8937:619;8997:4;9465:20;;9308:66;9505:23;;;;;;:42;;-1:-1:-1;;9532:15:0;;;9497:51;-1:-1:-1;;8937:619:0:o

Swarm Source

ipfs://815da8686e0ec119b1e5d155f47840b5cc6bea3a33f8ee2f31bb372d7db7d1f4
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.